Crash when launch app

FATAL EXCEPTION: main Process: vn.sonice.SoniceApp.Sonice, PID: 28614 java.lang.NoSuchMethodError: No static method zzb(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; in class Lcom/google/android/gms/common/internal/zzab; or its super classes (declaration of 'com.google.android.gms.common.internal.zzab' appears in /data/app/vn.sonice.SoniceApp.Sonice-1/base.apk) at com.google.firebase.provider.FirebaseInitProvider.zza(Unknown Source) at com.google.firebase.provider.FirebaseInitProvider.attachInfo(Unknown Source) at android.app.ActivityThread.installProvider(ActivityThread.java:4964) at android.app.ActivityThread.installContentProviders(ActivityThread.java:4559) at android.app.ActivityThread.handleBindApplication(ActivityThread.java:4499) at android.app.ActivityThread.access$1500(ActivityThread.java:144) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1339) at android.os.Handler.dispatchMessage(Handler.java:102) at android.os.Looper.loop(Looper.java:135) at android.app.ActivityThread.main(ActivityThread.java:5221) at java.lang.reflect.Method.invoke(Native Method) at java.lang.reflect.Method.invoke(Method.java:372) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:899) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:694)

Here is the log crash when I launch app after link device info. Could you please to show me solution. Thanks

1 possible answer(s) on “Crash when launch app

  1. I had the same problem, check if any other RN plugin using com.google.android.gms:play-services. In my case I update react-native-firestack and there is now compile 'com.google.android.gms:play-services-base:9.8.0' in build.gradle file, so I change version in react-native-device-info to compile 'com.google.android.gms:play-services-gcm:9.8.0'.

    Hope that will help you 🙂

Crash when Launch APP

  • Xcode version: 10.3
  • Fabric (1.10.2)
  • Firebase/Analytics (6.7.0):
  • Firebase/Core(6.7.0):
  • Firebase/Performance(6.7.0):

When the APP is in the background for a long time, then cut back the APP from the background, Caton crashes after a few seconds on the launch page.

Small probability time

Steps to reproduce:

What happened? How can we make the problem occur?
This could be a description, log/console output, etc.

Relevant Code:

Thread 0 Crashed:
0   libsystem_kernel.dylib        	0x000000018c16d8e8 0x18c147000 + 157928
1   libsystem_platform.dylib      	0x000000018c088040 0x18c084000 + 16448
2   libobjc.A.dylib               	0x000000018c0aa5e0 0x18c096000 + 83424
3   libobjc.A.dylib               	0x000000018c098400 0x18c096000 + 9216
4   XXXAPP                       	0x0000000104b68084 -[CLSCrashReportingController installCrashReportingHandlers:] + 44
5   XXXAPP                       	0x0000000104b6735c -[CLSCrashReportingController startCrashReporterWithAPIKey:betaToken:profilingMark:report:] + 620
6   XXXAPP                       	0x0000000104b66f5c -[CLSCrashReportingController startWithProfilingMark:betaToken:] + 304
7   XXXAPP                       	0x0000000104b5b788 __20-[Crashlytics start]_block_invoke + 628
8   libdispatch.dylib             	0x000000018c029088 0x18c026000 + 12424
9   libdispatch.dylib             	0x000000018c02a770 0x18c026000 + 18288
10  XXXAPP                       	0x0000000104b5b510 -[Crashlytics start] + 156
11  XXXAPP                       	0x0000000104b5b934 +[Crashlytics initializeIfNeeded] + 48
12  XXXAPP                       	0x0000000104b9ed58 __15+[Fabric with:]_block_invoke + 524
13  libdispatch.dylib             	0x000000018c029088 0x18c026000 + 12424
14  libdispatch.dylib             	0x000000018c02a770 0x18c026000 + 18288
15  XXXAPP                       	0x0000000104b9eb44 +[Fabric with:] + 228
16  XXXAPP                       	0x0000000104ae0b90 -[AppDelegate p_configFirebase] + 248720 (AppDelegate.mm:0)
17  XXXAPP                       	0x0000000104ae13ec -[AppDelegate loadInitConfig] + 250860 (AppDelegate.mm:262)
18  XXXAPP                       	0x0000000104ae0708 -[AppDelegate application:didFinishLaunchingWithOptions:] + 247560 (AppDelegate.mm:92)

1 possible answer(s) on “Crash when Launch APP

  1. A couple questions:

    • What iOS device?
    • What version of Crashlytics?

    Any of iOS devices and the latest version of Crashlytics.

Crash when launch app

FATAL EXCEPTION: main Process: vn.sonice.SoniceApp.Sonice, PID: 28614 java.lang.NoSuchMethodError: No static method zzb(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; in class Lcom/google/android/gms/common/internal/zzab; or its super classes (declaration of 'com.google.android.gms.common.internal.zzab' appears in /data/app/vn.sonice.SoniceApp.Sonice-1/base.apk) at com.google.firebase.provider.FirebaseInitProvider.zza(Unknown Source) at com.google.firebase.provider.FirebaseInitProvider.attachInfo(Unknown Source) at android.app.ActivityThread.installProvider(ActivityThread.java:4964) at android.app.ActivityThread.installContentProviders(ActivityThread.java:4559) at android.app.ActivityThread.handleBindApplication(ActivityThread.java:4499) at android.app.ActivityThread.access$1500(ActivityThread.java:144) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1339) at android.os.Handler.dispatchMessage(Handler.java:102) at android.os.Looper.loop(Looper.java:135) at android.app.ActivityThread.main(ActivityThread.java:5221) at java.lang.reflect.Method.invoke(Native Method) at java.lang.reflect.Method.invoke(Method.java:372) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:899) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:694)

Here is the log crash when I launch app after link device info. Could you please to show me solution. Thanks

2 thoughts on “Crash when launch app

  1. I had the same problem, check if any other RN plugin using com.google.android.gms:play-services. In my case I update react-native-firestack and there is now compile 'com.google.android.gms:play-services-base:9.8.0' in build.gradle file, so I change version in react-native-device-info to compile 'com.google.android.gms:play-services-gcm:9.8.0'.

    Hope that will help you 🙂