R.java doesn't exist...but it does! Problem started after installing ADT 10.0.0
Posted
by
TenFour04
on Stack Overflow
See other posts from Stack Overflow
or by TenFour04
Published on 2011-02-27T15:14:41Z
Indexed on
2011/02/27
15:24 UTC
Read the original article
Hit count: 174
I get this error when I try to clean a project: ERROR: Unable to open class file ....R.java: No such file or directory
So I can't build my projects any more. But R.java is there in the gen folder and looks fine when I open it.
This happens to every one of my projects. I tried completely deleting the Eclipse folder and reinstalling it (Helios on Windows) and Android ADT. No luck.
I have also tried moving my workspace to a different drive. No luck.
I made sure all folders in my workspace are not read only. This worked the first time, but immediately the error came back when I cleaned my project.
This all started right after installing ADT 10.0. I am wondering if it somehow is building R.java as a read-only file.
EDIT: Is deleting the eclipse directory sufficient to reset all of its configuration?
© Stack Overflow or respective owner