I am trying to use the viewPager + Actionbarsherlock
at the same time in my project. But everytime I build I get 74 errors. All complaining about things like
import android.support.v4.app.Fragment;
import android.support.v4.app.FragmentManager;
import android.support.v4.app.FragmentPagerAdapter;
//Other class
import android.support.v4.view.ViewPager;
after some searching I found out that the problem is with the android-support library
.
I am using android studio
. Can anybody tell me how I should build up my project structure
in android studio ?
Thanks!
My bet is that ActionBarSherlock is using an older version (it's five months old) of the android-support-library. Replace the android-support-v4.jar i ActionBarSherlock/libs with the one you use in your main project.