From: http://blog.csdn.net/feiniao8651/article/details/44652753
Today I got a compiled Android project with a low version of Gradle, and Gradle didn't do a good job of backwards compatibility, so there were a lot of problems with the high-version gradle computer.
1. Error:the project is using a unsupported version of the Android Gradle plug-in (0.12.2). The recommended version is 1.0.0.
<a href= "fixgradleelements" >fix plugin version and Re-import project</a>
Workaround: Click on the Fix plugin version and re-import project directly below.
2.Error: (0) Gradle DSL method not found: ' Runproguard () '
Workaround: Change Runproguard to minifyenabled in app Build.gradle
3. Error:no such property:projectdependencies for class: com.android.build.gradle.internal.api.ApplicationVariantImpl_Decorated
Workaround: Change the version number in Project Build.gradle to ' com.neenbedankt.gradle.plugins:android-apt:1.3+ ' 1.3+ to 1.4
4.Error: (0) Could not the Find property ' Processresources ' on Com.and[email protected]284d979f.
Reference: Https://bitbucket.org/hvisser/android-apt/issue/26/gradle-plugin-version-0143-remove
Androidmanifestfile Variant.processResources.manifestFile changed to Androidmanifestfile Variant.outputs[0]. Processresources.manifestfile
5. Aapt.exe has stopped working at compile time
Reference: http://stackoverflow.com/questions/21645961/android-studio-processdebugresources-failed
Workaround: The problem occurs when Compilesdfversion is 21 o'clock, as long as the buildtoolsversion is changed to 21.0.2 (or later).
Note:
I have encountered a problem 1-4 question. To the fourth Question Time, found the original text, solved well, think this article is helpful, turned over ...
Turn-Android Studio low version Gradle upgrade to high version when Frequently asked questions