manually modiffying r.java

前端 未结 6 873
面向向阳花
面向向阳花 2021-01-26 00:18

I am working in android SDK(Eclipse) platform 2.2 and I have been running through some tutorials, and some of them say to just add files to existing folder, or add folders; with

6条回答
  •  挽巷
    挽巷 (楼主)
    2021-01-26 00:56

    I had this problem too.In my case I had add an image in drawable folder with a capital letter an it so I had o notification in the console like "res\drawable-hdpi\addBut.png: Invalid file name: must contain only [a-z0-9_.]" and the R.java file could not be refreshed.All solved after removing this file.

提交回复
热议问题