Android-gradle Project Build Dependencies

Source: Internet
Author: User

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

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.