导入项目后,无法生成R.java的解决

[size=medium]其实,很简单.....多想想就能解决...我也是瞎撞的... :oops:

R.java的内容是资源增加后,自动生成的...对吧?
哪资源不增加,当然R.java无法生成了...所以,只要把导入项目的res下的东西...重新ctrl+c,ctrl+v一下就搞定了.....简单吧?呵呵.... :D

下下来,也让自己备忘了....

顺便说一下...javaeye的表情图标真的太恶心了...没有点好看的...[/size]


2.项目上带红色感叹号
只是不得其解的,打开项目时,总是提示:说要打开相关的项目。。。。
可是没有使用做为库项目啊。。。。。奇怪。。。。。
[url]http://java.syntaxerrors.info/index.php?title=Project_'foo'_is_missing_required_Java_project:_'a.b.c'[/url]

搜一下,看了看。。。。嗯build path内。。。多加了其他项目到projects标签页了。。。。
remove后就好了....


[quote]Project 'foo' is missing required Java project: 'a.b.c'
You can get the error
Project 'foo' is missing required Java project: 'a.b.c'
if you have specified that the Java project a.b.c is required, but it can't be found.
Anecdote: this happened to me on a day when Eclipse was crashing on me. What finally cleared it up was right clicking on a file in the Package Explorer, selecting Build Path-> Configure Build Path->Java Build Path->Order and Export, and ticking a checkbox for a different project. In other words, it seemed like it just needed to rebuild some database somewhere. I never did figure out where that database lives. :-([/quote]

[img]http://ip.godiy8.com/sign.php?t=gbk&s=3&txt=macleo.iteye.com[/img]
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值