Android exclude file from build in eclipse

android, build, eclipse

Solution

In Eclipse right click on a file (or package) in the Package Explorer. There should be a Build Path > Exclude option

Problem

I have an Android project, which I'm working on in Eclipse. There are no special requirements, however I do have a couple of files in the project which I do not want/need to include into the final build, yet I do want to keep them where they are. They are all java source files and are all in the same package. There are no files in that package, which I do need to include - so I can safely skip that whole package from build. So, to my question: is there a way in Eclipse to exclude a package (or an individual file for that matter) from the build when the android app is built? Thanks in advance.

Original source

Related problems