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 message:
Project is using an old version of the Android Gradle plug-in. The minimum supported version is 0.5.0. Please update the version of the dependency 'com.android.tools.build:gradle'
How do I do that? I can't find any update tools for the gradle plugin in android studio.
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):
Update gradle easily (Updated March 2018):
Step 1 (Use default gradle wrapper)
File→Settings→Build, Execution, Deployment→Build Tools→Gradle→Use default Gradle wrapper (recommended)
Step 2 (Select desired gradle version)
File→Project Structure→Project
The following table shows which version of Gradle is compatible with specific version of Android plugin for Gradle:
Latest versions you can use with Android Studio 3.2 (October 2018):
Official links
Open your root
build.gradle
file and change Gradle version like thisOld version:
New version:
For Gradle version compatibility see this.
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...
For me I copied my fonts folder from the assets to the res folder and caused the problem because Android Studio didn't accept capitalized names. I switched to project view mode and deleted it then added it as font resource file by right clicking res folder.
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):