Direct:
After importing the project in Android, the package error resolution
Select the item and right-click on properties:
1. Check that the project build target is checked in the Android Options page.
2. Check if the corresponding Android Orler is checked in Explort and libraries in the Java build path.
3. Open the menu bar in Windows, Preferences:java, compiler Then replace the JDK version, usually 1.6 to 1.5 is no wrong.
I solved it with this method (5.0 or 6.0. Found ' 1.7 ' instead. Please use Android Tools > Fix Project Properties) problem, other have not tried, encountered the problem is said.
4. Check your Android SDK path settings: windows, PREFERENCES:ANDROID
5. Set your Android SDK environment variable: Set the Android_sdk_home value in path to your Android SDK directory
6. If the problem occurs in Gen, first try to remove the package from Gen, Wait for eclipse to automatically compile