Eclipse Debug Android App select "Use same device for future launches"

Source: Internet
Author: User

After the crazy batch of a vendor's multimedia control app how rotten, bombast himself to do a minute thing. Of course, to do a very easy, more than their rotten software is still confident. The process encountered various pits, one of which was as follows

Just start with a tablet to debug, always pop up the window to select the device, so tick "Use same device for the future launches", so eclipse by default with the last selected device for debugging.

650) this.width=650; "Style=" background-image:none; border-right-0px; padding-left:0px; padding-right:0px; Display:block; Float:none; border-top-width:0px; border-bottom-width:0px; Margin-left:auto; border-left-width:0px; Margin-right:auto; padding-top:0px "title=" image "border=" 0 "alt=" image "src=" http://s3.51cto.com/wyfs02/M02/83/1C/ Wkiom1drtn3ba-hyaae_zxlndss180.png "width=" 615 "height=" 441 "/>

However, if you subsequently need to debug on another device (phone), Eclipse will never let me choose, even if you chose "always" in Debug Configurations > Android Application > Target Prompt to pick device "is useless.

650) this.width=650; "Style=" background-image:none; border-right-0px; padding-left:0px; padding-right:0px; border-top-width:0px; border-bottom-width:0px; border-left-width:0px; padding-top:0px "title=" image "border=" 0 "alt=" image "src=" http://s3.51cto.com/wyfs02/M00/83/1C/ Wkiol1drtochpfnfaaeh_mdygec944.png "width=" 956 "height=" 347 "/>

This should be a small bug, find a lap solution is as follows.

Unplug all the real devices and prepare a virtual device AVD (Android virtual Devices), then select Always prompt to pick device in debug configurations, then debug, This will bring up the dialog box for selecting Devices (Android device Chooser). However, if you do not select a device, OK button is gray, that is, even if uncheck "Use same devices for the future launches" no point OK is useless, then the virtual device comes in handy, choose this virtual device, OK. Next time carefully select the "Use same device for future launches" option.

Eclipse Debug Android App select "Use same device for future launches"

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.