Android Import Project FAQ Solution

Source: Internet
Author: User

Android Import Project FAQ SolutionTags: androideclipseapipropertiescompilertools2011-12-25 21:52 11268 People readComments (7)CollectionReport

Copyright NOTICE: This article for Bo Master original article, without Bo Master permission not reproduced.

Beginner Android, recently found in the process of using off-the-shelf code, most of the eclipse projects that are directly imported cannot be used directly, summarizing the problems and solutions that arise:

1. Problem with Project.Properties or default. Properties

Some projects these two problems can not be opened directly under Eclipse, will prompt:

Solution:

Under Eclipse, select Open With->system Editor, or directly in the folder, choose Notepad, as follows:

After opening, you need to modify "target=android-10" with the version of Android you downloaded, here android-10 is not the real version of Android, you understand. Look here to know, after the API version is what you need to fill out:

After modifying the corresponding version, close the project and then open, you can see, the first project is normal, the second does not have a corresponding version of the Android API:

2.
Description Resource Path Location Type

Android requires compiler compliance level5.0 or 6.0. Found ' 1.7 ' instead.         Use Android Tools > Fix projectproperties. Allproviderstest Line 1 Android ADT problem

This problem is due to the Java API version of the problem, I use the latest version of the 1.7, and the existing code is 1.6 or 1.5 version.

Solution:

Select the project, right-click-properties,

Tick "Enable project specific Settings", then select the correct API version and select "Apply".

This will allow your project to be used.


Source: http://blog.csdn.net/hliq5399/article/details/7101735


Null

Android Import Project FAQ Solution

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.