Android(安卓)Error: Unable to open class file R.java
16lz
2022-03-16
You’ve just installed Eclipse , and attempted to create your first Android Application. When clicking create, you see an error similar to this: "Error: Unable to open class file R.java "
如果出现 “Error: Unable to open class file R.java No such file or directory”。
Solution:解决方法:
The “Build Path” for your Java environment is not setup correctly in Eclipse. To fix this, follow these steps:
1) Open the Preferences Window by clicking “Window -> Preferences”
2) Find the “Java” section and expand it
3) Select “Build Path ”
4) Change the value of Source and output folder from Folders to “Project ”
5) Click Apply and then “OK ”
Your problem should be resolved!
更多相关文章
- 解决Cocos2d-x3.1编译生成Android程序出现Android(安卓)NDK:Abor
- android studio 打包release出现的错误
- Android(安卓)Studio打包时出现transformClassesWithDexForRelea
- Memory Analyzer(MAT)打开android eclipse Dump内存文件出现 Unkno
- AndroidStudio3.6导入项目出现unable to find valid certificati
- 使用eclipse创建android工程时得到警告
- Android
- Android(安卓)P WindowManager (一) 直观感受每个window的添加
- Qt for android 安装APP出现Failure [INSTALL_FAILED_USER_RESTR