Android问题集锦之一

来源:互联网 发布:软件研发资质 编辑:程序博客网 时间:2024/05/16 08:52

Android项目 eclipse下就报错,Problems中显示:Description   Resource    Path    Location   Type
Project 'HelloAndroid' is missing required source folder:'gen'    HelloAndroid       Build path    Build Path Problem

解决方法:(网上找到的)

1.      eclipse中删除gen文件夹Delete the R.java file under the gen folder

2.      刷新项目,此时一般情况选择了自动编译的会自动生成gen 现在出问题了没有自动生成Refresh the project

3.      选择project-buildproject 编译项目就可以了 最好将project –autobuilding 勾选上。Build Project, not Clean

4.      出现问题还可能采用的解决办法有

检查javacompiler中使用的jdk 可以更换下试试 先跟换为1.5,编译一遍然后更换回1.6试试

检查Android Sdk 模拟器版本 重新设置试试看。

原创粉丝点击