Android Studio project can't resolve ActionBarSherlock imports

半世苍凉 提交于 2019-11-29 12:04:56
pyus13

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.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!