问题描述
我已经安装了Android的Eclipse中的Facebook的API,并导入项目到我的Android项目。我计划建立完全正常,但是当我尝试运行它,我得到
在构建窗口,当程序实际上是尝试它吹了一个导入任何Facebook的API类的java.lang.NoClassDefFoundError的:com.facebook.android.Facebook
-
看看这里引用库说明:
http://developer.android.com/guide/developing/projects/projects -eclipse.html -
请确保您有ADT的最新版本。
-
尝试清除在Eclipse项目。
希望这有助于
I've installed the Facebook API for Android in Eclipse, and imported the project into my Android project. My program builds perfectly fine, but when I try to run it I get
in the build window, and when the program actually tries to import any of the Facebook API classes it blows up with a java.lang.NoClassDefFoundError: com.facebook.android.Facebook
Check out referencing libraries instructions here:
http://developer.android.com/guide/developing/projects/projects-eclipse.htmlMake sure you have the latest versions of ADT.
Try to clean your project in eclipse.
Hope this helps
这篇关于"找不到com_facebook_android.apk错误"当运行Android项目的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!