android eclipse导入existing project出现大量红点怎么办?

android eclipse导入existing project出现大量红点怎么办?

1. 如果说"gen"目录找不到,则创建这个目录

2. 如果说“android.app"之类的找不到,则去sdk某个子目录下找到android.jar加入到build path

3. 如果说”android.support.v4"之类的找不到,则去sdk某个子目录下找到android support v4相关的一个jar包加入到build path

4. 如果说"R"类找不到,则检查一下res目录、AndroidManifest.xml是不是有错误; 如果还不行,看看project.properties里指定的target是否跟sdk版本一致。

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.