Skip to content
This repository has been archived by the owner on Nov 3, 2023. It is now read-only.

运行就报错 #70

Open
13538659596 opened this issue Feb 14, 2022 · 0 comments
Open

运行就报错 #70

13538659596 opened this issue Feb 14, 2022 · 0 comments

Comments

@13538659596
Copy link

2022-02-14 17:44:37.707 12284-12331/cn.rongcloud.im E/RongLog: [RongLog][ RongExceptionHandler ] uncaughtException
java.lang.NoClassDefFoundError: Failed resolution of: Lcom/google/firebase/messaging/FirebaseMessaging;
at io.rong.push.platform.google.FCMPush.register(FCMPush.java:28)
at io.rong.push.PushManager.register(PushManager.java:101)
at io.rong.push.PushManager.access$500(PushManager.java:39)
at io.rong.push.PushManager$1.run(PushManager.java:84)
at android.os.Handler.handleCallback(Handler.java:751)
at android.os.Handler.dispatchMessage(Handler.java:95)
at android.os.Looper.loop(Looper.java:154)
at android.os.HandlerThread.run(HandlerThread.java:61)
Caused by: java.lang.ClassNotFoundException: Didn't find class "com.google.firebase.messaging.FirebaseMessaging" on path: DexPathList[[zip file "/data/app/cn.rongcloud.im-1/base.apk"],nativeLibraryDirectories=[/data/app/cn.rongcloud.im-1/lib/x86, /data/app/cn.rongcloud.im-1/base.apk!/lib/x86, /system/lib, /vendor/lib]]
at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:56)
at java.lang.ClassLoader.loadClass(ClassLoader.java:380)
at java.lang.ClassLoader.loadClass(ClassLoader.java:312)
at io.rong.push.platform.google.FCMPush.register(FCMPush.java:28) 
at io.rong.push.PushManager.register(PushManager.java:101) 
at io.rong.push.PushManager.access$500(PushManager.java:39) 
at io.rong.push.PushManager$1.run(PushManager.java:84) 
at android.os.Handler.handleCallback(Handler.java:751) 
at android.os.Handler.dispatchMessage(Handler.java:95) 
at android.os.Looper.loop(Looper.java:154) 
at android.os.HandlerThread.run(HandlerThread.java:61) 
2022-02-14 17:44:38.190 12363-12422/cn.rongcloud.im E/AndroidRuntime: FATAL EXCEPTION: Push_Config
Process: cn.rongcloud.im, PID: 12363
java.lang.NoClassDefFoundError: Failed resolution of: Lcom/google/firebase/messaging/FirebaseMessaging;
at io.rong.push.platform.google.FCMPush.register(FCMPush.java:28)
at io.rong.push.PushManager.register(PushManager.java:101)
at io.rong.push.PushManager.access$500(PushManager.java:39)
at io.rong.push.PushManager$1.run(PushManager.java:84)
at android.os.Handler.handleCallback(Handler.java:751)
at android.os.Handler.dispatchMessage(Handler.java:95)
at android.os.Looper.loop(Looper.java:154)
at android.os.HandlerThread.run(HandlerThread.java:61)
Caused by: java.lang.ClassNotFoundException: Didn't find class "com.google.firebase.messaging.FirebaseMessaging" on path: DexPathList[[zip file "/data/app/cn.rongcloud.im-1/base.apk"],nativeLibraryDirectories=[/data/app/cn.rongcloud.im-1/lib/x86, /data/app/cn.rongcloud.im-1/base.apk!/lib/x86, /system/lib, /vendor/lib]]
at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:56)
at java.lang.ClassLoader.loadClass(ClassLoader.java:380)
at java.lang.ClassLoader.loadClass(ClassLoader.java:312)
at io.rong.push.platform.google.FCMPush.register(FCMPush.java:28) 
at io.rong.push.PushManager.register(PushManager.java:101) 
at io.rong.push.PushManager.access$500(PushManager.java:39) 
at io.rong.push.PushManager$1.run(PushManager.java:84) 
at android.os.Handler.handleCallback(Handler.java:751) 
at android.os.Handler.dispatchMessage(Handler.java:95) 
at android.os.Looper.loop(Looper.java:154) 
at android.os.HandlerThread.run(HandlerThread.java:61) 

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant