question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

java.lang.NoClassDefFoundError: io.intercom.com.google.gson.Gson on Android 4.4.2

See original GitHub issue

I encounter following error on app start:

java.lang.NoClassDefFoundError: io.intercom.com.google.gson.Gson
at io.intercom.android.sdk.metrics.MetricsStore.<init>(MetricsStore.java:41)
at io.intercom.android.sdk.metrics.MetricsStore.<init>(MetricsStore.java:48)
at io.intercom.android.sdk.Injector.getMetricsStore(Injector.java:187)
at io.intercom.android.sdk.Injector.getLifecycleTracker(Injector.java:231)
at io.intercom.android.sdk.Injector.initWithAppCredentials(Injector.java:93)
at io.intercom.android.sdk.RealIntercom.create(RealIntercom.java:70)
at io.intercom.android.sdk.Intercom.initialize(Intercom.java:72)
at com.troutloud.dvel.MainApplication.onCreate(MainApplication.java:83)
at android.app.Instrumentation.callApplicationOnCreate(Instrumentation.java:1013)
at android.app.ActivityThread.handleBindApplication(ActivityThread.java:4730)
at android.app.ActivityThread.access$1600(ActivityThread.java:175)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1368)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:146)
at android.app.ActivityThread.main(ActivityThread.java:5602)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:515)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1283)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1099)
at dalvik.system.NativeStart.main(Native Method)

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Reactions:9
  • Comments:5

github_iconTop GitHub Comments

2reactions
PhuongDinovativecommented, Jul 23, 2018

Me too Android 4.4.4

1reaction
ghostcommented, Mar 14, 2018

+1 I have the same issue Android 4.4.4

Read more comments on GitHub >

github_iconTop Results From Across the Web

java.lang.NoClassDefFoundError: com.google.gson.Gson
Here are a couple of reasons that this could be happening: a) The library jar file is not being included. b) The wrong...
Read more >
I am getting huge amount of crashes on intercom android SDK ...
I am getting huge amount of crashes on intercom android SDK . The stack trace is. These are appearing on my bugsnag. com.google.gson....
Read more >
UnInformaticoAburrido - Solveforum
UnInformaticoAburrido Asks: java.lang.NoClassDefFoundError:com/google/gson/Gson I don't know if someone can help me but ... import java.io.
Read more >
linphone-android from BelledonneCommunications
Kotlin 100.00% linphone linphone-android voip android video sip call conference phone ... NoClassDefFoundError: com/android/utils/ILogger at java.lang.
Read more >
Idea error java.lang.NoClassDefFoundError: com/google/gson ...
Idea error java.lang.NoClassDefFoundError: com/google/gson/Gson error solution, Programmer Sought, the best programmer technical posts sharing site.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found