Is it possible to change settings in Eclipse so that, despite having known errors, build and run is forced? (I.e. “Your project contains error(s)…” does not stop you from packaging an .APK)
I do realize this is likely terrible practice, but I am using this only to test out some idea on my own Android phone. For those who are interested, the long story leading up to this question is this:
I want to run a custom version of the AOSP Settings app on my own phone. As I understand it, this can only be done by building the whole firmware because it makes use of components hidden to the sdk. I do not want to build the whole firmware, so my hair-brained idea was that if I forced it to run it would find those classes available once on the phone. (Full disclosure: I do not suspect this will actually work, but I want to prove my hypothesis wrong myself. Explanations of why not would be welcomed, but please do also consider the original question.)
Thank you!
You just need to right click on the file/folder–>Build Path–>Exclude. Here is SO discussion on this topic. Exclude folders from build