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

前端 未结 9 1453
走了就别回头了
走了就别回头了 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 18:54

    I had the same problem as you since I had updated the SDK. I have solved my problem by doing this (on eclipse) :

    • Right click on the action bar sherlock library => Properties => Java Build Path => Order and Export tab => check android support v4 or Android Private Libraries and select Ok
    • Right click on your personal project and go to properties => java build path => check Android Private Libraries
    • Clean both projects, it should work.

提交回复
热议问题