R.java auto generated file

混江龙づ霸主 提交于 2019-12-02 05:30:26

Use clean and build in eclipse, R.java is "Generated" every time when you build your android project.

I agree with Prasham but sometime it does not works. See my comment below: -

After few hours frustration of cleaning and building the project again and again, finally I have decide to remove the red marks from the my file where it was not able to resolve the R.java as it was not actually available in my code. After removing the first red line from my activity file the project builds and generated the R.java automatically.

This is something really freaking thing for me as R.java goes without any reason and came back without any reason.

Hope this will help you

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!