How to run a project on your phone on eclipse

Source: Internet
Author: User

mobile phone to be able to connect with the computer, of course, to drive. The effect is that you plug in the phone and the computer shows that the driver is recognized. Official tutorial for driver installation:http://developer.android.com/sdk/win-usb.html

Set up Android phone for USB debug mode

Step: Develop with application, menu-> settings, select "USB Debug"


  1. First Open the integrated development environment

  2. Connect the phone, start the USB debug mode click OK

  3. Select phone mode

  4. And then you'll find your device.

  5. Double click to run your software on your phone

    When it doesn't work, the Android app developed with Eclipse is run, then run the simulator. After installing the USB drive of the mobile phone, or point run, the program will magically run on the real machine, the effect is the same as in the simulator, very simple, and faster than with the simulator block a lot.

    If there is no effect or is running on the emulator, in Eclipse:

    Right-click->run as->run configurations->target

    Check out that virtual machine option and run it, and if the previous driver is installed correctly, eclipse will let you choose to run it with that device (with the real machine and your virtual machine optional), then choose the real machine.

How to run a project on your phone on eclipse

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.