This question is locked. New answers and comments are not allowed.
Hi,
I recently moved from the PushPlugin to the Telerik Verified Pushwoosh plugin in my project, and it seems that this is the source of my problem.
The real problem is that the App, on Android only, is crashing because it cannot find the class mentioned in the title of the post.
I had to use the Android Device Monitor application to figure out what the real problem is, because the AppBuilder debugger was giving me no information regarding the crashing of my App.
Below is the error trace that I got from the Monitor application :
10-22 10:03:00.968: E/AndroidRuntime(15131): java.lang.RuntimeException:
Unable to instantiate receiver com.plugin.gcm.CordovaGCMBroadcastReceiver: java.lang.ClassNotFoundException:
Didn't find class "com.plugin.gcm.CordovaGCMBroadcastReceiver" on path:
DexPathList[[zip file "/data/app/com.telerik.MaroelaMedia-1.apk"],nativeLibraryDirectories=[/data/app-lib/com.telerik.MaroelaMedia-1, /vendor/lib, /system/lib, /vendor/lib]]
Additionally, this class is mentioned in my AndroidManifest.xml file for my project:
I'm not sure if I have to post this error in the Telerik forums... If this is not the right place, please let me know.
I recently moved from the PushPlugin to the Telerik Verified Pushwoosh plugin in my project, and it seems that this is the source of my problem.
The real problem is that the App, on Android only, is crashing because it cannot find the class mentioned in the title of the post.
I had to use the Android Device Monitor application to figure out what the real problem is, because the AppBuilder debugger was giving me no information regarding the crashing of my App.
Below is the error trace that I got from the Monitor application :
10-22 10:03:00.968: E/AndroidRuntime(15131): java.lang.RuntimeException:
Unable to instantiate receiver com.plugin.gcm.CordovaGCMBroadcastReceiver: java.lang.ClassNotFoundException:
Didn't find class "com.plugin.gcm.CordovaGCMBroadcastReceiver" on path:
DexPathList[[zip file "/data/app/com.telerik.MaroelaMedia-1.apk"],nativeLibraryDirectories=[/data/app-lib/com.telerik.MaroelaMedia-1, /vendor/lib, /system/lib, /vendor/lib]]
Additionally, this class is mentioned in my AndroidManifest.xml file for my project:
<
receiver
android:name
=
"com.plugin.gcm.CordovaGCMBroadcastReceiver"
android:permission
=
"com.google.android.c2dm.permission.SEND"
>
<
intent-filter
><
action
android:name
=
"com.google.android.c2dm.intent.RECEIVE"
/>
<
action
android:name
=
"com.google.android.c2dm.intent.REGISTRATION"
/>
<
category
android:name
=
"com.telerik.MaroelaMedia"
/>
</
intent-filter
>
</
receiver
>
I'm not sure if I have to post this error in the Telerik forums... If this is not the right place, please let me know.