error
-
Duplicate class javax.annotation.CheckForNull found in modulesAndroid 2020. 7. 3. 16:27
타이틀로 시작하는 에러 화면 해결하려면 앱수준 build.gradle 안에 android{} 안에 아래 추가 applicationVariants.all { variant -> variant.getRuntimeConfiguration().exclude group: 'com.google.code.findbugs', module: 'jsr305' variant.getRuntimeConfiguration().exclude group: 'com.google.code.findbugs', module: 'annotations' }
-
Invoke-customs are only supported starting with Android OAndroid 2020. 6. 17. 14:21
app/build.gradle에 아래 옵션을 추가 Java 8을 쓴다면 android { compileOptions { sourceCompatibility JavaVersion.VERSION_1_8 targetCompatibility JavaVersion.VERSION_1_8 } } Java 10을 쓴다면 android { compileOptions { sourceCompatibility JavaVersion.VERSION_1_10 targetCompatibility JavaVersion.VERSION_1_10 } } Java 7을 쓴다면 android { compileOptions { sourceCompatibility JavaVersion.VERSION_1_7 targetCompatibility Ja..
-
Kotlin을 사용한 프로젝트 build 후 실행 시java.lang.ClassNotFoundException 날 때Android 2020. 6. 9. 10:48
java.lang.ClassNotFoundException Didn't find class "xxx.yyy.zzz.MyApplication" on path DexPathList[[zip file "/data/app/kr.lifesemantics.mvvmtemplate--6ft3ARUZyQ3jJh01-0m-w==/base.apk 위와 같은 에러가 나면 app 수준 build.gradle에서 android 안에 아래 옵션 추가 compileOptions { sourceCompatibility JavaVersion.VERSION_1_8 targetCompatibility JavaVersion.VERSION_1_8 }
-
'origin' does not appear to be a git repositorySolution 2020. 6. 5. 17:50
git push origin master origin master로 git push 시 에러발생 fatal: 'origin' does not appear to be a git repository fatal: Could not read from remote repository. Please make sure you have the correct access rights and the repository exists. 원격 저장소에 origin/master가 없거나 remote repository 설정이 잘못되어있는 경우 원격 저장소명 확인 git remote -v 해결방법 기존 연결을 끊고 다시 연결 해본다. -기존 원격저장소 연결 삭제 git remote remove repository git remot..
-
Android Studio sync error Caused by: org.gradle.internal.resolve.ModuleVersionNotFoundException: Could not find com.android.tools.build:gradle:3.6.3.Android 2020. 6. 4. 02:36
Could not find lint-gradle-api.jar (com.android.tools.lint:lint-gradle-api:26.1.2) 위와 같은 메시지 이거나 classpath 'com.android.tools.build:gradle:3.2.1' gradle 버전 3.2.1로 올린 후 sync 시 에러가 난다면 buildscript { repositories { maven { url 'https://dl.google.com/dl/android/maven2' } jcenter() google() } dependencies { classpath 'com.android.tools.build:gradle:3.6.3' } } jcenter() 위에 maven { url 'https://dl.goog..