I am getting "Failed to create BuildConfig class" error while cleaning android project in eclipse. I have recently installed Eclipse Juno for Mobile developers and while I was trying to import my existing android applications, Eclipse started giving me this kind of error.
Eclipse is working fine If I create new android projects. What could be the possible cause and probable solution for this issue?
I am using OS - Windows Server 2008
I had the error after updating (installing) Juno and letting it migrate my workspace and local git repo. Before that error I got another error:
JavaBuilder handling ImageBuilderInternalException while building: <projectname>
Finally I found out that the error was caused by file perms and the problem resolved after resetting them:
chown <me>:<me> <my-repo>
The reason behind the broken permissions: during the process of installing the MOTODEV plugins to Eclipse JUNO I had to start my Eclipse with 'sudo'. Obviously that run overwrote some of my files during the automatic build.