我有一些奇怪的行为与Android SDK和我的平板电脑。我试图得到认可我的平板电脑:
I am having some strange behavior with the android sdk and my tablet. I am attempting to get my tablet recognized with:
adb devices -l
命令。
每次我插上了平板电脑,我的电脑上弹出一个窗口的一瞬间问我认识到平板电脑作为一个摄像头,并问我,我想打开它什么应用程序。然后,它消失之前,我点击任何东西。在平板电脑,它会说允许从某某电脑USB调试?。有些时候,即会消失之前,我可以点击它。其他时候,我点击它,但ADB设备-l仍然不承认它。然后我再检查dmesg:
Each time I plug the tablet in, a window on my computer pops up for a brief moment asking me recognizing the tablet as a camera and asking me what application do I want to open it with. Then it disappears before I click anything. On the tablet, it will say "allow usb debugging from such and such computer?". Some times that will disappear before I can click it. Other times I click it, but adb devices -l still does not recognize it. Then I check dmesg:
[ 3398.180553] usb 1-1: new high-speed USB device number 45 using ehci_hcd [ 3398.321392] usb 1-1: New USB device found, idVendor=18d1, idProduct=4e44 [ 3398.321404] usb 1-1: New USB device strings: Mfr=2, Product=3, SerialNumber=4 [ 3398.321411] usb 1-1: Product: Nexus 7 [ 3398.321416] usb 1-1: Manufacturer: asus [ 3404.230444] usb 1-1: USB disconnect, device number 45
我使用的Linux Mint的14,我已经没有任何问题,直到最近。
I am using Linux Mint 14. I've not had a problem until recently.
下面是我所采取的解决问题的步骤的列表:
Here is a list of steps I've taken to troubleshoot the problem:
我不确定自己还能做些什么。但这种损失的生产力的时间花费我。我几乎完成了我的一个公司第一个应用程序,并需要完成,所以我可以卖给他们的产品。
I am unsure what else to do. But this loss in time of productivity is costing me. I am almost finished with my first app for a company and need to complete it, so I can sell them the product.
推荐答案您可以通过以下步骤尝试:
You can try with these steps:
再试一次。对我来说,它的工作(我使用百欧元平板电脑...) 最后,如果你仍然有问题,你可以创建/etc/udev/rules.d/51-android.rules的udev规则,如下所示:
Try again. For me it worked (i'm using a 100 euros tablet...) Finally if you still have problems you can create an udev rule in /etc/udev/rules.d/51-android.rules, like the following:
SUBSYSTEM =="usb", ATTR{idVendor}=="18d1", MODE ="0666", GROUP ="plugdev"和确保你的用户是在plugdev组。 希望这有助于。
And make sure that your user is in plugdev group. Hope this help.
更多推荐
的Nexus 7平板电脑不被亚行认可
发布评论