java 3

Android Studio build error - compileDebugJavaWithJavac task (current target it 1.8) and kaptGenerateStubsDebugKotlin task (current target is 17)

Before compileOptions { sourceCompatibility = JavaVersion.VERSION_1_8 targetCompatibility = JavaVersion.VERSION_1_8 } kotlinOptions { jvmTarget = "1.8" freeCompilerArgs = listOf("-Xjvm-default=enable") } After >>> JavaVersion.VERSION_1_8.toString() compileOptions { sourceCompatibility = JavaVersion.VERSION_1_8 targetCompatibility = JavaVersion.VERSION_1_8 } kotlinOptions { jvmTarget = JavaVersio..

Android Gradle plugin requires Java 11 to run. You are currently using Java 1.8.

안드로이드 스튜디오 버전이 올라가면서, Gradle 버전이 7로 올라가면서 자바 11로 올려줘야 하는 문제. > Failed to apply plugin 'com.android.internal.application'. > Android Gradle plugin requires Java 11 to run. You are currently using Java 1.8. You can try some of the following options: Mac 은 AndroidStudio > Preference Window는 File > Settings 간단하게 11로 변경만 해주면 완료 된다.

[안드로이드] do not match the previously installed version

do not match the previously installed version 에러가 난다면? signature가 맞지 않으므로 uninstall을 하고 다시 설치 하면 된다? 그런데 업데이트 테스트를 하는 경우라면, 재 설치를 하면 안되니 난감하다. 그럼, 왜 signature가 맞지 않는 것일까.... 1. 키가 다른가? 2. 권한이 다른가? 3. 모드가 다른가? --> 아무리 해도 안되면 3번일 가능성이 제일 크다. 이전 버전이 1.2 이고 디버그 모드라면, 새 버전 1.3 버전도 디버그 모드로 빌드 해야 정상적인 업데이트 테스트가 완료 된다. 참으로 기본적인 내용이지만... 늘.. 까묵는다...