Android Studio (Error message)

Source: Internet
Author: User

Q:error:unable to find method ' Org.gradle.api.artifacts.Configuration.setExtendsFrom
A:

1. Open the file under your app-project \ your-app-name \ gradle \ wrapper \ Gradle-wrapper.properties

2. Replace the old URL path with the following: Distributionurl = Https://services.gradle.org/distributions/gradle-2.10-all.zip

3. Rename the folder name from "... \ 1.12" to your app-project \ your-app-name.gradle \ 2.10
4. Change the classpath of your app-project \ your-app-name \ build.gradle to Classpath ' com.android.tools.build:gradle:2.1.2 '
5. Replace your-app-project \ your-app-name \ app \ Build.gradle Runproguard by minifyenabled
Click Retry Error reminders or reopen Android studio and project.

--------------------------------------------------------------------------------------------------------------- ------------------------------------------------

Q:error: (1, 0) Minimum supported Gradle version is 3.3. Current version is 2.0
A:settings/build,execution,deployment-gradle/project-level Settings, modify the use local Gradle distribution path

Android Studio (Error message)

Related Article

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.