码迷,mamicode.com
首页 > 移动开发 > 详细

android adb常见问题的解决方法!

时间:2017-06-24 16:17:19      阅读:318      评论:0      收藏:0      [点我收藏+]

标签:http   rac   str   list   debug   任务管理器   data   问题   oid   

** adb的常见问题
    adb:android debug bridge,用于连接模拟器/手机与PC端软件(比如:eclipse或者xx手机助手)

    adb devices -> 检查连接到的模拟器/手机

    adb kill-server -> 停止adb
    adb start-server -> 启动adb

    假设运行adb start-server没有反应(一般是由于5037port被占用)。那么打开Windows的任务管理器,终止adb.exe进程,并又一次运行adb start-server

    假设是未知的进程占用了5037port,则使用下面第1条命令找到进程的PID,然后再终止该进程,最后又一次运行adb start-server
    netstat -ano -> 查询本机的port占用情况,找到5037portlistening的PID;
 tasklist /fi "pid eq ???" -> 依据PID终止某个进程                                  技术分享                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             ‘

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 ‘

android adb常见问题的解决方法!

标签:http   rac   str   list   debug   任务管理器   data   问题   oid   

原文地址:http://www.cnblogs.com/liguangsunls/p/7073448.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!