Androidstudio Run Program tip error running App:no target device found

Source: Internet
Author: User

The reason is that the ADB does not detect devices (including real and virtual machines).
Perform the ADB devices command in terminal to see if there are any devices connected to it.

1. If you do not have a device, verify that the virtual machine is turned on correctly, and that the connection turns on USB debugging and installs the driver. Perform both the ADB kill-server and adb start-server commands to restart ADB.
2. If you have a device, select Run->editconfiguration->general, View the deployment Target options, see if there is a problem with the settings taget, and if use same is selected Device for the future launches option.
The 3.Target three options represent the Open device selection box, USB device, virtual machine, respectively. If the second item is set, then opening the virtual machine will prompt no target device found.

Androidstudio Run Program tip error running App:no target device found

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.