Solution that cannot run java main program under android project


Right-click the class that has the main method

=== > Run as

=== > Run Configurations

=== > Double-click the java application

=== > Click on the class that has the main method

=== > Select the classpath TAB

=== > remove drops android under Bootstrap Entries.jar

=== > Then click advanced

=== > Add Library

=== > JRE System Library

=== > next

=== > The last finish

=== > Run