selection does not contain a main type -- Not quiet sure what I'm doing

view full story

http://stackoverflow.com – So I was working on this bluetooth project on Android and when I tried to run it (on an android device, of course) it gave me this error message selection does not contain a main type A solution is to add the main class public static void main (String[] arg) I never had to do that before. Why am I getting that error now? And how do I successfully add public static void main (String[] arg), and where? I seriously looked through an old project's files to look for that line but couldn't find it, and the project runs perfectly. This bluetooth project however is literally driving me nu (HowTos)