首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >将新项目导入eclipse时出错

将新项目导入eclipse时出错
EN

Stack Overflow用户
提问于 2012-11-12 14:51:47
回答 2查看 3K关注 0票数 0

当我将一个新项目导入到eclipse中时,eclipse在项目文件夹中显示错误。我找不到原因。请看附件中的错误图像。

代码语言:javascript
复制
[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)。

EN

回答 2

Stack Overflow用户

回答已采纳

发布于 2012-11-12 14:57:10

只需右键单击项目并转到属性-> Android ->,然后单击项目构建目标作为任一版本(Android2.2或API8)

希望这能对你有所帮助。

如果您没有安装所需的版本,请使用SDK管理器进行安装。

票数 4
EN

Stack Overflow用户

发布于 2012-11-12 14:56:09

您需要安装SDK 8 (Android 2.2)。

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/13339428

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档