Accepted answer

in case of an android project, you have to remove android lib from the launch configuration for that specific class. use the "walkthrough" below as a guide.

  • project->properties->run/debug settings;
  • select your class and click "edit";
  • open the tab "classpath" and remove android lib from "bootstrap entries";
  • apply everything and run the class again.


you can get past this by using the run as -> android application. possibly check the run configuration for other issues.

hope this helps


Related Query

More Query from same tag