mparticle-android-sdk
mparticle-android-sdk copied to clipboard
MParticle Networking Crash
I have MParticle integrated in an application, but I keep getting a crash for a specific user on MParticle.Networking c.java line 2 com.mparticle.networking.c.a
The crash is so weird, and I can't any solution
The stacktrace of the crash is:
Fatal Exception: java.lang.NoSuchMethodError
No virtual method (I)V in class Ljava/net/HttpURLConnection; or its super classes (declaration of 'java.net.HttpURLConnection' appears in /system/framework/core-oj.jar)
com.mparticle.networking.c.a (c.java:2)
com.mparticle.internal.r.a (r.java:13)
com.mparticle.internal.z.a (z.java:10)
com.mparticle.internal.d.handleMessage (d.java:13)
android.os.Handler.dispatchMessage (Handler.java:106)
android.os.Looper.loop (Looper.java:164)
android.os.HandlerThread.run (HandlerThread.java:65)
The Device information of the User having the crash are: Device Brand:samsung Model:Galaxy J7 Prime Orientation: Portrait RAM free: 697.71 MB Disk free: 716.48 MB Operating System Version:Android 8.1.0 Orientation: Portrait Rooted:No
Hey @hussein-yassine 👋 sorry for the delay, we're all filtering back in from holiday break.
Yea, this is really strange. My first thought was a proguard issue but I don't think that's the case if we're only talking about 1 user. If you don't mind, I have a few follow-up questions that might help us get to the bottom of this
- have you been able to recreate this in an emulator or physical device?
- which version of the MParticle SDK are you using?
- what version of Java are you using to compile your apk?
Hello @willpassidomo ,
- I wasn't able to recreate it on either emulator or physical device.
- I am using Java 8
- Here are the dependencies used:
//MParticle
implementation 'com.mparticle:android-googleanalyticsfirebase-kit:5.15.3'
implementation 'com.mparticle:android-core:5.15.3'
implementation 'com.mparticle:android-branch-kit:5.15.3'
implementation 'com.google.android.gms:play-services-ads-identifier:17.0.1'
implementation 'com.android.installreferrer:installreferrer:2.2'
implementation 'androidx.browser:browser:1.3.0'
Tracking internally via: https://go.mparticle.com/work/SQDSDKS-4222