Android(安卓)Error: Unable to open class file R.java
16lz
2022-01-08
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!
更多相关文章
- ok6410开发板android底层驱动模块编写,出现insmod:init_module ‘
- Android屏幕适配出现的原因
- eclipse:打开 eclipse 出现 “android sdk content loader 0%”
- Android第三方jar包ClassNotFind
- Android(安卓)Studio 出现 Gradle's dependency cache may be co
- Android(安卓)调用微信登陆、支付、分享,出现的白屏、黑屏、闪屏
- eclipse中开发Android出现问题解决记录和使用技巧
- React Native项目编译通不过, 出现 The "android" command is dep
- Android解决ImageView setRotation....等旋转时出现锯齿问题