1

在 kitkat 三星平板电脑和 kitkat 三星手机上运行我的应用程序时出现以下错误,但在 5.1 nexus 5 上没有

java.lang.NoClassDefFoundError: com.urbanairship.R$string
        at com.urbanairship.push.NotificationActionButtonGroupFactory.createUrbanAirshipGroups(NotificationActionButtonGroupFactory.java:40)
        at com.urbanairship.push.PushManager.<init>(PushManager.java:224)
        at com.urbanairship.push.PushManager.<init>(PushManager.java:212)
        at com.urbanairship.UAirship.<init>(UAirship.java:109)
        at com.urbanairship.UAirship.executeTakeOff(UAirship.java:323)
        at com.urbanairship.UAirship.access$000(UAirship.java:55)
        at com.urbanairship.UAirship$2.run(UAirship.java:280)
        at java.lang.Thread.run(Thread.java:856)

在使用 multidex 之前,应用程序运行良好,但是在添加了一个大库并且不得不使用 multidex 之后,我得到了这个错误

4

0 回答 0