build
-
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' }
-
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 }