You can also choose to run applications on a real machine in eclipse without using root.

Source: Internet
Author: User

Run the Android app on a real machine. You don't need to use root. You only need to enable USB debugging.

In addition, it should be noted that the 360 mobile assistant and other automatic installation assistants are removed, otherwise the mobile phone will directly open the mobile assistant on the computer, and eclipse will not find the real machine.

Run on EclipseProgramYou can right-click the project and select "Run as", select "Run deployments", and run the program on the real machine in two ways:

1. Select the first item "Always prompt to pick device" on the target tab, as shown in:

In this way, when you click Run, an Android device chooser interface is displayed, and the corresponding real machine or simulator is selected. :

2. of course, you can also select the second item "launch on all compatible devices/AVD's" on the target tab. If only the mobile phone is connected to the computer and the AVD simulator is not enabled, it will run on the mobile phone.

In addition, each run operation runs directly on the mobile phone. You do not need to choose whether to run on a real machine or a simulator every time.

"Launch on all compatible devices/AVD's" option:

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.