且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

类型android.support.v4.app.Fragment不能得到解决。这是间接地从必需的.class文件中引用,Facebook的

更新时间:2022-04-01 22:31:05

我使用这个计算器回答解决了这个问题:

I resolved this issue using this *** answer:

如果您使用的是Eclipse和窗口,这里是你如何能摆脱这种错误的。

If you are using eclipse and windows, here is how you can get rid of this error.

右键点击您的项目文件夹 - >构建path->配置构建path->

Right click on your project folder->Build path-> Configure build path->

添加外部JAR - >选择Android的支持 - v4.jar的文件(这将设在安卓    Android的SDK-WINDOWS \演员\机器人\ SUPPORT)

Add External Jars -> select "android-support-v4.jar" file (It'll be located in Android "android-sdk-windows\extras\android\support")

然后单击确定。