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

Android Lollipop throwing error for UrbanAirship

$
0
0

Hi, I am using urban airship in my application for notification. It is working fine on Android Ice cream Sandwich and KitKat, but when I run the same code on android latest version Lollipop It is throwing error. Below is the error , Please help

[INFO] :   TiVerify: (Timer-0) [1099,6100] Succesfully verified module licenses
[ERROR] :  E/urbanAirship - UALib: No APID. Cannot update.
[INFO] :   I/urbanAirship - UALib: Initializing GCM Push...
[INFO] :   I/urbanAirship - UALib: Performing BoxOffice firstRun.
[ERROR] :  TiApplication: (IntentService[PushWorkerService]) [4774,10874] Sending event: exception on thread: IntentService[PushWorkerService] msg:java.lang.IllegalArgumentException: Service Intent must be explicit: Intent { act=com.google.android.c2dm.intent.REGISTER (has extras) }; Titanium 3.5.0,2015/01/12 15:33,0014f83
[ERROR] :  TiApplication: java.lang.IllegalArgumentException: Service Intent must be explicit: Intent { act=com.google.android.c2dm.intent.REGISTER (has extras) }
[ERROR] :  TiApplication:   at android.app.ContextImpl.validateServiceIntent(ContextImpl.java:1674)
[ERROR] :  TiApplication:   at android.app.ContextImpl.startServiceCommon(ContextImpl.java:1703)
[ERROR] :  TiApplication:   at android.app.ContextImpl.startService(ContextImpl.java:1687)
[ERROR] :  TiApplication:   at android.content.ContextWrapper.startService(ContextWrapper.java:515)
[ERROR] :  TiApplication:   at com.urbanairship.push.GCMPushManager.register(Unknown Source)
[ERROR] :  TiApplication:   at com.urbanairship.push.PushWorkerService.onHandleIntent(Unknown Source)
[ERROR] :  TiApplication:   at android.app.IntentService$ServiceHandler.handleMessage(IntentService.java:65)
[ERROR] :  TiApplication:   at android.os.Handler.dispatchMessage(Handler.java:102)
[ERROR] :  TiApplication:   at android.os.Looper.loop(Looper.java:135)
[ERROR] :  TiApplication:   at android.os.HandlerThread.run(HandlerThread.java:61)
[INFO] :   TiRootActivity: (main) [0,0] checkpoint, on root activity resume. activity = com.wipro.push.UrbanairshipActivity@29056082
[INFO] :   Process: Sending signal. PID: 539 SIG: 9

Viewing all articles
Browse latest Browse all 8068

Trending Articles



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