I resolved the issue by adding this to my Application Class.
@Override
protected void attachBaseContext(Context base) {
super.attachBaseContext(base);
MultiDex.install(this);
}
Seems to be neccessary for android versions prior 5.
More Related Contents:
- How to enable multidexing with the new Android Multidex support library
- java.util.zip.ZipException: duplicate entry during packageAllDebugClassesForMultiDex
- NoClassDefFoundError for code in an Java library on Android
- Error:Execution failed for task ‘:app:transformClassesWithDexForDebug’
- Error:Cannot fit requested classes in a single dex file.Try supplying a main-dex list. # methods: 72477 > 65536
- The number of method references in a .dex file cannot exceed 64k API 17
- Unable instantiate android.gms.maps.MapFragment
- Too many field references: 70613; max is 65536
- How to shrink code – 65k method limit in dex
- Gson NoClassDefFoundError after ADT and SDK Tools update to v17
- Android java.lang.NoClassDefFoundError
- What is Android MultiDex?
- Android – transform Classes With Dex For Debug
- java.lang.NoClassDefFoundError: android/graphics/drawable/Icon
- NoClassDefFoundError Android Project [duplicate]
- “ArrayAdapter requires the resource ID to be a TextView” XML problems
- Android Studio – local path doesn’t exist
- Updating Android UI using threads
- targetSdkVersion setting
- Updating progress dialog in Activity from AsyncTask
- How to set space between listView Items in Android
- Android keeps caching my intents Extras, how to declare a pending intent that keeps fresh extras?
- Replace default Android Maps API v2 Change MyLocation icon
- The following classes could not be found: android.support.v7.internal.app.WindowDecorActionBar
- How do I call REST API from an android app? [closed]
- Modifying contents of Android .aar file / Converting to and from .zip format
- How does android compare pending intents
- Compare dates (stored as string) in android sqlite database?
- Android valgrind build fails
- What is use of Cursor in Android Development?