Deleting ".android" is temporarily fixing the problem with me as after sometime it begins to come again ..

Here is another cause and fix that might help .. This is happening because of existence of 2 versions of SDK in the same machine but in case you have only one version (probably it is 21) just download the SDK platform for API 20 (4.4W) as there is a problem in 21's "layoutlib.jar"). start applying the following:

  • Close Eclipse

  • Navigate to your sdk folder (something like C:\adt-bundle-windows-x86_64-20140321\sdk)

  • Go to platforms folder -> android-21 folder -> data folder and rename layoutlib.jar (for backup only)

  • Copy the same file (layoutlib.jar) from your android-20 folder to this folder "android-21"

  • Start Eclipse

转自Stack Overflow

这个问题烦扰了我好几天,用这种方法终于解决了。

最新文章

  1. myeclipse中如何修改项目的名称
  2. FPGA中的INOUT接口和高阻态
  3. SQL语句基础之 单表查找
  4. c语言编程之二叉排序树
  5. POJ 2195 D - Going Home 费用流
  6. 避免由于Windows Update自动安装安全补丁导致VM意外重启
  7. Linux下静态编译Qt程序
  8. [转] iOS应用架构谈 网络层设计方案
  9. Hibernate持久化对象状态
  10. CODE大全告诉你java是否开始没落了
  11. Use SourceLink enables a great source debugging experience
  12. 【ActiveMQ】之安全机制(一)管控台安全设置
  13. [CoreOS 转载]CoreOS实践指南(二):架设CoreOS集群
  14. 012 - jstat命令查看jvm的GC情况 | jvm
  15. 2018.10.15 bzoj4445: [Scoi2015]小凸想跑步(半平面交)
  16. Windows上只复制目录结构不复制文件
  17. Qt Creator下应用CMake项目调试mex文件
  18. bash切割文件
  19. Html Css  练习
  20. EL表达式的内置对象

热门文章

  1. 九度OJ 1085 求root(N, k) -- 二分求幂及快速幂取模
  2. 自己动手丰衣足食,h5手机端jquery弹窗插件(事件冒泡、单例模式、遮盖部分禁止默认滚动)
  3. 深入了解float
  4. shell脚本修复MySQL主从同步
  5. linux curl命令验证服务器断点续传支持
  6. linux的fork函数
  7. pyes-elasticsearch的python客户端使用笔记
  8. 【BZOJ 2333 】[SCOI2011]棘手的操作(离线+线段树)
  9. 【HDU 5456】 Matches Puzzle Game (数位DP)
  10. 【HDU 5184】 Brackets (卡特兰数)