I am having Issue with: ```> Task :shared:compi...
# multiplatform
m
I am having Issue with:
Copy code
> Task :shared:compileDebugAndroidTestKotlinAndroid FAILED
...has no actual declaration in module <shared_debug> for JVM
I have no
jvm
target set on the
kotlin
plugin, only
android
and
ios
targets, by the name of this task
compileDebugAndroidTestKotlinAndroid
what is it trying to do?
j
What JDK are you targeting in
compileOptions
? Try
JavaVersion.VERSION_1_8
if not already
m
yes, it is already setup with
compileOptions
:
Copy code
android {
...
    compileOptions {
        sourceCompatibility JavaVersion.VERSION_1_8
        targetCompatibility JavaVersion.VERSION_1_8
    }
}
however, I am wondering if it needed to setup the kotlin compile options on
kotlin {}
plugin setup…
q
hey, I am having this issue as well, were you able to figure out a solution?
m
hi @Qracle, I’ve set the project Java SDK to Java 11 SDK, and the build runs fine 😄 I think the problem is that some kotlin plugins are not working well with Java 15+ SDK 🤔
👍 1