使用productFlavors 出现错误Configuration with name 'debug' not found.
来源:互联网 发布:天猫淘宝运营招聘信息 编辑:程序博客网 时间:2024/06/10 14:53
在module A里使用productFlavors时:
productFlavors{
testa{
}
testb{
}
}
编译时出现 Configuration with name 'debug' not found.
原因:其他模块引用了module A,如:
releaseCompile project ( path : 'moduleA" ,configation:'release')
debugCompile project ( path : 'moduleA" ,configation:'debug');
在其他模块找不到moduleA中的release 或者 debug;
解决办法:
其他模块引入的地方 release 修改 为 testaRelease debug 修改为 testaDebug
releaseCompile project ( path : 'moduleA" ,configation:'release')
debugCompile project ( path : 'moduleA" ,configation:'debug');
阅读全文
0 1
- 使用productFlavors 出现错误Configuration with name 'debug' not found.
- 解决AS导入项目的时候出现错误:Error:Configuration with name 'default' not found.
- 错误:Error:Configuration with name 'default' not found.
- 错误:Error:Configuration with name 'default' not found.
- 开发错误11:Configuration with name ‘default’ not found
- Configuration with name 'default' not found
- Configuration with name 'default' not found 解决办法
- Configuration with name 'default' not found
- Error:Configuration with name 'default' not found.
- Configuration with name 'default' not found.
- Error:Configuration with name 'default' not found.
- Error:Configuration with name 'default' not found.
- Error:Configuration with name 'default' not found.
- configuration with name ‘default’ not found
- Error:Configuration with name 'default' not found.
- 解决Error:Configuration with name 'default' not found.
- Error:Configuration with name 'default' not found. 解决办法
- androidStudio Error:Configuration with name 'default' not found.
- 霍夫线变换
- fresco在listview滑动中处理
- shiro登录过程分析
- Learning To Detect Unseen Object Classes by Between-Class Attribute Transfer(阅读报告)
- android干货收集
- 使用productFlavors 出现错误Configuration with name 'debug' not found.
- /matplotlib/dates.py 发生的错误:"Can't create weekday with n == 0"
- CentOS7+Apache2.4.6+Subversion1.7.14+Tomcat9+Mysql5.6+JDK1.8+svnadmin3.0.5傻瓜式搭建
- java 类型通配符 ?
- 对于list的复制问题
- 一定能成功的Android NDK环境配置教程
- weex error NpmPackage.js:50
- PHP生成微信二维码
- 《jQuery基础教程》第三章摘记