Created
November 13, 2018 06:42
-
-
Save dokinkon/3ad1386eb7aa20f5ba180aa517829562 to your computer and use it in GitHub Desktop.
* Kotlin: Calls to static methods in Java interfaces are prohibited in JVM target 1.6. Recompile with '-jvm-target 1.8'
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
android { | |
compileSdkVersion 28 | |
... | |
/** | |
* 解決: | |
* Kotlin: Calls to static methods in Java interfaces are prohibited in JVM target 1.6. Recompile with '-jvm-target 1.8' | |
* 參考: | |
* https://stackoverflow.com/a/52561908/307442 | |
*/ | |
kotlinOptions{ | |
jvmTarget = '1.8' | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment