📜  将您的手机连接为模拟器 - 无论代码示例

📅  最后修改于: 2022-03-11 14:55:53.293000             🧑  作者: Mango

代码示例1
// go to Developer Options and enable wireless debug
// make sure you connected same wifi which your pc connected to.
// open cmd

// go to this path
cd C:\Users\spide\AppData\Local\Android\Sdk\platform-tools\ //terminal path
// you can run this after pairing 
adb devices
// you can find ip and port in wireless debug screen 
// for example adb pair 192.168.1.5:3360
adb pair ---ip:port
adb connect ---ip:port