使用multidex解决 [0, 0xffff]: 65536在6.0以上不能安装的问题
2017-04-13 09:31
561 查看
心路历程
由于最初项目用到了很多的第三方库,使得项目方法过多,直接报错65535问题,查看了很多文章,最终由这篇文章解决.链接:http://blog.csdn.net/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
这段话不用翻译了吧
本人是个小白,但是希望有同样的小白遇到同样的问题,这文章能让你少走弯路,节省时间
相关文章推荐
- ubuntu 10.04 编译安装 vim 7.3, 解决 vim 不能使用系统剪贴板问题
- 解决在Win7下安装MyGeneration,不能使用的问题
- Android学习笔记----解决“com.android.dex.DexIndexOverflowException: method ID not in [0, 0xffff]: 65536”问题
- Android 使用android-support-multidex解决Dex超出方法数的限制问题(65536问题)
- 【转】解决XCode安装插件后插件不能使用的问题
- 解决在Win7下安装MyGeneration,不能使用的问题
- 解决Xcode6.4安装插件后插件不能使用的问题
- Android使用multidex解决方法数越界问题65536
- “com.android.dex.DexIndexOverflowException: method ID not in [0, 0xffff]: 65536”问题解决
- 解决XCode安装插件后插件不能使用的问题
- 解决针对ubuntu11.04安装中文包后不能正常查看或使用pdf和Archiver的问题
- VMWARE下Fedora8安装VM TOOLS后解决鼠标滚轮不能使用的问题
- Unable to execute dex: method ID not in [0, 0xffff]: 65536 问题解决方法
- 安卓使用 multidex解决方法数越界问题65536
- ubuntu下 如何解决rubyEE安装后 ./script/console不能使用的问题
- Webex Player 安装文件,解决了不能播放问题,win7也能使用
- centos下安装Chromium以及解决root用户不能使用的问题
- 解决在Win7下安装MyGeneration,不能使用的问题
- Android解决“com.android.dex.DexIndexOverflowException: method ID not in [0, 0xffff]: 65536”问题
- Android 解决“com.android.dex.DexIndexOverflowException: method ID not in [0, 0xffff]: 65536”问题