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