gradle Project Build Dependencies
This address: Http://blog.csdn.net/caroline_wendy
Android uses gradle when building, due to the dependencies between modules, and the compatibility of Gradle upgrades, can cause exceptions, common problems:
(1) Error: No such property:target for class:com.android.build.gradle.LibraryExtension_Decorated. Delete target = ' android-20 ', the latest version of Gradle has not been supported.
(2) Modify compile->javacompile: The new version of the Gradle,task parameter is converted from compile to Javacompile.
(3) Configuration with the name ' default not found '. some modules in the project are missing the Gradle file and need to add the Gradle file.Copy the Gradle files from the gradle_cfg into the project;
(4) Rename not found For/users/wangchenlong/springrain/chunyutv-lenovo/g7widgets/androidmanifest.xml Some modules are missing androidmanifest.xml, creating Androidmanifestin the project;
(5) TvwidgeT missing r resource file:Make Module ' tvwidget ' to add the appropriate resources based on the missing information.
(6) Minimum SDK, must be compatible, need to be modified uniformly: minsdkversion modified to be;
Android-gradle Project Build Dependencies