Domanda

For some reason, as soon as I add the CastCompanionLibrary to my project, it crashes with this error:

04-22 11:58:57.026: E/AndroidRuntime(3258): android.app.RemoteServiceException: Bad notification posted from package com.test: Couldn't expand RemoteViews for: StatusBarNotification(package=com.test id=347 tag=null notification=Notification(vibrate=null,sound=null,defaults=0x0,flags=0x62))

I'm running this on an HTC Incredible on Android 2.3.4.

Please help!

È stato utile?

Soluzione

Fixed this by renaming my custom_notification.xml file and also updating the id of the layout inside. I think it had a conflict with the custom_notification.xml from the CCL.

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top