Eclipse Debug Android App if you choose "Use same device for future launches", you will never be able to select another device.

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.

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.

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 if you choose "Use same device for future launches", you will never be able to select another device.

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.