Quantcast
Channel: Appcelerator Developer Center Q&A Unanswered Questions 20
Viewing all articles
Browse latest Browse all 8068

notification$Builder fails for push messages ... again

$
0
0

Hi

Upgraded to the latest version of Ti (3.5 GA) and no getting a compilation error for the android app only. iOS seems to work just fine

[WARN] :   dalvikvm: VFY: unable to resolve new-instance 47 (Landroid/app/Notification$Builder;) in Lcom/appcelerator/aps/PushBroadcastReceiver;
[WARN] :   dalvikvm: threadid=1: thread exiting with uncaught exception (group=0x40015560)
[ERROR] :  dalvikvm: Could not find class 'android.app.Notification$Builder', referenced from method com.appcelerator.aps.PushBroadcastReceiver.showNotification
[ERROR] :  TiApplication: (main) [353,2507] Sending event: exception on thread: main msg:java.lang.RuntimeException: Unable to start receiver com.appcelerator.aps.PushBroadcastReceiver: java.lang.NullPointerException: PushType is NONE!; Titanium 3.5.0,2015/01/12 15:33,0014f83
[ERROR] :  TiApplication: java.lang.RuntimeException: Unable to start receiver com.appcelerator.aps.PushBroadcastReceiver: java.lang.NullPointerException: PushType is NONE!
[ERROR] :  TiApplication:   at android.app.ActivityThread.handleReceiver(ActivityThread.java:1805)
[ERROR] :  TiApplication:   at android.app.ActivityThread.access$2400(ActivityThread.java:117)
[ERROR] :  TiApplication:   at android.app.ActivityThread$H.handleMessage(ActivityThread.java:981)
[ERROR] :  TiApplication:   at android.os.Handler.dispatchMessage(Handler.java:99)
[ERROR] :  TiApplication:   at android.os.Looper.loop(Looper.java:130)
[ERROR] :  TiApplication:   at android.app.ActivityThread.main(ActivityThread.java:3683)
[ERROR] :  TiApplication:   at java.lang.reflect.Method.invokeNative(Native Method)
[ERROR] :  TiApplication:   at java.lang.reflect.Method.invoke(Method.java:507)
[ERROR] :  TiApplication:   at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:839)
[ERROR] :  TiApplication:   at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:597)
[ERROR] :  TiApplication:   at dalvik.system.NativeStart.main(Native Method)
[ERROR] :  TiApplication: Caused by: java.lang.NullPointerException: PushType is NONE!
[ERROR] :  TiApplication:   at com.appcelerator.aps.CCPushService.ifEnabled(CCPushService.java:256)
[ERROR] :  TiApplication:   at com.appcelerator.aps.PushBroadcastReceiver.onReceive(PushBroadcastReceiver.java:59)
[ERROR] :  TiApplication:   at android.app.ActivityThread.handleReceiver(ActivityThread.java:1794)
[ERROR] :  TiApplication:   ... 10 more
Any ideas?

Viewing all articles
Browse latest Browse all 8068

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>