There are only three reasons you will ever get this error:

  1. The class genuinely doesn't exist. If you are using code from an official example and getting this, make sure you have the latest build of the library
  2. You have not added the jar to your build path. To fix this, right click on the jar in Eclipse, and do Build Path ► Add to Build Path.
  3. Your jar is not in the /libs folder. This happens when you have added the jar to the build path, but newer versions of ADT need it to be in /libs. Put it there and re-add it to the build path.

Mostly, such errors occur because newer versions of the ADT require all external jars to be in the /libs folder. Your colleague was probably on a different version than you, and hence the error.



更多相关文章

  1. 代码中设置drawableleft
  2. android 3.0 隐藏 系统标题栏
  3. Android开发中activity切换动画的实现
  4. Android(安卓)学习 笔记_05. 文件下载
  5. Android中直播视频技术探究之—摄像头Camera视频源数据采集解析
  6. 技术博客汇总
  7. android 2.3 wifi (一)
  8. AndRoid Notification的清空和修改
  9. Android中的Chronometer

随机推荐

  1. [转] android 日期时间格式转换
  2. android build error
  3. Android(安卓)屏幕截图(底层实现方式)
  4. android源码阅读--线程间通信Handler消息
  5. android ListView的分段显示、分页显示(附
  6. Android(安卓)获取当前连接 Cid和lac
  7. Android(安卓)调用.NET webservice
  8. android http post 参数
  9. android volley 上传文件
  10. Make UDC & Android(安卓)ADB Gadget dri