Android Studio 3.0风味维度问题 [英] Android Studio 3.0 Flavor Dimension Issue
问题描述
错误:所有的味道现在都必须属于一个已命名的味道维度。风味'armv7'没有被分配到风味维度。了解更多信息,请访问 https://d.android.com/r/ tools / flavorDimensions-missing-error-message.html
我应该怎么做?我已经看到了这个链接,但不知道该怎么做。我现在有3个构建变体,发布,调试和foss。 解决方案
如果你不需要这个机制,随机风格维度:
android {
...
flavorDimensionsdefault
...
}
有关更多信息,请查看迁移指南
Upgraded to Studio Canary build. My previous project of Telegram Messenger is giving following error.
Error:All flavors must now belong to a named flavor dimension. The flavor 'armv7' is not assigned to a flavor dimension. Learn more at https://d.android.com/r/tools/flavorDimensions-missing-error-message.html
What should I do? I have already seen that link but couldn't understand what to do. I have 3 build variants now, release,debug and foss.
If you don't really need the mechanism, just specify a random flavor dimension:
android {
...
flavorDimensions "default"
...
}
For more information, check the migration guide
这篇关于Android Studio 3.0风味维度问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!