Hey I am facing an error while building my projec...
# kotlin-native
p
Hey I am facing an error while building my project with new kotlin version 1.3.71 and the associated libs.
Copy code
e: Cannot access class 'kotlinx.coroutines.CoroutineExceptionHandler'. Check your module classpath for missing or conflicting dependencies
I have created a small reproducible project with two branches. master that does not build and gives an error and working-old-version that builds successful. The only difference between the two branches is the versions of libs. https://github.com/kerry/kn-multilib To run the build
SDK_NAME=iphoneos-hello ./gradlew :analytics:build
Can someone help?
o
iOS works
Copy code
SDK_NAME=iphoneos-hello ./gradlew :analytics:iosMainKlibrary
p
for me this fails
Copy code
> Task :analytics:compileCommonMainKotlinMetadata FAILED
e: /Users/prateek.grover/Documents/personal/kn-multilib/kn-apps/analytics/src/commonMain/kotlin/com/company/xplatformanalytics/LoginSessionManager.kt: (8, 46): Cannot access class 'kotlinx.coroutines.CoroutineExceptionHandler'. Check your module classpath for missing or conflicting dependencies
Is it failing for you as well?
iosMainKlibrary passed for me as well. Any idea what is happening here? Why the build does not work?
o
🚫 Sorry