开发者

error R.java No such file or directory found

开发者 https://www.devze.com 2023-04-01 23:24 出处:网络
My project shows error in r.java.It was working fine before,all of sudden it says R.java is not found.When I tried to delete gen,gen file is generated automatically in which R.java showed error,

My project shows error in r.java.It was working fine before,all of sudden it says R.java is not found.When I tried to delete gen,gen file is generated automatically in which R.java showed error,

I tried cleaning my project,build path,deleted debug.keys开发者_如何学Pythontore.But,of no use.

Could anyone help in resolving this issue.I am able to build new project,its all fine.The problem is only with one project


I have somehow managed to fix it, but I don't know exactly what did it. Here are things I did.

  • Deleted eclipse directory and reinstalled it and ADT.
  • Deleted my original project that was the first to have the problem.'
  • Created a new project with my original's project name.
  • Manually copied all my class and res files into the new project and refreshed it.
  • Pasted the text of the old manifest into the new manifest.

I did all this, because simply importing the original project again didn't solve anything.

After the above changes Your Project will be Fine.


I have faced same problem. simply i delete my r.java file and restart eclipse then this problem is solved.

0

精彩评论

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