AA appears App:compiledebugjavawithjavac

Source: Internet
Author: User

When Androidanotation is configured, title errors occur when using annotations. One of the reasons for the wrong online there are quite a number of posts, listed some online answers to questions. 1, because the version is not the latest issue, update the latest SDK2, set the JDK for the local jdk3, and some say to set up compileoptions {sourcecompatibility javaversion.version _1_7targetcompatibility javaversion.version_1_6};4, it is possible that the name of the resource file does not conform to the Android rule cause 5, there may be repeated references to the same library file above those are possible to cause, But I did not appear until after using Androidannotation. So the analysis is the problem of this library, and later patiently read the official documents, found that need to add in Build.gradle (Moudel:app) apt {arguments {androidmanifestfile  Variant.outputs[].processresources.manifestfile}} is as follows apply plugin: apply plugin: def  aaversion = android {compilesdkversion buildtoolsversion defaultconfig { applicationid minsdkversion targetsdkversion versioncode versionname  testinstrumentationrunner }buildtypes {release {minifyenabled proguardfiles  Getdefaultproguardfile ()}}allprojects {repositories {maven { url }}}}apt { Arguments {androidmanifestfile variant.outputs[].processresources.mAnifestfile}} So &nbsp, my problem is solved. 


AA appears App:compiledebugjavawithjavac

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.