加入收藏 | 设为首页 | 会员中心 | 我要投稿 开发网_开封站长网 (http://www.0378zz.com/)- 科技、AI行业应用、媒体智能、低代码、办公协同!
当前位置: 首页 > 教程 > 正文

Eclipse添加Android插件错误处理技巧

发布时间:2021-11-24 16:30:39 所属栏目:教程 来源:互联网
导读:然后打开eclipse生成Android内容发现提示错误 ERROR: Unable to open class file D:**R.Java: No such file or directory ouve just installed Eclipse , and attempted to create your first Android Application. When clicking create, you see an erro

然后打开eclipse生成Android内容发现提示错误
 
ERROR: Unable to open class file D:**R.Java: No such file or directory
 
ou’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!

(编辑:开发网_开封站长网)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    热点阅读