How Eclipse Development Android programs run on your phone

Source: Internet
Author: User

1. Set up Android phone for USB debug mode

Open the developer options in your phone ->usb Debug

2. Test through eclipse on the real machine

When you don't use the real machine, the Android app with Eclipse is run and then the emulator is selected. 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, and the speed is much more than the simulator block.

If you are still running on the emulator, right-click->run as->run configurations->target

650) this.width=650; "title=" capture. PNG "alt=" wkiol1vvppftepnqaapnrh7ptxg356.jpg "src=" http://s3.51cto.com/wyfs02/M02/6C/E5/ Wkiol1vvppftepnqaapnrh7ptxg356.jpg "/>

Option 1: Always prompt for device selection

Option 2: Log on to all devices

Option 3: Select the device automatically, select the virtual device first if the following virtual device is checked

Choose the right option as needed

3. Release

The Bin folder under the Android project folder will generate xxxxx.apk after successful compilation, which is an executable Android program

650) this.width=650; "title=" capture. PNG "alt=" wkiol1vvqixdnogpaag7yfq_n3u927.jpg "src=" http://s3.51cto.com/wyfs02/M02/6C/E5/wKioL1VVqIXDNOgpAAG7YFQ_ N3u927.jpg "/>


This article is from the "dream belongs to the brave-Skywalker" blog, please be sure to keep this source http://tianxingzhe.blog.51cto.com/3390077/1651654

How Eclipse Development Android programs run on your phone

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.