2013年6月4日星期二

problem:The type android.support.v4.app.ListFragment cannot be resolved

导入一个项目后错误提示(不完整,引用了ActionbarSherlock):
android The project was not built since its build path is incomplete.
The type android.support.v4.app.ListFragment cannot be resolved.

IDE是eclipse,查了半天也没什么头绪。最后看项目的目录结构有点不对劲,library排在了src前面,不知道是不是这个有影响,修改了下Order and Export的顺序,果然好了:

没有评论:

发表评论