Android Studio upgrade to latest v1.3 version after configuring GitHub hint Gradle version does not support issues

Source: Internet
Author: User

The IDE for Android based on ADT (Eclipse-based) has been officially abandoned by Google, and the homepage recommends Android Studio. So the people who use as are starting to get more. From 0.8 to now, as updated very frequently, after recently updated version 1.3, plan to connect some projects to GitHub to manage.  When the setting configures the address and logon information, the connection is tested successfully. The GIT project is then checked out to local and the project is using a unsupported version of Gradle. Supported Gradle version in the project ' s Gradle ...



The reason is that the gradle version is too new (my local Gradle version is 2.4). Personal advice not to choose a newer version of Gradle, you can let as to download the supported version of Gradle.


Alternatively, do not use as to configure GitHub, clone the project above git to local, and then write it in as import project. Submit code updates to git locally: push, delete, and so on. If you have already configured GitHub in AS and checkout the project, because the Gradle version is new, you can try to enter the Build.gradle file in project where the project is located, forcing the Gradle to the low version number.

For example, a newer version is

Classpath ' com.android.tools.build:gradle:1.2.3 '
Can be set to a lower version such as:

Classpath ' com.android.tools.build:gradle:1.2.0 '

When you're done, remember to run the project correctly.

As has been 1.3 versions, more stable than before. However, iterations are also updated frequently. I believe the future will be more and more useful.


Copyright NOTICE: This article for Bo Master original article, without Bo Master permission not reproduced.

Android Studio upgrade to latest v1.3 version after configuring GitHub hint Gradle version does not support issues

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.