I am trying to integrate my application with Box, Dropbox, and Google Drive. All 3 of these services require a number of 3rd party jars. Additionally, my application alrea
You need to enable the Dex support for that. So you need to do these steps:
android { defaultConfig { ... multiDexEnabled = true } }
dependencies { ... compile 'com.android.support:multidex:1.0.0' }
A. Add MultiDexApplication in manifest manifest
B. Extend the application by MultiDexApplication
public class App extends MultiDexApplication { .. }
C. install it in application in attaching base context.
public class App {
protected void attachBaseContext(Context base) {
super.attachBaseContext(base);
MultiDex.install(this);
..
}
}
For more go through this link MultiDex.