Android Studio not working with HoloEverywhere and ActionBarSherlock

后端 未结 2 1576
萌比男神i
萌比男神i 2021-01-13 15:40

I was able to import both ActionBarSherlock and HoloEverywhere into Android Studio but I cannot get my app to compile.

screenshot: https://docs.google.com/file/d/0Bw

相关标签:
2条回答
  • 2021-01-13 16:23

    Holoeverywhere doesn't use ActionBarSherlock anymore, it now relies on the ActionBarCompat library.

    0 讨论(0)
  • 2021-01-13 16:35

    I just had this issue.

    What you need to do is go to File > Project Structure... and click on Modules. Make sure that ActionBarSherlock has the support library under its Dependencies tab. If not, click the plus at the bottom and add a Library (You may have to click New Library... to select the libs folder within the sub-project).

    After this is done, change the scope to Provided so that you don't get lib conflicts when compiling your app.

    0 讨论(0)
提交回复
热议问题