Importing Actionbarsherlock into eclipse

后端 未结 4 777
梦谈多话
梦谈多话 2020-12-30 16:38

Can someone tell me the steps on how to import the SherlockFragmentActivity.java and ActionBarSherlock folder correctly? I am not exactly sure how to do it and am getting ma

4条回答
  •  难免孤独
    2020-12-30 17:14

    • Extract ActionBarSherlock
    • Open Eclipse and select File > Import
    • From there, select the library folder within the extracted ActionBarSherlock folder
    • Check "Copy projects into workspace"
    • Right click on the new project that should be named "library" go to Android Tools > Add Support Library
    • Follow those steps and you should be all set!

    One thing you should pay attention to is the console. You might get permission issues if your Android SDK is installed in Program Files (x86). What you would need to do is then make sure you change the permissions so that apps can alter that folder. I know I had that problem and it took me forever to find because I didn't pay attention to the console.

提交回复
热议问题