Solution that cannot run java main program under android project

  • 2020-05-30 21:02:03
  • OfStack

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


Related articles: