Domanda

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?

È stato utile?

Soluzione

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'

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top