错误:"._ android-support-v4.jar"在FacebookSDK项目中 [英] ERROR: "._android-support-v4.jar" in project FacebookSDK

查看:59
本文介绍了错误:"._ android-support-v4.jar"在FacebookSDK项目中的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

需要帮助!!!!在这个问题上坚持了2周,需要帮助.

我最近将Android的facebook sdk及其项目导入了我的工作区.它显示了错误和问题:

所需库的存档:无法读取或无法读取项目"FacebookSDK"中的"/home/Documents/facebook-android-sdk-3.0.2.b/facebook/libs/._android-support-v4.jar"有效的ZIP文件

样本沿以下方向出现错误:

"Android Dependencies"容器引用了不存在的库"/home/Documents/facebook-android-sdk-3.0.2.b/facebook/bin/facebooksdk.jar"

在其他讨论之后,我所做的事情没有成功

清理过的项目

将Facebook SDK设置为库

查看构建路径"部分,并添加了由facebook/libs组成的外部jar

将fb sdk导入20次,并导入到不同的文件夹中.

确保我的Java编译器为1.6

非常感谢您的帮助!!!!

解决方案

采用最新版本的android-support-v4.jar(在您的sdk环境中为sdk/extras/android/support/v4/android-support-v4.jar),并在您的项目和库项目中进行替换不会造成冲突.

Help needed!!!! Stuck for 2 weeks on this and help needed.

I've recently imported the facebook sdk for android and its projects into my workspace. It shows up errors and the problems:

Archive for required library: '/home/Documents/facebook-android-sdk-3.0.2.b/facebook/libs/._android-support-v4.jar' in project 'FacebookSDK' cannot be read or is not a valid ZIP file

And the samples get errors along the line of:

The container 'Android Dependencies' references non existing library '/home/Documents/facebook-android-sdk-3.0.2.b/facebook/bin/facebooksdk.jar'

The things I have done following the other discussions without any success are

cleaned project

set the Facebook SDK as library

looked at the build path section and added external jar consisting of facebook/libs

imported fb sdk like 20 times and into different folders.

made sure my java compiler was 1.6

HELP would be very greatly appreciated!!!!

解决方案

Take the lastest version of android-support-v4.jar (in your sdk environement : sdk/extras/android/support/v4/android-support-v4.jar) and replace in your project and library project do not create conflict.

这篇关于错误:"._ android-support-v4.jar"在FacebookSDK项目中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆