android 手机连接wifi调试

studio点击file->settings->plugin
搜索adb wifi 安装
重启ide
(1)在系统环境变量Path中添加D:\Android\Sdk\platform-tools(adb所在的位置,一般在sdk中)
连接手机设备,第一次需要连接usb数据线,做如下设置
adb tcpip 5555 //打开5555端口
adb connect [ip:5555] //连接手机地址,在同一个局域网中
adb connect 129.168.2.33:5555
在同一个局域网
```![在这里插入图片描述](https://img-blog.csdnimg.cn/20190925135507572.png?x-oss-process=image/watermark,type_ZmFuZ3poZW5naGVpdGk,shadow_10,text_aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L3dlaXhpbl80MzQ5Mjc3Nw==,size_16,color_FFFFFF,t_70)
安装apk
adb install -s  
adb install [-lrtsdg] 

adb -s 192.168.3.65:5555 install app-debug.apk

你可能感兴趣的:(android)