Error:Flavor 'prod' has no flavor dimension
来源:互联网 发布:澳洲传媒硕士 知乎 编辑:程序博客网 时间:2024/05/21 22:51
最近在svn上拉取项目的时候,出现了
Error:Flavor 'prod' has no flavor dimension
的问题,原因是因为这个项目的build.gradle中
classpath 'com.android.tools.build:gradle:2.3.3'
版本太低
将其换成自己项目的,例如我的是
classpath 'com.android.tools.build:gradle:3.0.1'
同步之后还有一点点错误,在
allprojects { repositories { jcenter() google() }}
这个地方加入 google()这句话就好了
阅读全文
0 0
- Error:Flavor 'prod' has no flavor dimension
- Error:All flavors must now belong to a named flavor dimension. The flavor 'flavor_name' is ...
- Error:All flavors must now belong to a named flavor dimension
- 解决 Error:All flavors must now belong to a named flavor dimension
- 解决Error:All flavors must now belong to a named flavor dimension. Learn more at https://d.android.com
- 解决Error:All flavors must now belong to a named flavor dimension. Learn more at https://d.android.com
- Error:All flavors must now belong to a named flavor dimension. Learn more at https://d.android.com
- android studio3.0——Error:All flavors must now belong to a named flavor dimension. Learn more at ...
- Error:All flavors must now belong to a named flavor dimension. Learn more at https://d.android.com/r
- 解决Error:All flavors must now belong to a named flavor dimension. Learn more at https://d.android.com
- Error:All flavors must now belong to a named flavor dimension. Learn more at https://d.android.com/r
- 解决Error:All flavors must now belong to a named flavor dimension. Learn more at https://d.android.com
- AS3.0多渠道打包解决Error:All flavors must now belong to a named flavor dimension. Learn more at https://d.a
- AS3.0多渠道打包解决Error:All flavors must now belong to a named flavor dimension. Learn more at https://d.a
- OpenStack 类型模板(flavor)
- 《android日常bug系列》as升级3.0后报错,All flavors must now belong to a named flavor dimension.
- All flavors must now belong to a named flavor dimension. Learn more at https://d.android.com/r/tool
- Eclipse RCP + Spring with Hibernate flavor
- 人工神经网络基础数学研究-卷积
- CentOS7.0下安装Apache2.4.20版本,安装完成之后,报 You don't have permission to access / on this server.
- 找不org.springframework.boot.context.embedded.FilterRegistrationBean
- 身份证校验 日期 长度格式 表达式
- list集合通过ajax 在页面显示 、 以及省市级联查询
- Error:Flavor 'prod' has no flavor dimension
- spring bean的获取方式
- OpenGL入门教程(2)
- 借由ARM CORTEX-M芯片分析C程序加载和存储模型
- 如何让li横排显示
- Spark性能调优:使用Kryo序列化库、RDD的压缩
- java.sql.SQLException: null, message from server: "Host 'xxx' is not allowed to connect to this MySQ
- ansible基础入门
- unbuntu运行gcc出现collect2: fatal error: cannot find 'ld'