Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
348 views
in Technique[技术] by (71.8m points)

How to skip "This project is using version xxx of android gradle plugin, which is incompatible with this version of android studio" dialog?

When ever updating each and every incremental build of Android Studio Canary, the below dialog appears and asks to update gradle plugin. The asked version is just a patch from 7.0.0.-alpha02 to 7.0.0.-alpha03

enter image description here

How can I fix this, can anything be done to skip this kind of silly updates when updating android studio?


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)

Unfortunately, you can't skip this and sometimes it gets error and problems to your project.

It this happens to you, you can try upgrading the Gradle version in the dependencies of your buildscript:

classpath "com.android.tools.build:gradle:7.0.0-alpha04" or a newest version


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...