Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

java.lang.NoClassDefFoundError: Failed resolution of: Lkotlin/jvm/internal/Intrinsics; #5

Closed
krunalindrodiya opened this issue May 10, 2018 · 3 comments

Comments

@krunalindrodiya
Copy link

Caused by: java.lang.ClassNotFoundException: Didn't find class "kotlin.jvm.internal.Intrinsics" on path: DexPathList[[zip file "/data/app/**/base.apk"],nativeLibraryDirectories=[/vendor/lib, /system/lib]]

@radoyankov
Copy link
Collaborator

radoyankov commented May 27, 2018

Are you using the kotlin stdlib-jre7? Because it doesn't work on Android, which supports only Java 6. When targeting Android, you should use kotlin stdlib, which is built for 6:
compile "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"

@krunalindrodiya
Copy link
Author

I am not using kotlin, i am use this library in java android application.

@radoyankov
Copy link
Collaborator

This is a Kotlin only library. You must have the language configured in your project in order to use it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants