亚行停止一段时间后,检测我的手机 [英] Adb stops detecting my phone after a while

查看:103
本文介绍了亚行停止一段时间后,检测我的手机的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我开发一个Linux机器上Android和我已经创建了Android的一个的udev 规则和它的作品。过了一会儿,如果我拔出设备,并插回再次,亚行如果我跑不识别设备 lusb 的dmesg 来获取有关设备的信息。我试图重新加载的udev 规则,这是行不通的,我甚至想杀死亚行的过程,但它仍然没有无法正常工作。

I am developing for android on a linux machine and I have already created a udev rule for android and it works. After a while if I unplug the device and plug it back in again, adb doesn't recognize the device if I run lusb or dmesg to get information about the device. I tried reload the udev rules and it does not work, I even tried to kill the adb process but it still does not work.

有人能帮忙吗?
不管怎么说,谢谢你。

Can someone help? Anyway, thank you.

推荐答案

这似乎是在Linux上一个真正的问题,在某个时间点上的设备将不再由亚洲开发银行中可以看出。我真的应该说是几乎从来没有被亚行可以看出。在我来说,我有一个三星Galaxy Tab 10.1被提供给谷歌I ​​/ O 2011年我的Ubuntu 10.10开发系统是工作只是与该设备罚款与会者。有时靠近9月19日在亚行停止看到设备!事实上已经有breif每个时刻,当该设备是由亚行检测。需要作出明确,我相信法老所遇到的问题是什么是不是权限问题,即执行

This appears to be a real problem on linux, at some point in time a device will no longer be seen by the ADB. What I should really say is almost never be seen by the ADB. In my case I have a Samsung Galaxy Tab 10.1 that was given to attendees of Google I/O 2011. My Ubuntu 10.10 development system was working just fine with this device. Sometime near September 19th the ADB stopped seeing the device! In fact there have been breif moments in time when the device was detected by the ADB. What needs to be made clear about the problem that I and I believe pharaoh are having is not the permissions issue where executing

$ ADB设备

??????????回报为一个装置。该设备根本没有出现在列表中显示出来。一个更重要的事实是,在任何时间点有此设备并未在基于我的Windows开发机器检测到。

returns ?????????? for a device. The device simply does not show up in the list. One more important fact is that at no point in time has this device not been detected on my Windows based development machines.

在我看来这是亚行使用,以确定是否对USB设备其实是一个adb_device机制是脆弱的,无论是在我们的设备或我们的开发系统中的一些变化已经打破了这种检测。

It appears to me that the mechanism that the ADB uses to determine if a device on the USB is in fact a adb_device is fragile and some change in either our devices or our development systems has broken this detection.

这篇关于亚行停止一段时间后,检测我的手机的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆