Error:Support for clients using a tooling API version older than 3.0 was removed in Gradle 5.0. You

1.Android的报错提示:Error:Support for clients using a tooling API version older than 3.0 was removed in Gradle 5.0. You are currently using tooling API version 2.14.1. You should upgrade your tooling API client to version 3.0 or later.
使用as打开demo的时候提示报错:
在这里插入图片描述
gradle-wrapper.properties和as的版本的问题
1.所以,还需要检查gradle-wrapper.properties文件,修改distributionUrl=https://services.gradle.org/distributions/gradle-4.4-all.zip中的gradle-4.4-all.zip的版本,与自己当前的gradle.zip的相匹配,然后就能解决问题了。本人的版本是gradle-2.14.1-bin.zip,修改完以后,问题解决。以上是解决过程,供给大家参考。如下所示。
Error:Support for clients using a tooling API version older than 3.0 was removed in Gradle 5.0. You_第1张图片
改为:

你可能感兴趣的:(Android的报错)