Android Studio Running Java program

Source: Internet
Author: User

In the daily Android development process, believe that sometimes need to write some Java test procedures, testing methods, algorithms, results are effective, reliable, Android Studio running Java program is not as convenient as eclipse, but Android Studio above can actually run Java applet, the following describes how to run a Java program

Step 1:file-–> new-–> New Module ... Then pop up a box in the more module to select the Java Library

Here we have a new successful Java project, so how to run the Java project? It's definitely not going to be a direct run.

Next

Then run directly, or right-click on the file run like Eclipse to

What do I do when the final test program is finished running? Module Right button does not have delete

Keep looking down.

Delete Settings.gradle This module's name after he will remind you to sync, you click Sync, the directory is not there, and then you go to delete delete build (corresponding module of the build file), and finally go to the folder where the project is deleted this Module,okay end.

Android Studio Running Java program

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.