包android.support.v4.util不存在 [英] package android.support.v4.util does not exist

查看:1838
本文介绍了包android.support.v4.util不存在的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

由于Android的支持库的最后一次更新,我有进口LruCache问题。 Eclipse的,现在连机器人工作室,一直在说那个包android.support.v4.util不存在。

我使用actionbarsherlock,它包括了支持Android v4和显示没有错误。我的申请被罚款的工作最后SDK的更新。发生了什么变化?我该如何解决这个问题?

下面是显示错误:

 的java:/Users/amit/App/src/com/app/EMCache.java:5:包android.support.v4.util不存在
java的:/Users/amit/App/src/com/app/EMCache.java:9:找不到符号
符号:类LruCache
位置:类com.app.EMCache
java的:/Users/amit/App/src/com/app/EMCache.java:20:找不到符号
符号:类LruCache
位置:类com.app.EMCache
 

解决方案

这可能与<一个href="http://stackoverflow.com/questions/16610190/classnotfoundexception-after-adt-update/16610247#16610247">this或<一href="http://stackoverflow.com/questions/16608524/eclipse-giving-error-missing-r-java-file-after-recent-update/16608570#16608570">this,这是解决方案,在转速常见问题。 22更新。

Since the last update for android support libraries, I am having issues with importing LruCache. Eclipse, and now even android studio, keep saying that package android.support.v4.util does not exist.

I am using actionbarsherlock and it has included android support v4 and shows no errors. My application was working fine before this last SDK update. What has changed? How do I fix this?

Here is the error that shows:

java: /Users/amit/App/src/com/app/EMCache.java:5: package android.support.v4.util does not exist
java: /Users/amit/App/src/com/app/EMCache.java:9: cannot find symbol
symbol  : class LruCache
location: class com.app.EMCache
java: /Users/amit/App/src/com/app/EMCache.java:20: cannot find symbol
symbol  : class LruCache
location: class com.app.EMCache

解决方案

This might be related to this or this, which were solutions to common problems in the rev. 22 update.

这篇关于包android.support.v4.util不存在的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆