简体   繁体   中英

Android Studio Doesn't Recognize Gradle Version

I've been working on a project in AS for a while, but now it suddenly says "Minimum supported Gradle version is 4.6. Current version is 4.4." and that I should edit gradle-wrapper.properties. I have seen a lot of posts on here with this problem. However, I have already been using Gradle 4.6 and plugin 3.2.0-alpha13 for a month. Has anyone heard of this before? If you are curious, a similar, but not same, error is here: https://www.reddit.com/r/androiddev/comments/9dtlb8/android_studio_prints_an_error_requiring_to/ Thanks for reading!

You can try update Android Studio to 3.2.1 and update android plugin to 3.2.1 and then update gradle-wrapper to 4.6 . If you use Kotlin try to set kotlin version 1.2.71. This should help.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM