简体   繁体   English

无法使用ActionBarSherlock库

[英]Unable to use ActionBarSherlock library

I have Created a new android project from existing source(ActionBarSherlock library) with API 15. I added this library to my project( Project properties -> android -> library-> add ->com_actionbarsherlock ->apply ->ok ).But When I again see (Project properties -> android -> library->) com_actionbarsherlock is showing red color cross .So, I am unable to import the library classes.I am really struggling with this. 我已经使用API​​ 15从现有源(ActionBarSherlock库)创建了一个新的android项目。我将此库添加到了我的项目中( 项目属性-> android->库->添加-> com_actionbarsherlock-> apply-> ok )。但是当我再次看到(项目属性-> android- >库->) com_actionbarsherlock显示为红色十字 ,因此,我无法导入库类。 I have attached two screen shots Screen Shot When I add library and Screen Shot After library is added. 我附加了两个屏幕快照:添加库时的屏幕快照和添加库后的屏幕快照。 Any help would be appreciate. 任何帮助将不胜感激。 添加库时的屏幕截图添加库后的屏幕截图

如果您使用的是ActionBarSherlock v4.0或更高版本,则需要根据API 15构建项目。

我从这个链接得到答案和解释

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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