Gradle error upgrading to Android Studio 3.0 Beta 1

后端 未结 7 780

Note: This seems to be an issue with the Android plugin. See comments for associated issues.

I get the following gradle error when building the project:



        
7条回答
  •  离开以前
    2020-12-01 11:02

    Credit to @Grsmto

    As per this blog post you need to open a terminal and launch the following commands sequentially:

    UPDATE

    Now the workaround it's easier, you just need to go to Build -> Clean Project and then sync.

    Windows

    gradlew clean

    gradlew assemble

    Linux/Mac

    ./gradlew clean

    ./gradlew assemble

    then sync the project.

提交回复
热议问题