Sheikh Zubair
Sheikh Zubair

Reputation: 114

R.java file not being generated

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?

Upvotes: 1

Views: 103

Answers (1)

Booger
Booger

Reputation: 18725

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'

Upvotes: 1

Related Questions