Hey supporters,
our team is using Unity3D 5.2.3f1 and we're having issues with the Urban Airship SDK. We built the plugin according to the official manual: http://docs.urbanairship.com/platform/unity.html
When starting the .apk on our testing device we get a classNotFoundException from Java:
D/xyz - UALib( 7291): java.lang.ClassNotFoundException: com.urbanairship.push.GCMPushReceiver
D/xyz - UALib( 7291): at java.lang.Class.classForName(Native Method)
D/xyz - UALib( 7291): at java.lang.Class.forName(Class.java:251)
D/xyz - UALib( 7291): at java.lang.Class.forName(Class.java:216)
D/xyz - UALib( 7291): at com.urbanairship.util.ManifestUtils.validateManifest(ManifestUtil
s.java:238)
D/xyz - UALib( 7291): at com.urbanairship.UAirship.validateManifest(UAirship.java:722)
D/xyz - UALib( 7291): at com.urbanairship.UAirship.executeTakeOff(UAirship.java:373)
D/xyz - UALib( 7291): at com.urbanairship.UAirship.access$000(UAirship.java:62)
D/xyz - UALib( 7291): at com.urbanairship.UAirship$2.run(UAirship.java:315)
D/xyz - UALib( 7291): at java.lang.Thread.run(Thread.java:841)
D/xyz - UALib( 7291): Caused by: java.lang.NoClassDefFoundError: com/urbanairship/push/GCMPus
hReceiver
D/xyz - UALib( 7291): ... 9 more
(complete error log is attached to the post)
We already disassembled the .apk and found out, that the class is actually there, in the correct namespace. What other reasons are there which can provoke that error? What about the version of the Java Development Kit?
I also attached our top-level Android manifest.
Testing device: Samsung GT-N8010 (Galaxy Note 10.1) Android 4.4.2
Best regards
gcm_is_unavailable2.txt
android_manifest.xml
Comments
3 comments