Android Question Crashlytics crashes

Scantech

Well-Known Member
Licensed User
Longtime User
java.lang.NoClassDefFoundError: Failed resolution of: Lokhttp3/OkHttpClient;
at com.google.firebase.crashlytics.internal.network.HttpRequest.<clinit>(HttpRequest.java:43)
at com.google.firebase.crashlytics.internal.network.HttpRequestFactory.buildHttpRequest(HttpRequestFactory.java:43)
at com.google.firebase.crashlytics.internal.common.AbstractSpiCall.getHttpRequest(AbstractSpiCall.java:113)
at com.google.firebase.crashlytics.internal.settings.network.DefaultSettingsSpiCall.invoke(DefaultSettingsSpiCall.java:80)
at com.google.firebase.crashlytics.internal.settings.SettingsController$1.then(SettingsController.java:200)
at com.google.firebase.crashlytics.internal.settings.SettingsController$1.then(SettingsController.java:193)
at com.google.android.gms.tasks.zzo.run(com.google.android.gms:play-services-tasks@@17.2.0:2)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
at com.google.firebase.crashlytics.internal.common.ExecutorUtils$1$1.onRun(ExecutorUtils.java:60)
at com.google.firebase.crashlytics.internal.common.BackgroundPriorityRunnable.run(BackgroundPriorityRunnable.java:27)
at java.lang.Thread.run(Thread.java:923)
Caused by: java.lang.ClassNotFoundException: okhttp3.OkHttpClient
... 12 more
*** Service (starter) Create ***
Using FileProvider? true
** Service (starter) Start **
false
** Activity (main) Create, isFirst = true **
java.lang.NoSuchFieldException: No field mFastScroll in class Landroid/widget/AbsListView; (declaration of 'android.widget.AbsListView' appears in /system/framework/framework.jar!classes3.dex)
FILE NOT AVAILABLE ...VALIDATEPAIDUSER
** Activity (main) Resume **
*** Service (tripgpsdistance) Create ***
** Service (tripgpsdistance) Start **
*** Service (comserial) Create ***
** Service (comserial) Start **
*** Service (communicationroutine) Create ***
Partial wakeLock already held.
** Service (communicationroutine) Start **
** Service (tripgpsdistance) Start **
** Service (comserial) Start **
** Service (communicationroutine) Start **
StartTimerandNotification Event
Turn Timer ON

I have done exactly what the thread shows. It reports this crash when app is running for the first time only. The app does not crash. It just shows this error message.

I have v10.2 and lastest SDK.
 
Last edited:

Scantech

Well-Known Member
Licensed User
Longtime User
I found the solution. The Crashlytics thread should say OKHttpUtils2 library is required. I have included that library and the error is gone. I think it might be related to Crashlytics. I recently added that.
 
Last edited:
Upvote 0
Top