首页 > 数据库技术 > 详细

几条命令搞定adb

时间:2015-04-18 13:09:42      阅读:207      评论:0      收藏:0      [点我收藏+]
android开发板端:

启动adb     :     start      adbd

重设adbd端口:

#stop adbd
#setprop service.adb.tcp.port 5555
#start adbd
#ifconfig eth0

设置临时IP:
#busybox 
ifconfig eth0 192.168.0.59 netmask 255.255.255.0
设置临时网关:
#busybox 
route add default gw 192.168.0.1
设置临时MAC地址:
#busybox ifconfig eth0 hw ether 00:77:77:00:00:88




Windows端:

解决adb端口被占用问题:
打开命令提示符,输入:     

netstat -ano | findstr "5037"

显示:    TCP    127.0.0.1:5037         0.0.0.0:0              LISTENING       5776

输入:
taskkill /F /IM 5776

adb kill-server

adb disconnect 192.168.8.59

adb connect 192.168.8.59

adb devices




几条命令搞定adb

原文:http://blog.csdn.net/ytmfdw/article/details/45112017

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!