1. 出现平台不匹配时:
右击项目->android tools->fix project properties
2. 缺少自动生成的R类:
可能是没有关联到android平台库,进入build path,进行关联。
3. 项目src无错误,前面出现红色x:
可能是包路径配置的问题,注意查看problems,进行具体分析
4. 项目src无所悟,前面出现红色感叹号:
基本是classpath设置的问题,进入build path 具体分析
原文:http://www.cnblogs.com/luckyxiaoxuan/p/3553356.html