When compiling this official project with Android Studio 0.82, it shows error note:
Error:The project is using an unsupported version of the Android Gradle plug-in (0.9.2)
After some searching, I decide to manually change content in the build.gradle file in line
classpath 'com.android.tools.build:gradle:0.9.+'
to the gradle version that is installed in Android Studio.
The question is, can how to check the gradle version in my Android Studio?
In Android Studio, go to File > Project Structure. Then select the "project" tab on the left. Your Gradle version will be displayed here.
gradle file, located in the root project directory, defines dependencies that apply to all modules in your project. By default, the top-level build file uses the plugins block to define the Gradle dependencies that are common to all modules in the project.
The current Gradle release is version 7.5. 1, released on 05 Aug 2022.
File->Project Structure->Project pane->"Android plugin version".
Make sure you don't confuse the Gradle version with the Android plugin version. The former is the build system itself, the latter is the plugin to the build system that knows how to build Android projects
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With