Could not find COM.ANDROID.TOOLS.BUILD:GRADLE:3.0.0-ALPHA3

Source: Internet
Author: User

Recently using Android Studio 3.0 Canary 3 o'clock new project encountered the error shown in the title, and found a workaround on the web. The records are as follows:
Add the following in the project's Build.gradle file to resolve.

{        jcenter()        maven {            url ‘https://maven.google.com‘        }    }

Original article link

Https://stackoverflow.com/questions/44071080/could-not-find-com-android-tools-buildgradle3-0-0-alpha1-in-circle-ci

After studio upgrade Canary 4, when you create a new project, the project's Build.gradle file has changed to the following, and no longer has the problem.

buildscript {    repositories {        google()        jcenter()    }    dependencies {        classpath ‘com.android.tools.build:gradle:3.0.0-alpha4‘             // NOTE: Do not place your application dependencies here; they belong // in the individual module build.gradle files }}allprojects { repositories { google() jcenter() }}task clean(type: Delete) { delete rootProject.buildDir}

Could not find COM.ANDROID.TOOLS.BUILD:GRADLE:3.0.0-ALPHA3

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.