Android Studio Gradle issue upgrading to version 0.5.0 - Gradle Migrating From 0.8 to 0.9 - Also Android Studio upgrade to 0.8.1

后端 未结 8 2400
名媛妹妹
名媛妹妹 2020-11-27 14:41

After upgrade message states:

Failed to refresh Gradle project \'XXX\'
The project is using an unsupported version of the Android Gradle plug-in (0.8.3).
Ve         


        
8条回答
  •  轻奢々
    轻奢々 (楼主)
    2020-11-27 14:57

    hmm I'm getting this error when I try to add this dependency.

    Error:(22) A problem occurred evaluating project ':app'.

    Could not find method classpath() for arguments [com.android.tools.build:gradle:0.9.+] on project ':app'.

    Ok solved it. This line should be part of the build.gradle "in the project root" as stated above, but I did not recognize. Updating the Build tools to 19.03 actually inserted it in automatically.

提交回复
热议问题