Unity plugin 9.0.0, Android, urbanairship-message-center can be removed?


For Airship Unity Plugin 9.0.0, our Crashlystics detects a crash with the following stacktrace.

Caused by java.lang.NoClassDefFoundError
com.urbanairship.messagecenter.MessageDao.deleteMessages (MessageDao.java:68)
com.urbanairship.messagecenter.MessageDao_Impl.access$001 (MessageDao_Impl.java:23)
com.urbanairship.messagecenter.MessageDao_Impl.deleteMessages (MessageDao_Impl.java:225)
com.urbanairship.messagecenter.InboxJobHandler.updateInbox (InboxJobHandler.java:264)
com.urbanairship.messagecenter.InboxJobHandler.updateMessages (InboxJobHandler.java:202)
com.urbanairship.messagecenter.InboxJobHandler.onUpdateMessages (InboxJobHandler.java:136)
com.urbanairship.messagecenter.InboxJobHandler.performJob (InboxJobHandler.java:117)
com.urbanairship.messagecenter.Inbox.onPerformJob (Inbox.java:204)
com.urbanairship.messagecenter.MessageCenter.onPerformJob (MessageCenter.java:228)
com.urbanairship.job.JobRunnable$1.run (JobRunnable.java:90)
com.urbanairship.util.SerialExecutor$1.run (SerialExecutor.java:41)
java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:1113)
java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:588)
com.urbanairship.util.AirshipThreadFactory$1.run (AirshipThreadFactory.java:50)
java.lang.Thread.run (Thread.java:818)

Thus, we are considering to remove urbanairship-message-center 16.1.1 since we are not using the message center feature at all.

Is it safe to remove urbanairship-message-center ? Also, same question for urbanairship-automation.

Thank you,



Didn't find what you were looking for?

New post



  • Hi Danny, 

    Thanks so much for reaching out to Airship support. That's correct, you do not have to have either message center or automations set up to send push notifications on Android. 

    That said, should you choose to keep message center in your app, can you verify that you followed these steps when setting up it up in your app? 

    Comment actions Permalink
  • Hello,

    No, we never set up message center, but we just included message center library via gradle from Unity because it comes with Airship Unity sdk.


    Comment actions Permalink
  • Hello, it looks like com.urbanairship.android:urbanairship-message-center can't be removed since it is referred by airship-unity-plugin.

    Then, can you investigate why our game is having the crash with the above stacktrace?

    Thank you,


    Comment actions Permalink
  • Hi Danny, 

    In order to better troubleshoot this issue, I've gone ahead and created a support ticket. You can respond directly to the ticket going forward. 

    Thanks so much, 

    Frenchy F.
    Technical Support Engineer | Airship | New York

    Comment actions Permalink

Please sign in to leave a comment.