java.lang.NoClassDefFoundError urban airship after multidex

I am getting the following error when running my app on a kitkat samsung tablet and a kitkat samsung phone but not on 5.1 nexus 5

java.lang.NoClassDefFoundError: com.urbanairship.R$string
        at com.urbanairship.push.NotificationActionButtonGroupFactory.createUrbanAirshipGroups(
        at com.urbanairship.push.PushManager.<init>(
        at com.urbanairship.push.PushManager.<init>(
        at com.urbanairship.UAirship.<init>(
        at com.urbanairship.UAirship.executeTakeOff(
        at com.urbanairship.UAirship.access$000(
        at com.urbanairship.UAirship$

before using multidex the application was running fine but after adding a big library and having to use multidex I get this error

Source: java

Leave a Reply