I want push notification to my application by have some issue:
When i register token app crash:
Backendless.messaging.registerDevice([‘default’]);
My consolelog:
E/AndroidRuntime(15257): java.lang.NoClassDefFoundError: Failed resolution of: Lcom/google/firebase/iid/FirebaseInstanceId;
E/AndroidRuntime(15257): at com.backendless.push.FCMRegistration$1.onComplete(FCMRegistration.java:51)
E/AndroidRuntime(15257): at com.google.android.gms.tasks.zzj.run(Unknown Source:4)
E/AndroidRuntime(15257): at android.os.Handler.handleCallback(Handler.java:938)
E/AndroidRuntime(15257): at android.os.Handler.dispatchMessage(Handler.java:99)
E/AndroidRuntime(15257): at android.os.Looper.loop(Looper.java:246)
E/AndroidRuntime(15257): at android.app.ActivityThread.main(ActivityThread.java:8506)
E/AndroidRuntime(15257): at java.lang.reflect.Method.invoke(Native Method)
E/AndroidRuntime(15257): at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:602)
E/AndroidRuntime(15257): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1139)
E/AndroidRuntime(15257): Caused by: java.lang.ClassNotFoundException: Didn’t find class “com.google.firebase.iid.FirebaseInstanceId” on path: DexPathList[[zip file “/data/app/~~UicoZlFzgnHWNMcqMm7-bw==/com.bubbly.realtor-nc0Lh5Ql16xeIu_mB-C7sg==/base.apk”],nativeLibraryDirectories=[/data/app/~~UicoZlFzgnHWNMcqMm7-bw==/com.bubbly.realtor-nc0Lh5Ql16xeIu_mB-C7sg==/lib/arm64, /data/app/~~UicoZlFzgnHWNMcqMm7-bw==/com.bubbly.realtor-nc0Lh5Ql16xeIu_mB-C7sg==/base.apk!/lib/arm64-v8a, /system/lib64]]
E/AndroidRuntime(15257): at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:207)
E/AndroidRuntime(15257): at java.lang.ClassLoader.loadClass(ClassLoader.java:379)
E/AndroidRuntime(15257): at java.lang.ClassLoader.loadClass(ClassLoader.java:312)
E/AndroidRuntime(15257): … 9 more
I/Process (15257): Sending signal. PID: 15257 SIG: 9