How to generate R.java

后端 未结 11 1640
花落未央
花落未央 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:29

    I encountered this issue after adding a jpg file with a numeric file name into my drawable folder. I was getting a compilation error, " expected on line y" when trying to rebuild the project after cleaning it. You may want to check that you do not have a similar issue. Although I encountered this while using Android Studio, I am sure it would affect Eclipse as well.

提交回复
热议问题