心路历程
由于最初项目用到了很多的第三方库,使得项目方法过多,直接报错65535问题,查看了很多文章,最终由这篇文章解决.链接:http://blog.youkuaiyun.com/czhpxl007/article/details/50419974,
具体步骤如下:
Gradle 配置:
defaultConfig {
multiDexEnabled true
}
dependencies {
compile 'com.android.support:multidex:1.0.0'
}
最后一步:
MyApplication extends MultiDexApplication
真是一波未平一波又起,在4.4上跑没有任何问题.
但是当项目运行在6.0的手机上时,出现了不能安装的问题报错DELETE_FAILED_INTERNAL_ERROR Error while Installing APKs,把我这个新手难倒
在stackoverflow上找到解决办法如下:
For Android Studio on Windows :
File > Settings > Build, Execution, Deployment > Instant Run > Uncheck : Enable Instant Run
这段话不用翻译了吧
本人是个小白,但是希望有同样的小白遇到同样的问题,这文章能让你少走弯路,节省时间