Android Studio 3.0 Flavor Dimension Issue

后端 未结 7 1647
我寻月下人不归
我寻月下人不归 2020-12-04 05:49

Upgraded to Studio Canary build. My previous project of Telegram Messenger is giving following error.

Error:All flavors must now belong to a named fla

7条回答
  •  一生所求
    2020-12-04 06:53

    If you don't really need the mechanism, just specify a random flavor dimension in your build.gradle:

    android { 
        ...
        flavorDimensions "default"
        ...
    }
    

    For more information, check the migration guide

提交回复
热议问题