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