AS Error:File xxx specified for property 'resourceFile' does not exist
2016-09-23 14:58
399 查看
升级Android Studio 2.2之后,编译过程出现问题:
解决方法:将shrinkResource设置为false
Error:A problem was found with the configuration of task ':app:packageDebug'. > File xxx specified for property 'resourceFile' does not exist.
解决方法:将shrinkResource设置为false
buildTypes { release { // 不显示Log buildConfigField "boolean", "LOG_DEBUG", "false" //混淆 minifyEnabled false proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' //Zip代码压缩优化 zipAlignEnabled true //移除无用资源 shrinkResources false signingConfig signingConfigs.release } debug { //Zip代码压缩优化 zipAlignEnabled true //移除无用资源 shrinkResources false signingConfig signingConfigs.release minifyEnabled false } }
相关文章推荐
- linux系统与内核版本
- zabbix管理:zabbix3.0监控--修改管理员(Admin)密码
- Linux服务管理
- Linux下修改Mysql数据库存放路径
- docker api
- hadoop1.2.1的安装
- openwrt 问题六 搭建自己的交叉编译环境
- Linux下查看内存使用情况的方法总结
- Openfire与XMPP协议
- Centos清理内存,内存回收,释放及内存使用查看的相关命令
- Linux系统下ZooKeeper注册中心安装详细步骤(基于单节点)
- 每天一条linux命令---chgrp命令
- 使用Nginx代理通过HttpServletRequest获取用户IP地址
- 011 Linux环境下配置eclipse,以及创建maven工程
- Maven实现tomcat热部署
- dubbo 监控中心和admin部署
- CentOS: 下mysql远程连接的失败的解决方法
- linux cp -r chmod -R 递归拷贝 删除 改权限
- Linux下Tomcat的安装配置
- MyEclipse+Tomcat+MAVEN+SVN项目完整环境搭建