Solve the Problem of cocould not find com. android. tools. build: gradle, couldnotfindntldr

Source: Internet
Author: User
Tags jcenter

Solve the Problem of cocould not find com. android. tools. build: gradle, couldnotfindntldr

Today, I pulled my colleague's latest code and always reported the following errors during compilation:

Error: cocould not find com. android. tools. build: gradle: 2.2.0.
Searched in the following locations:
File:/D:/software/android-studio/gradle/m2repository/com/android/tools/build/gradle/2.2.0/gradle-2.2.0.pom
File:/D:/software/android-studio/gradle/m2repository/com/android/tools/build/gradle/2.2.0/gradle-2.2.0.jar
Https://repo1.maven.org/maven2/com/android/tools/build/gradle/2.2.0/gradle-2.2.0.pom
Https://repo1.maven.org/maven2/com/android/tools/build/gradle/2.2.0/gradle-2.2.0.jar

 

Go to the maven.org website and check that no updates have been made since 2.1.3, shit!

 

Baidu has said that the version will be downgraded back to 2.1.3. Isn't that a joke? Are you going to use only 2.1.3 in the future? Finally, you can find the script and add the jcenter library to it to download it from the jcenter.

 

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.