반응형
에러
com.android.tools.idea.gradle.project.sync.ng.NewGradleSyncNotSupportedException: New Gradle Sync is not supported due to containing Kotlin modules
at com.android.tools.idea.gradle.project.sync.ng.SyncProjectModels.failIfKotlinPluginAppliedAndKotlinModelIsMissing(SyncProjectModels.java:131)
at com.android.tools.idea.gradle.project.sync.ng.SyncProjectModels.failIfKotlinPluginAppliedAndKotlinModelIsMissing(SyncProjectModels.java:136)
at com.android.tools.idea.gradle.project.sync.ng.SyncProjectModels.populate(SyncProjectModels.java:88)
at com.android.tools.idea.gradle.project.sync.ng.SyncAction.execute(SyncAction.java:59)
at com.android.tools.idea.gradle.project.sync.ng.SyncAction.execute(SyncAction.java:33)
at org.gradle.tooling.internal.consumer.connection.InternalBuildActionAdapter.execute(InternalBuildActionAdapter.java:80)
....
원인
gradle version 이 업데이트 되면서 특정 plugin 중 jdk 8 이상을 사용하는 plugin 으로 인한 에러.
해결책
File -> Settings -> Kotlin Compiler -> Target JVM version -> 1.8
반응형
'Develop > Error Box' 카테고리의 다른 글
[Android] - logcat: Unexpected EOF! Error (2) | 2021.03.02 |
---|---|
[Android] W/ExifInterface: Invalid image: ExifInterface got an unsupported image format.... (0) | 2020.10.20 |
[Android] SDK licence accepted 문제 (0) | 2020.04.07 |
[Android] Cleartext HTTP traffic to postfiles2.naver.net not permitted (0) | 2020.04.07 |
[Android] sendUserActionEvent() mView == null (0) | 2020.04.06 |