简体   繁体   中英

ActionBarSherlock library not recognizing

I imported android project from idea to eclipse and I have a problem: ActionBarSherlock, MediaLibrary etc. are not recognized.In project properties I see a such thing 在此处输入图片说明

and in library tree the situation is:

在此处输入图片说明

root element is my main project. How to make this actionbarsherlock and the others recognizable?

If your configuration has worked before, try to remove all libraries from your project, do a clean build (I don't know if this is necessary, but just to be sure). Then open your project-properties again and add your libraries to the project. Now check after you clicked ok and the project has rebuild, if your libraries are now recognized.

are the projects located on different drives? i had the same issue and then noticed that if you look at the android project file, you'll notice that the location of those libraries is set as relative. in eclipse, there's a difference between the location of the actual code and the data in the workspace. you need to pay attention to that difference.

i moved the sources of the ABS (action bar sherlock) and the sources of my android project to the same disk - logical or physical, and re-selected the reference to the ABS project. this worked and solved the problem for me.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM