首页 > 其他 > 详细

解决65535

时间:2018-07-03 17:55:47      阅读:151      评论:0      收藏:0      [点我收藏+]
在app的build gradle里面加

defaultConfig { multiDexEnabled true//解决65535 }


dependencies {

compile ‘com.android.support:multidex:1.0.1‘
}


然后自定义一个MyApplication extends MultiDexApplication ,

最后要在

 <application
        android:name=".MyApplication"//这里记得加
        android:allowBackup="true"
        android:icon="@mipmap/ic_launcher"
        android:label="@string/app_name"
        android:roundIcon="@mipmap/ic_launcher_round"
        android:supportsRtl="true"
        android:theme="@style/AppTheme">

 

解决65535

原文:https://www.cnblogs.com/laoyimou/p/9259722.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!