ollide/intellij-java2smali

Error:Kotlin: Unsupported plugin option: org.jetbrains.kotlin.android:enabled=true

tea9 opened this issue ยท 5 comments

tea9 commented

Error:Kotlin: Unsupported plugin option: org.jetbrains.kotlin.android:enabled=true

android studio 3.3 version use build Compile to smali complains.
kotlin_version = '1.2.71'
gradle:3.2.1
image

tea9 commented

java product is
Error:(11, 25) java: package R does not exist

+1
java: package R does not exist
Android Studio 3.3.1

Same issue Android studio 3.4

The same issue
I have also updated kotlin version upto 1.3.41 in plugin
But it doesn't work
I have no idea
As workaround you can convert Kotlin to Java which is working with plugin
Via menu Tools/Kotlin/ Show Kotlin bytecode
Then click button Decompile and get java code
Edit a little it and you will get working code

I've just released a new version of the plugin (2.0.1) which delegates the build job better than before and therefore should fix these kind of errors. Can anyone who encountered this problem post an update whether this still is an issue?