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
This may not be the exact answer for the OP, but is the answer to the Title of the question: How to Update Gradle in Android Studio (AS):
Open File > Project Structure > Project Tab
Android Studio has built in project structure menu to check and update gradle and plugin used in the current project.
Below Website gives a detailed explanation on how to update gradle and gradle plugin of Android Studio.
Update gradle plugin Android Studio
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.
File→Settings→Build, Execution, Deployment→Build Tools→Gradle→Use default Gradle wrapper (recommended)
File→Project Structure→Project
The following table shows compatibility between Android plugin for Gradle and Gradle:
Latest stable versions you can use with Android Studio 4.1.1 (November 2020):
Android Gradle Plugin version: 4.1.1
Gradle version: 6.5
I can't comment yet.
Same as Kevin but with different UI step:
This may not be the exact answer for the OP, but is the answer to the Title of the question: How to Update Gradle in Android Studio (AS):
It works for me:
just go to '/home/your-user/.gradle/wrapper/dists/'
delete everything inside of this
It will be replaced by android studio
on terminal run: ionic emulate android
Its all...