设置多渠道打包的时候,报这个错,其实低版本不会出现这个错误,高版本才会出现,解决办法:

defaultConfig 闭包里添加:
flavorDimensions "default"

解决。

Android All flavors must now belong to a named flavor dimension相关推荐

  1. 解决Error:All flavors must now belong to a named flavor dimension. Learn more at https://d.android.com

    这个错误是说:必须要保证所有的flavor 都属于同一个维度. 3.0之前配置多版本打包是不会有问题的,可以正常运行.打包.但是AndroidStudio升级到3.0之后,配置多版本打包运行的时候会提 ...

  2. Android 报错处理:All flavors must now belong to a named flavor dimension,Learn more at https://d.android

    查看链接 -> https://d.android.com/r/tools/flavorDimensions-missing-error-message.html 翻看文档,有一段话: Erro ...

  3. All flavors must now belong to a named flavor dimension. Learn more at https://d.android.com/r/tool

    Android Studio升级到3.0之后,运行的时候会报错 Error:A problem occurred configuring project ':app'. > All flavor ...

  4. All flavors must now belong to a named flavor dimension. Learn more at https://d.android.com/r/tools

    我把AndroidStudio从2.0+升级到3.0+时,今天在AndroidStudio3.0+上进行多渠道打包时遇到了如下的错误提示: All flavors must now belong to ...

  5. All flavors must now belong to a named flavor dimension

    这个问题刚使用androidstudio的时候就遇到了,当时因为没法科学上网就没有查其根本原因.瞅了几篇博客,增加了flavorDimensions "versionCode"这句 ...

  6. All flavors must now belong to a named flavor dimension.

    项目编译报错: FAILURE: Build failed with an exception.* What went wrong: A problem occurred configuring pr ...

  7. gradle ERROR: All flavors must now belong to a named flavor dimension.

    在升级编译器为android studio 3.4.1后项目报错如下: ERROR: All flavors must now belong to a named flavor dimension. ...

  8. 解决AS升级3.4 ERROR: All flavors must now belong to a named flavor dimension.Learn more at https://d.and

    AS升级到3.4.2之后在多渠道环境下编译出错,错误提示为:"ERROR: All flavors must now belong to a named flavor dimension. ...

  9. 【错误记录】Gradle 配置 productFlavors 报错 ( All flavors must now belong to a named flavor dimension. )

    文章目录 一.报错信息 二.解决方案 一.报错信息 在 build.gradle 中配置 productFlavors 后报错 ; 配置内容 : // 定义不同的开发和产品风格productFlavo ...

最新文章

  1. STL中的栈结构和队列结构
  2. 常见问题一之项目报错排查
  3. Oracle 11g RAC features
  4. 键盘流的逆袭- Idea 中使用 VIM mode 提高生成效率
  5. 使用ElasticSearch,Kibana,ASP.NET Core和Docker可视化数据
  6. win10python3.6.3安装_Win10Python3.6安装impyla
  7. 启动计算机应用程序的命令,如何设置电脑Windows开机启动项命令?
  8. CKEditor与CKFinder学习--安全的使用CKFinder与权限控制
  9. cmd指令ie打开html文件,命令行调用 IE 浏览器打开指定网址
  10. Voldemort — 分布式 key-value 存储系统
  11. Docker 安装 SRS
  12. 学生博客,教师博客地址,有用博客地址
  13. 【前端面试题】—21道有关移动端的面试题
  14. 海信电视LED55N3000U(000)版本刷机
  15. SIT-board 远程交互式白板的实现
  16. mysql数据库问题解答_MySQL数据库常见错误问题解答 - MySQL 教程精选
  17. 输出1900年到2050年之间是闰年的年份。判断闰年的条件是能被4整除但不能同时被100整除,或者能被400整除,则这一年是闰年。
  18. 为Apple Watch设计:产品策略
  19. 【调剂】3.20计算机考研其余调剂信息
  20. vs 2008 下载 VS2008简体中文正式版迅雷高速下载 Visual Studio 2008 Team

热门文章

  1. 中文版-Because He Lives-因他活着-好消息诗班(音乐河2)
  2. ABAP SY-SUBRC含义
  3. 指南Java面试常问问题及答案
  4. 第二十八节:Java基础-进阶继承,抽象类,接口
  5. [转]ViewFlipper实现多标签切换
  6. 标准成本计算和平均成本计算比较
  7. mysql测试题蔡铜_MySQL:测试题
  8. suse linux如何重置密码忘记,SUSE Linux忘记root密码的对策
  9. 这些好公司955,不加班,你知道几个
  10. week7 PyCharm和Flask初应用