Android Compilation Problem Solving

Source: Internet
Author: User

1, android4.2.2

 '/root/origin_android/mokesoures/out/target/common/obj/apps/applicationsprovider_intermediates/classes.dex '  as 'Classes.dex'.../root/origin_android/mokesoures/ out/target/common/obj/packaging/public_api.txt:22303: Error4: Added PublicMethod Android.text.format.DateUtils.getAMPMCNString/root/origin_android/mokesoures/ out/target/common/obj/packaging/public_api.txt:23367: Error3: AddedclassLunar to package Android.util/root/origin_android/mokesoures/ out/target/common/obj/packaging/public_api.txt:23374: Error3: Addedclasslunarfestival to package Android.util/root/origin_android/mokesoures/ out/target/common/obj/packaging/public_api.txt:23450: Error3: Addedclasssolarholiday to package Android.util/root/origin_android/mokesoures/ out/target/common/obj/packaging/public_api.txt:23455: Error3: Addedclasssolarterm to package Android.util******************************You are tried to change the API fromWhat have been previously approved. To make these errors go away, you have both choices:1) You can add"@hide"Javadoc comments to the methods, etc. listedinchThe errors above. 2) You can update current.txt by executing the following command:make update-API^^^^^^^^^^^^^^^^^^NO. NO. STOP BEING LAZY.      Seriously. do and doinchCM. This is A LIE.      IF you do this I'll HATE you. Use OPTION #1. -Koush to submit the revised current.txt to the main Android repository and you'll need approval.******************************

FIX: Execute make UPDATE-API, and then execute MAKE-JN after completion

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.