Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Help please,crash because of notification icon

Discussion in 'Android' started by Hussam, Dec 21, 2014.

  1. Hussam

    Hussam

    Joined:
    Sep 20, 2012
    Posts:
    10
    Hello

    I am trying to make plugin for push notification that uses AlarmManager as service and Notification class that will
    show notification for player after specific amount of time.

    when i make it as native android application it works fine, and when i export the project as jar file and check if i can call functions and receive data from the jar file it also works fine .

    But when the code that is responsible for showing push notification reached there is crash happens . and when i check the LogCat in eclipse the following error was shown

    E/AndroidRuntime(14747): Caused by: android.app.RemoteServiceException: Bad notification posted from package ***: Couldn't create icon: StatusBarIcon

    I doubled check that resources was exported with the jar file but i don't know how to solve this issue .

    Any help please :(
     
  2. Hussam

    Hussam

    Joined:
    Sep 20, 2012
    Posts:
    10
    any help please
     
  3. BenoitFreslon

    BenoitFreslon

    Joined:
    Jan 16, 2013
    Posts:
    163
    Hello, did you found a solution?