evollu / evollu/react-native-fcm
After installing react-native- FCM, run react-native run-android and the app will back out
- Dominant language
- Java
- Stars
- 1.7k
- Forks
- 661
- PR merge metrics
- No merged PRs in 30d
Description
Here is the crash message:
11-26 00:42:50.814 21517 21517 E AndroidRuntime: FATAL EXCEPTION: main
11-26 00:42:50.814 21517 21517 E AndroidRuntime: Process: cn.com.smartfleet.app.admin, PID: 21517
11-26 00:42:50.814 21517 21517 E AndroidRuntime: java.lang.NoClassDefFoundError: Failed resolution of: Lcom/google/android/gms/common/internal/zzbq;
11-26 00:42:50.814 21517 21517 E AndroidRuntime: at com.google.firebase.provider.FirebaseInitProvider.attachInfo(Unknown Source:2)
11-26 00:42:50.814 21517 21517 E AndroidRuntime: at android.app.ActivityThread.installProvider(ActivityThread.java:7212)
11-26 00:42:50.814 21517 21517 E AndroidRuntime: at android.app.ActivityThread.installContentProviders(ActivityThread.java:6699)
11-26 00:42:50.814 21517 21517 E AndroidRuntime: at android.app.ActivityThread.handleBindApplication(ActivityThread.java:6600)
11-26 00:42:50.814 21517 21517 E AndroidRuntime: at android.app.ActivityThread.-wrap2(Unknown Source:0)
11-26 00:42:50.814 21517 21517 E AndroidRuntime: at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2066)
11-26 00:42:50.814 21517 21517 E AndroidRuntime: at android.os.Handler.dispatchMessage(Handler.java:108)
11-26 00:42:50.814 21517 21517 E AndroidRuntime: at android.os.Looper.loop(Looper.java:166)
11-26 00:42:50.814 21517 21517 E AndroidRuntime: at android.app.ActivityThread.main(ActivityThread.java:7529)
11-26 00:42:50.814 21517 21517 E AndroidRuntime: at java.lang.reflect.Method.invoke(Native Method)
11-26 00:42:50.814 21517 21517 E AndroidRuntime: at com.android.internal.os.Zygote$MethodAndArgsCaller.run(Zygote.java:245)
11-26 00:42:50.814 21517 21517 E AndroidRuntime: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:921)
11-26 00:42:50.814 21517 21517 E AndroidRuntime: Caused by: java.lang.ClassNotFoundException: Didn't find class "com.google.android.gms.common.internal.zzbq" on path: DexPathList[[zip file "/data/app/cn.com.smartfleet.app.admin-CNzc9z0_DJ8aE5U-bsI1tQ==/base.apk"],nativeLibraryDirectories=[/data/app/cn.com.smartfleet.app.admin-CNzc9z0_DJ8aE5U-bsI1tQ==/lib/arm, /data/app/cn.com.smartfleet.app.admin-CNzc9z0_DJ8aE5U-bsI1tQ==/base.apk!/lib/armeabi-v7a, /system/lib, /vendor/lib, /product/lib]]
11-26 00:42:50.814 21517 21517 E AndroidRuntime: at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:93)
11-26 00:42:50.814 21517 21517 E AndroidRuntime: at java.lang.ClassLoader.loadClass(ClassLoader.java:379)
11-26 00:42:50.814 21517 21517 E AndroidRuntime: at java.lang.ClassLoader.loadClass(ClassLoader.java:312)
11-26 00:42:50.814 21517 21517 E AndroidRuntime: ... 12 more
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by reproducing the Android crash after installing react-native-fcm and running react-native run-android, then inspect the project's Firebase and Android dependency configuration. The work is done when the app launches without the reported NoClassDefFoundError for com.google.android.gms.common.internal.zzbq.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, firebase, java, react-native
- Domain
- mobile
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 20/100