我一直在学习 Tab 菜单教程,但遇到了多个错误。在这里做了一些研究后,我发现常见的解决方案是将 Import android.R 更改为 import com.example.myfirstapp.R。
这给了我这个文件无法解析的错误。谁能告诉我为什么我不能导入这个文件?我在这里研究时有一种预感,eclipse 没有构建文件,但我不知道如何构建它,因为我是编码新手,因为这只是一种预感,可能完全错误。
package com.example.myfirstapp;
[编辑}
i have removed the "com.example.myfirstapp.R" and have CMD-SIFT-O to restore the imports but i still have the following errors.