Android Studio connect to real-machine debugging

Source: Internet
Author: User

Take Xiaomi 4 as an example, connect your phone to your computer via USB, and make sure the driver is installed correctly in the Device Manager.

Settings for the phone

1. Set the phone to developer mode (settings--about mobile phone--Continuous Click MIUI version-open successfully)

2. Find system security settings in more settings--allow applications with unknown sources to be installed

3. Select the developer option in more settings and check the USB debug and USB installation switches in the developer options

Settings for Android Studio:

1. Find the app in the toolbar and select "Edit Configurations" when you click Open.

2. Select the target as the USB Device

3. Running the program

Done

Android Studio connect to real-machine debugging

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.