How to generate R.java

后端 未结 11 1635
花落未央
花落未央 2020-12-10 03:57

I downloaded few source codes from Google source codes.

I executed them on Eclipse but R.java file is not created and therefore I got many errors saying

11条回答
  •  谎友^
    谎友^ (楼主)
    2020-12-10 04:28

    Cleaning the project, delete the R.java and regenerate it. If you have an error anywhere in your /res file (the resources) , the R will not be generated usually. It could be an error in the name of a picture , or anything ... fix your errors before. good luck ;)

提交回复
热议问题