Application
-
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 }