본문 바로가기

전체 글92

git clone 시 Username for 'https://github.com' 물어볼 때 github을 잘 사용하고 있다가 갑자기 Username for 'https://github.com:'을 물어볼 때가 있다. 예전에는 터미널에서 말하는대로 git config 설정을 해주면 되었지만 $git config --global user.name "name" $git config --global user.email email 21년 8월부터 깃 토큰 인증 방식(Personal Access Token) 방식을 사용하고 있을테니 이메일과 이름 입력만으로는 아래와 같은 에러가 뜰 것이다. remote: Support for password authentication was removed on August 13, 2021. Please use a personal access token instead. r.. 2023. 9. 22.
table 태그에서 텍스트가 넘어갈 경우 > 이슈 table 요소와 overflow 속성의 공존은 불가능하다. 예시로 display: table/table-cell 등 너비값을 가진 table 요소에 overflow 속성을 선언하면 먹히지 않는 현상. tailwind CSS에서 truncate에 해당하는 옵션(overflow / text-overflow / white-space)을 td에 적용해도 해결이 안됐지만, table태그에 옵션을 추가하여 해결하였다! > 해결 table { table-layout: fixed; // 👍 border-collapse: separate; // 👍 td { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } 2023. 9. 19.
안드로이드앱 버전 업데이트 방법(AAB) 구글플레이스토어에 이미 출시되어 있는 앱의 버전을 업데이트 하는 방법을 정리한다. 할 때마다 잊어버려서 맘먹고 정리! 1. build.gradle(Module) 파일의 Version 정보 업데이트 1) 버전 정보 수정 - versionCode: 기존 값보다 큰 정수 설정(1단위로 수정하면 된다) - versionName: 기존 값보다 크게 X.X.X 형식으로 설정 2) SyncNow 클릭 2. 앱 빌드 1) Generate Signed Bundle/APK ... 클릭 2) AAB(Android App Bundle)가 선택된 상태에서 NEXT 클릭 3) Key Store와 key 의 비밀번호를 입력후, NEXT를 클릭한다 - "Remember Passwrods" 는 가급적 체크하지 말자(자세한 내용은 아래.. 2023. 9. 15.
Apps targeting Android 12 and higher are required to specify an explicit value for `android:exported` when the corresponding component has an intent filter defined. 23년 8월 31일 플레이 스토어에서 SDK 타깃 버전을 상향하라는 이슈! https://developer.android.com/google/play/requirements/target-sdk?hl=ko Google Play의 대상 API 수준 요구사항 충족하기 | Android Developers Google Play의 대상 API 수준 요구사항 충족하기 컬렉션을 사용해 정리하기 내 환경설정을 기준으로 콘텐츠를 저장하고 분류하세요. APK를 업로드하는 경우 Google Play의 대상 API 수준 요구사항을 충족 developer.android.com > 이슈 build.gradle 파일에서 compileSdkVersion, targetSdkVersion 값을 33으로 변경하고 android { com.. 2023. 9. 15.
Could not create task ':app:minifyReleaseWithR8'. 23년 8월 31일 플레이 스토어에서 SDK 타깃 버전을 상향하라는 이슈를 보고 회사 프로젝트의 compileSdkVersion, buildToolversion, targetSDKVersion을 함께 높여주려 한다. https://developer.android.com/google/play/requirements/target-sdk?hl=ko Google Play의 대상 API 수준 요구사항 충족하기 | Android Developers Google Play의 대상 API 수준 요구사항 충족하기 컬렉션을 사용해 정리하기 내 환경설정을 기준으로 콘텐츠를 저장하고 분류하세요. APK를 업로드하는 경우 Google Play의 대상 API 수준 요구사항을 충족 developer.android.com https:.. 2023. 9. 15.
Unable to make field private final java.lang.String java.io.File.path accessible > 이슈 build 클릭시 해당 에러가 나타날때가 있다. Unable to make field private final java.lang.String java.io.File.path accessible: module java.base does not "opens java.io" to unnamed module @3ee88d82 > 해결 1. ./android/gradle.properties 파일에서 org.gradle.jvmargs 옵션을 변경해준다. // 기존 org.gradle.jvmargs=-Xmx2048m -Dfile.encoding=UTF-8 // 변경 org.gradle.jvmargs=--add-opens java.base/java.io=ALL-UNNAMED 2. [Sync Project wi.. 2023. 9. 15.
BUG! exception in phase 'semantic analysis' in source unit '_BuildScript_' Unsupported class file major version 61 > 이슈 23년 8월 31일 플레이 스토어에서 SDK 타깃 버전을 상향하라는 이슈를 보고 https://developer.android.com/google/play/requirements/target-sdk?hl=ko Google Play의 대상 API 수준 요구사항 충족하기 | Android Developers Google Play의 대상 API 수준 요구사항 충족하기 컬렉션을 사용해 정리하기 내 환경설정을 기준으로 콘텐츠를 저장하고 분류하세요. APK를 업로드하는 경우 Google Play의 대상 API 수준 요구사항을 충족 developer.android.com 오랜만에 웹뷰 프로젝트를 빌드해봤더니 아래와 같은 오류가 발생하였다. Could not open init generic class cach.. 2023. 9. 15.
module not specified > 이슈 안드로이드 스튜디오 run이 비활성화 되어 있을때 [Add Configuration]을 클릭하여 [Android App]을 들어가보면 error: module not specified를 확인할 수 있다 > 해결 상황에 따른 여러가지 해결책이 있지만, 내경우는 프로젝트 경로 자체를 잘못 불러왔다.🤔 안드로이드 스튜디오에서 Open을 클릭하고 Open > 프로젝트 폴더가 아니라, 프로젝트 폴더 내부의 Open > MyApplication 폴더로 불러오자! *import로 불러오면 [Sync Project with Gradle Files] 버튼이 없더라.. 왜 없나 한참 찾다가 Open으로 불러오니 있음! [Sync Project with Gradle Files] 버튼을 누르고 재빌드시, 좌측 리스트.. 2023. 9. 15.
[SourceTree] upstream 가져올 때 Repository not found 해결 mac을 M2로 바꾸고 소스트리를 새로 설치하였는데 두가지 이슈가 발생하였고, 아래 해결책으로 두 이슈 모두 해결되었다. > 이슈 1. 소스트리 원격 저장소 경로에 upstream URL을 등록해도 해당 레포지토리를 불러오지 못함 (upstream 가져오기시 -> Repository not found) 2. 내 KeyChain을 등록해뒀음에도 소스트리를 켜면 지속적으로 username과 password를 입력하라는 알림창 발생 > 해결 터미널 열어서 입력 git config --global credential.helper osxkeychain [참고 URL] https://stackoverflow.com/questions/9088433/sourcetree-constantly-asks-for-authent.. 2023. 8. 23.