I am trying to build an open source android project, but just after build starts, I get this error:
The project was not built since the source file /android/build/tools/droiddoc/test/generics/src/com/android/generics/TestComparable.java
could not be read
I tried everything I found, Refresh > Clean > build / Restart > refresh > Clean > build.
I understand it could be an encoding problem since that file may come from a repository, and was stored on windows or something.
If you know a solution or a possible solution, please help, I am out of ideas.
“The most common cause is an incompatible encoding in the file. I get
these some times on linux when I get a file with cp1252 (or whatever the
window encoding is)”.
Try setting your eclipse’s encoding to utf8.