gradle - How to enable multidexing with the new Android Multidex support library -


I want to use the new Multidix Help Library to break the law limit for one of my apps

< P> With Android Lollipop Google introduced a Multidud X Support Library which makes it easy for Multidire X.

What steps are needed to use this library and build your app with multidાઇx support?

From December 3, 2014, the tool was created 1.0.0-rc1 I went. Now, you have to support your build.gradle :

  Android {compileSdkVersion 22 buildToolsVersion "23.0.0" default config {minSdkVersion 14/14 Multidex targetSdkVersion 22 Do not // multidex support enabled MultiDexEnabled true}} dependency {compile 'com.android.support:multidex:1.0.1'}  

If you are running unit tests, you can It would like to include it in your application class:

  public class increases the application of YouApication {@Override protected void attachBaseContext (reference base) {super.attachBaseContext (base) ; MultiDex.install (this); For more information, this 


Comments

Popular posts from this blog

java - Can't add JTree to JPanel of a JInternalFrame -

javascript - data.match(var) not working it seems -

javascript - How can I pause a jQuery .each() loop, while waiting for user input? -