How to enable multidexing with the new Android Multidex support library

后端 未结 14 2599
逝去的感伤
逝去的感伤 2020-11-21 12:57

I want to use the new Multidex support library to break the method limit for one of my apps.

With Android Lollipop Google introduced a multidex support library that

14条回答
  •  轮回少年
    2020-11-21 13:47

    Multi_Dex.java

    public class Multi_Dex extends Application {
        @Override
        protected void attachBaseContext(Context base) {
            super.attachBaseContext(base);
            MultiDex.install(this);
        }
    }
    

提交回复
热议问题