项目出现……64k 解决方案
https://www.jianshu.com/p/4911b342e808
1.依赖:compile 'com.android.support:multidex:1.0.0'
2.修改defaultconfig配置:添加:
multiDexEnabled = true
3.在你自定义的Application类里重载以下方法:
@Override
protected void attachBaseContext(Context base){
super.attachBaseContext(base);
//Avoiding the 64K Limit
MultiDex.install(this);
}
网友评论