设为首页 加入收藏

TOP

Eclipse添加Android插件错误处理方法
2014-11-24 14:51:51 来源: 作者: 【 】 浏览:38
Tags: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!


】【打印繁体】【投稿】【收藏】 【推荐】【举报】【评论】 【关闭】 【返回顶部
分享到: 
上一篇Android手机监控软件设计实现【源.. 下一篇Java中将一个数据保留小数点后n位..

评论

帐  号: 密码: (新用户注册)
验 证 码:
表  情:
内  容: