I know there are a lot of threads about this but I couldn't find one that solved my problem or is a duplicate.
So I was working on an app, accidently made the mistake of cleaning my project. This caused my R.java
file to disappear. I tried cleaning my project again, building it again, closing eclipse, deleting the gen
folder, checking all of my xml files for errors, all of that.
Problem now is whenever I create a new completely blank application project that doesn't even generate an R
file automatically. I'm hoping there is still a way to restore it for my original project but as I stated nothing seems to work.
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…