Question

i am trying to import an existing android project into my workspace. I am facing issue with R.java file. it is not getting generated. I have gone through the solutions mentioned elsewhere on this site, but nothing seems to work. It is showing error sign on a folder drawable-xxxhdpi which has a .png file by the name ic_launcher.png in it.i cant understand what the error is. Any suggestions?

Était-ce utile?

La solution

Remove that png file (for now). Something might be corrupted in that file. Also, check your XML files, and ensure they are valid.

Basically sounds like something is corrupt in your resources.

Also, ensure you have tried 'Clean', then 'Build'

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top