문제

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?

도움이 되었습니까?

해결책

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'

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top