Gradle DSL method not found: 'flavorGroups()'

前端 未结 1 1564
遥遥无期
遥遥无期 2021-01-17 11:48

I\'m trying to create a ndk project with android studio according this tutorial and I get this error when I try to sync my gradle:

Gradle DSL method not foun         


        
相关标签:
1条回答
  • 2021-01-17 12:11

    The Android Gradle pluging received an update which changed the name of flavorGroups to flavorDimensions. You will also have to change the name of each flavorGroup to flavorDimension. If you make that change then you won't receive that error any more.

    0 讨论(0)
提交回复
热议问题