开发者

Deleting Files in Eclipse causes every image to be wrong

Just what the title says if I delete any file out of the drawable folder when I run the game every image is another image, so I've got menu screens as characters, and weapons as buttons - its like all the addresses get totally screwed up

I've tried Project -> Clean as well as deleting the gen folder (which is then regenerated) but it has had no effect at all

Can someone please help me, right now every single file I add to a project has to 开发者_运维百科remain there forever or the whole project is broken...


I've seen this happen sometimes but Project > Clean is all you need to do to fix it. Make sure that the correct project is selected in the clean dialog.


Try deleting R.java and Rebuild project. It would re-generate R.java which contains all id of resources


Try deleting the project from eclipse but not the source code. And then create a new android project by selecting the 'create from existing code' option. This worked for me once when the rest failed.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜