Android studio build script error,unsupported gradle DSL method found : android()!

后端 未结 2 648
忘了有多久
忘了有多久 2021-01-22 00:51

I upgraded the Android Studio to AS 0.6 then imported the project developed in AS 0.3

I am getting errors like:

Build script error,unsupported Gradle DSL         


        
2条回答
  •  生来不讨喜
    2021-01-22 01:16

    Actually it stated in the error message. So just add

    apply plugin: 'com.android.application'
    

    between dependencies section and android section

提交回复
热议问题