首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >Eclipse示例应用程序出错

Eclipse示例应用程序出错
EN

Stack Overflow用户
提问于 2013-09-18 22:57:06
回答 1查看 1.2K关注 0票数 1

我跟着https://developers.facebook.com/docs/android/getting-started/facebook-sdk-for-android/

逐字到第4步,现在我不能运行任何应用程序,他们都有错误。我点击了run in eclipse,我得到消息说我的程序包含错误,在运行之前我必须修复它们。

怎么啦?看上去facebook上的东西没有被eclipse所识别,但我逐字逐句地遵循了教程。我已经多次清理项目,尝试了一个新的工作区,并单独清理了该工作区和所有文件。我以很大的困难更新了所有的SDK,我现在不知所措。

这是eclipse说的

代码语言:javascript
复制
[2013-09-18 18:50:46 - ProfilePictureSample] Unable to resolve target 'android-8'

[2013-09-18 18:50:46 - GraphApiSample] Unable to resolve target 'android-8'

[2013-09-18 18:50:46 - Scrumptious] Unable to resolve target 'android-8'

[2013-09-18 18:50:46 - PlacePickerSample] Unable to resolve target 'android-8'

[2013-09-18 18:50:46 - SessionLoginSample] Unable to resolve target 'android-8'

[2013-09-18 18:50:46 - RPSSample] Unable to resolve target 'android-8'

[2013-09-18 18:50:46 - FriendPickerSample] Unable to resolve target 'android-8'

[2013-09-18 18:50:46 - HelloFacebookSample] Unable to resolve target 'android-8'

[2013-09-18 18:50:46 - FacebookSDK] Unable to resolve target 'android-8'

[2013-09-18 18:50:46 - SwitchUserSample] Unable to resolve target 'android-8'

[2013-09-18 18:50:46 - FriendPickerSample] Unable to resolve target 'android-8'

[2013-09-18 18:50:46 - GraphApiSample] Unable to resolve target 'android-8'

[2013-09-18 18:50:46 - HelloFacebookSample] Unable to resolve target 'android-8'

[2013-09-18 18:50:46 - PlacePickerSample] Unable to resolve target 'android-8'

[2013-09-18 18:50:46 - ProfilePictureSample] Unable to resolve target 'android-8'

[2013-09-18 18:50:46 - Scrumptious] Unable to resolve target 'android-8'

[2013-09-18 18:50:46 - SessionLoginSample] Unable to resolve target 'android-8'

[2013-09-18 18:50:46 - SwitchUserSample] Unable to resolve target 'android-8'

[2013-09-18 18:50:46 - FacebookSDK] Project compiler settings changed. Clean your project.

[2013-09-18 18:50:46 - FriendPickerSample] Project compiler settings changed. Clean your project.

[2013-09-18 18:50:46 - GraphApiSample] Project compiler settings changed. Clean your project.

[2013-09-18 18:50:47 - HelloFacebookSample] Project compiler settings changed. Clean your project.

[2013-09-18 18:50:47 - PlacePickerSample] Project compiler settings changed. Clean your project.
[2013-09-18 18:50:47 - ProfilePictureSample] Project compiler settings changed. Clean your project.

[2013-09-18 18:50:47 - FacebookSDK] Unable to resolve target 'android-8'

[2013-09-18 18:50:47 - ProfilePictureSample] Unable to resolve target 'android-8'

[2013-09-18 18:50:47 - GraphApiSample] Unable to resolve target 'android-8'

[2013-09-18 18:50:47 - Scrumptious] Unable to resolve target 'android-8'

[2013-09-18 18:50:47 - PlacePickerSample] Unable to resolve target 'android-8'

[2013-09-18 18:50:47 - SessionLoginSample] Unable to resolve target 'android-8'

[2013-09-18 18:50:47 - RPSSample] Unable to resolve target 'android-8'

[2013-09-18 18:50:47 - FriendPickerSample] Unable to resolve target 'android-8'

[2013-09-18 18:50:47 - HelloFacebookSample] Unable to resolve target 'android-8'

[2013-09-18 18:50:47 - SwitchUserSample] Unable to resolve target 'android-8'
EN

回答 1

Stack Overflow用户

回答已采纳

发布于 2013-09-18 23:08:13

看,是的,AndroidManifest.xml,正是这一行:

代码语言:javascript
复制
<uses-sdk android:minSdkVersion="10" android:targetSdkVersion="17" />

检查你的分钟和目标版本!

*这条线是我其中一个项目的例子;)

编辑:还检查了Eclipse中的"Android管理器“,并下载de 8

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

https://stackoverflow.com/questions/18883669

复制
相关文章

相似问题

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