unity-gcm
unity-gcm copied to clipboard
hey! about push not in the app...
i got this erorr:
D/dalvikvm( 9994): threadid=10 (IntentService[GCMIntentService-DynamicSenderIds-1]): calling run() V/UnityGCMIntentService( 9994): onMessage V/UnityGCMIntentService( 9994): badge: 7 V/UnityGCMIntentService( 9994): collapse_key: do_not_collapse V/UnityGCMIntentService( 9994): from: 149262229651 V/UnityGCMIntentService( 9994): alert: gvgvgv D/dalvikvm( 9994): Trying to load lib /data/app-lib/com.slotoparty.slotoparty-1/libmain.so 0x41ba9978 D/dalvikvm( 9994): Added shared lib /data/app-lib/com.slotoparty.slotoparty-1/libmain.so 0x41ba9978 W/dalvikvm( 9994): No implementation found for native Lcom/unity3d/player/UnityPlayer;.UnitySendMessage:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V W/System.err( 9994): java.lang.UnsatisfiedLinkError: Native method not found: com.unity3d.player.UnityPlayer.UnitySendMessage:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V W/System.err( 9994): at com.unity3d.player.UnityPlayer.UnitySendMessage(Native Method) W/System.err( 9994): at com.kskkbys.unitygcmplugin.Util.sendMessage(Util.java:23) W/System.err( 9994): at com.kskkbys.unitygcmplugin.UnityGCMIntentService.onMessage(UnityGCMIntentService.java:50) W/System.err( 9994): at com.google.android.gcm.GCMBaseIntentService.onHandleIntent(GCMBaseIntentService.java:223) W/System.err( 9994): at android.app.IntentService$ServiceHandler.handleMessage(IntentService.java:65) W/System.err( 9994): at android.os.Handler.dispatchMessage(Handler.java:99) W/System.err( 9994): at android.os.Looper.loop(Looper.java:153) W/System.err( 9994): at android.os.HandlerThread.run(HandlerThread.java:60)
id run over all threads here try everything still not working what can i do?
thanks!
The error says it can't find method / function 'UnitySendMessage' in com.unity3d.player.UnityPlayer. Did you define the Unity activities in the AndroidManifest.xml?
i dont see in AndroidManifest.xml this - com.unity3d.player.UnityPlayer???
i see it with:
com.unity3d.player.UnityPlayerNativeActivity
com.unity3d.player.UnityPlayerActivity
com.unity3d.player.UnityPlayerProxyActivity
??
now i have this in the logs: No implementation found for native Lcom/unity3d/player/UnityPlayer;.UnitySendMessage:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)
hello @Rafaelkas @LeshM
I have same problem. How can i solve that?
V/GCMBroadcastReceiver(2317): onReceive: com.google.android.c2dm.intent.RECEIVE
V/GCMRegistrar(2317): Setting the name of retry receiver class to com.kskkbys.unitygcmplugin.UnityGCMBroadcastReceiver
V/UnityGCMBroadcastReceiver(2317): getGCMIntentServcieClassName
V/GCMBroadcastReceiver(2317): GCM IntentService class: com.kskkbys.unitygcmplugin.UnityGCMIntentService
V/GCMBaseIntentService(2317): Acquiring wakelock V/GCMBaseIntentService(2317): Intent service name: GCMIntentService-DynamicSenderIds-1
V/UnityGCMIntentService(2317): onMessage
V/UnityGCMIntentService(2317): from: 1094430958891
V/UnityGCMIntentService(2317): team: GPS_IM_OFF_Y
V/UnityGCMIntentService(2317): message: GPS_IM_OFF
V/UnityGCMIntentService(2317): collapse_key: do_not_collapse
D/dalvikvm(2317): Trying to load lib /data/app-lib/com.elluminati.mazerun-1/libmain.so 0x41ed9e38
D/dalvikvm(2317): Added shared lib /data/app-lib/com.elluminati.mazerun-1/libmain.so 0x41ed9e38
W/dalvikvm(2317): No implementation found for native Lcom/unity3d/player/UnityPlayer;.UnitySendMessage:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
W/System.err(2317): java.lang.UnsatisfiedLinkError: Native method not found: com.unity3d.player.UnityPlayer.UnitySendMessage:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
W/System.err(2317): at com.unity3d.player.UnityPlayer.UnitySendMessage(Native Method)
W/System.err(2317): at com.kskkbys.unitygcmplugin.Util.sendMessage(Util.java:23)
W/System.err(2317): at com.kskkbys.unitygcmplugin.UnityGCMIntentService.onMessage(UnityGCMIntentService.java:50)
W/System.err(2317): at com.google.android.gcm.GCMBaseIntentService.onHandleIntent(GCMBaseIntentService.java:223)
W/System.err(2317): at android.app.IntentService$ServiceHandler.handleMessage(IntentService.java:65)
W/System.err(2317): at android.os.Handler.dispatchMessage(Handler.java:102)
W/System.err(2317): at android.os.Looper.loop(Looper.java:136)
W/System.err(2317): at android.os.HandlerThread.run(HandlerThread.java:61)
V/GCMBaseIntentService(2317): Releasing wakelock