首页 > 代码库 > 安卓学习教训

安卓学习教训

1、The type android.support.v4.app.Fragment cannot be resolved. It is indirectly referenced from required .class files, Facebook [duplicate]

解决办法:

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

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

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

then click OK.

 

安卓学习教训