How to update gradle in android studio?

前端 未结 14 2135
Happy的楠姐
Happy的楠姐 2020-11-22 09:15

I installed Android Studio 0.1.9. Today I got and update to version 0.2 and of course I updated. After the installation I restarted Android Studio but now I get this messag

14条回答
  •  故里飘歌
    2020-11-22 09:41

    Most of the time you can have Android Studio automatically update the Gradle plugin.

    If your Gradle plugin version is behind, Instant Run will mostly likely not work. Therefore if you go to the Instant Run settings (Preferences > Build, Execution, Deployment > Instant Run), you'll see an Update project button at the top right (image below). Clicking this will update both the Gradle wrapper and build tools.

提交回复
热议问题