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