将新项目导入eclipse时出错 [英] Error while importing new projects into eclipse
问题描述
当我将新项目导入到我的eclipse中时,我的eclipse在项目文件夹上显示错误。我找不到原因。请看附件的错误图像。
My eclipse is showing errors on the project folder when I am importing a new project into my eclipse. I am not able to find the reason. Please see the attached image of the error.
[2012-11-12 12:11:32 - ProfilePictureSample] Unable to resolve target 'android-8'
[2012-11-12 12:11:32 - BooleanOGSample] Unable to resolve target 'android-8'
[2012-11-12 12:11:32 - Hackbook] Unable to resolve target 'android-8'
[2012-11-12 12:11:32 - Scrumptious] Unable to resolve target 'android-8'
[2012-11-12 12:11:32 - PlacePickerSample] Unable to resolve target 'android-8'
[2012-11-12 12:11:32 - SessionLoginSample] Unable to resolve target 'android-8'
[2012-11-12 12:11:32 - FriendPickerSample] Unable to resolve target 'android-8'
[2012-11-12 12:11:32 - HelloFacebookSample] Unable to resolve target 'android-8'
这些是控制台中显示的错误消息。我的eclipse中有sdk版本的4.1(API级别16)和4.0.3(API级别15)。
These are the error messages are shown in the console. I have sdk version's 4.1 (API level 16) and 4.0.3 (API level 15) in my eclipse.
推荐答案
单击项目并转到属性 - > Android - >,然后单击项目构建目标作为任何版本(Android 2.2或api级别8)
Just right click the project and go to properties -> Android -> and click Project Build Target as Any one of version (Android 2.2 or api level 8)
希望这将有助于您。
如果您没有安装必需的版本,请使用SDK管理器安装。
If you don't have required version installed, Please install it using SDK manager.
这篇关于将新项目导入eclipse时出错的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!