Android Studio 2.0+发布APK出现ExternalSystemException: String index out of range: -123错误
来源:互联网 发布:徽商银行网络培训平台 编辑:程序博客网 时间:2024/06/08 02:06
前阵子Android Studio 2.0正式版发布了,很高兴的就升到了最新版本。
一编译就出现400多个错误提示,Gradle2.0编译速度也让人泪奔,哎,可能是技术太渣不懂那些配置,晚晚加班也没时间学习,还好debug方式编译正常运行
今天老大叫发布APK,使用Android Studio2.0 release APK 时出现ExternalSystemException: String index out of range: -123错误提示,
搞了一个晚上终于解决了,记忆不好,在这里记录一下,怕以后出现类似问题忘记怎么解决。
解决方法:
在主项目build.gradle的android标签里加上
lintOptions { checkReleaseBuilds false // Or, if you prefer, you can continue to check for errors in release builds, // but continue the build even when errors are found: abortOnError false}
如图:
1 0
- Android Studio 2.0+发布APK出现ExternalSystemException: String index out of range: -123错误
- Android Studio Error String index out of range 0 字符串索引超出范围
- python PIL, 错误:IndexError: string index out of range
- 解决SSO客户端验证错误String index out of range
- android release build error: String index out of range: -125
- String index out of range: -1
- String index out of range: -1
- Java String index out of range: -1
- String index out of range: 0
- Gradle:String index out of range: 0
- String index out of range: 0
- Parameter index out of range 错误
- golang slice index out of range错误
- Hibernate query.list()查询发生java.lang.StringIndexOutOfBoundsException: String index out of range: 0错误
- Hibernate query.list()查询发生java.lang.StringIndexOutOfBoundsException: String index out of range: 0错误
- 错误:list assignment index out of range 和list index out of range
- python列表删除会出现一个错误 list index out of range
- python列表删除会出现一个错误 list index out of range
- 在android中实现多线程下载和断点续传
- 面向对象三大特性——封装
- ScrollView嵌套ListView只显示一行
- 在IDEA中使用MyBatis Generator逆向工程生成代码
- "围观"设计模式(2)--里氏替换原则(LSP,Liskov Substitution Principle)
- Android Studio 2.0+发布APK出现ExternalSystemException: String index out of range: -123错误
- 2016SDAU编程练习二1025
- "围观"设计模式(3)--依赖倒置原则(DIP,Dependence Inversion Principle)
- linux下安装apache(httpd-2.4.3版本)各种坑
- [BZOJ1013][JSOI2008]球形空间产生器sphere(高斯消元)
- 机器学习之K近邻
- "围观"设计模式(4)--接口隔离原则(ISP,Interface Segregation Principle)
- Apache配置多个监听端口和不同的网站目录的简单方法
- asp.net 可选可输入的dropdownlist