ActionBarSherlock - The type android.support.v4.app.Fragment cannot be resolved. It is indirectly referenced from required .class files

前端 未结 9 1485
走了就别回头了
走了就别回头了 2020-12-02 18:41

I am using ActionBarSherlock as a library project in a project which is a library itself. It was all working fine until I moved the project to a new computer and updated the

9条回答
  •  南笙
    南笙 (楼主)
    2020-12-02 19:09

    What worked for me was a little different than the solutions by @Sebastien and @FleshWound above in the thread.

    • Copied the file "android-support-v4.jar" from /MyProject/libs/ and overwrote the one at /ActionBarSherlock/libs/android-support-v4.jar.
    • Went to "Project Properties" -> "Java Build Path" -> "Add" -> ActionBarSherlock project.
    • Clean project.

提交回复
热议问题