Android Development Notes (ii) importing projects to eclipse and another project

Source: Internet
Author: User

Nnd,eclipse in the introduction of engineering problems, the whole day, to a problem, invalid project description, looking for a half-day look. projec file whether the project name corresponds, see androidmanifest.xml change the code version number, I wipe all useless.

Inadvertently found importing project will come out of a Android existing Android code into workspace, do not choose this, choose what to change the directory, etc., bored you.

The easiest solution is: Look up there, there is a general, this folder has a existing projects into workspace, choose this only line.

Sometimes when it comes to projects that involve some security on the Android system, such as changing the status of the phone

Some permissions are added, and Eclipse prompts for an error: Permission is only granted to system apps (permissions only granted to systems) only the clean project is needed at this time because the permissions involved are system security. If the phone is not rooted, This item will crash with an error. The root phone is running normally. Introduction of other projects
Set it as follows: 1. Suppose the Android project to refer to is called Libproject, the project that was introduced is called MAINPROJECT;2. Set Libproject, right--properties-android, select the IS library item, and then Apply;3. Set Mainproject, right---properties-android, in the library, click the Add button, the Libproject project to join, apply can. After the setup is complete, resources such as Libproject code can be seen in the Mainproject project.

Android Development Notes (ii) importing projects to eclipse and another project

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.