简体   繁体   中英

I can't connect my phone with android studio using wifi to test my app

Recently I was working on an app and I used my phone to test it, I was connecting it via Wi-Fi and then test The App.

But now when I want to connect my phone it keeps giving me this message "Connecting to device. this takes up to 2 minutes" and in the end an error occurred connecting device. Here is some screenshots:

PS: I tried also connecting my phone using the pairing code but still the same issue 在此处输入图像描述 在此处输入图像描述

You do not have you use wifi connection. From your phone's settings open developer options. Then click the developer options menu and active " usb-debugging "

Finally, connect your phone via USB to the computer. Then at the bottom menu select your phone as a running device.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM