Android Studio project can't resolve ActionBarSherlock imports

前端 未结 1 1512
隐瞒了意图╮
隐瞒了意图╮ 2020-12-20 04:09

I have an Android Studio project which has a dependency on ActionBarSherlock set in build.gradle:

dependencies {
    compile \'com.actionbarsher         


        
相关标签:
1条回答
  • 2020-12-20 04:51

    First sync your project with gradle and check if it gives some error, if it worked fine go back and try importing something from actionbarsherlock library in any of your class.

    If above step doesn't help. Check once Your_Project/your_module/build/exploded-bundles/ComActionbarsherlock.../classes.jar exists or not.

    Then go for this :

    Clean your project from Build > Clean Project, sync your project with gradle than check this for reference.

    Import Google Play Services library in Android Studio

    Or Follow the steps :

    • Exit Android Studio
    • Delete all the .iml files and files inside .idea folder from your project
    • Relaunch Android Studio and wait till the project synced completely with gradle

    This is bug in Android Studio 0.4.2 and fixed for Android Studio 0.4.3 release.

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