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

pingplacepicker is crushing #84

Closed
yusuf-murodov opened this issue Dec 30, 2020 · 1 comment
Closed

pingplacepicker is crushing #84

yusuf-murodov opened this issue Dec 30, 2020 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@yusuf-murodov
Copy link

E/AndroidRuntime: FATAL EXCEPTION: main
Process: me.modernpage.googlemapsgoogleplaces, PID: 13163
java.lang.NoClassDefFoundError: Failed resolution of: Lkotlin/jvm/internal/Intrinsics;
at com.rtchagas.pingplacepicker.PingPlacePicker$IntentBuilder.setAndroidApiKey(Unknown Source:2)
at me.modernpage.googlemapsgoogleplaces.MapActivity$6.onClick(MapActivity.java:218)
at android.view.View.performClick(View.java:6256)
at android.view.View$PerformClick.run(View.java:24701)
at android.os.Handler.handleCallback(Handler.java:789)
at android.os.Handler.dispatchMessage(Handler.java:98)
at android.os.Looper.loop(Looper.java:164)
at android.app.ActivityThread.main(ActivityThread.java:6541)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.Zygote$MethodAndArgsCaller.run(Zygote.java:240)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:767)
Caused by: java.lang.ClassNotFoundException: Didn't find class "kotlin.jvm.internal.Intrinsics" on path: DexPathList[[zip file "/data/app/me.modernpage.googlemapsgoogleplaces-2G6k78GebY3L06kT-PcBBw==/base.apk"],nativeLibraryDirectories=[/data/app/me.modernpage.googlemapsgoogleplaces-2G6k78GebY3L06kT-PcBBw==/lib/x86, /system/lib, /vendor/lib]]
at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:93)
at java.lang.ClassLoader.loadClass(ClassLoader.java:379)
at java.lang.ClassLoader.loadClass(ClassLoader.java:312)

I already added the kotlin dependency
implementation 'org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.3.61'

@rtchagas rtchagas self-assigned this Jan 2, 2021
@rtchagas rtchagas added the bug Something isn't working label Jan 2, 2021
@rtchagas
Copy link
Owner

rtchagas commented Jan 2, 2021

Hello!
This is related to Kotlin version. If your app is targeting 1.4 or later it gonna crash.
This was fixed in the release 2.2.0.

@rtchagas rtchagas closed this as completed Jan 2, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants