Android app source code (2)

Source: Internet
Author: User

Copy others' methods and back up them. Below is the link.

Http://blog.csdn.net/stonecao/article/details/6457935

This is the second typical case, that is, the internal API support is required. Pay attention to the instructions in each word of the author. Otherwise, an important step may be missed and the Red Cross may be obtained.

-- 1. Find the source code of the Setting project: android2.2/packages/apps/settings/
-- 2. copy to your workspace
-- 3. Use setting as the source code to create a new Android Project
-- 4. at this time, there will be some errors to be solved in the project. first introduce the jar package classes generated by the Framework compilation. jar to ensure that our project can be compiled normally. This has been done for a long time and the path is not correct. Here we provide a reference path: android2.2/out/target/common/obj/java_libraries/framework_intermediates
-- 5. Modify the compilation sequence:
Modify the compilation sequence so that the project uses classes. jar first.

Android_inner here is the user_libraries that contains classes. jar.
-- 6. Re-compile the clean setting project, and everything will be OK.

Setting is not as simple as installing a common application.

Related Article

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.