Android device in avd not working

五迷三道 提交于 2019-12-12 01:42:36

问题


I just bought this cheap android tablet hoping that this will work with android avd for debugging applications.

However I get this ![1]: http://dl.dropbox.com/u/38208073/and.png

I am using android tablet [2]: http://www.mytabletpc.pk/buy-p607-apex_flyer_tablet_pc-in-lahore-price

Please help!


回答1:


Very clearly answered For Linux you need to setup UDEV to support the manufacture's identity, or you need to restart adb using sudo.

To do it correctly, do this:

lsusb and look for your tablet:

Bus 002 Device 008: ID 04e8:6860 Samsung Electronics Co., Ltd Note the ID.

Then go to /etc/udev/rules.d and create a new file called androiddevelopment.rules in that file put this:

SUBSYSTEM=="usb", ATTRS{idVendor}=="xxxx", OWNER="yyyy", GROUP="zzzz" Where xxxx is the first part of the ID (04e8 in my example), yyyy owner is your username and zzzz is your group.

Then restart udev:

sudo service udev restart That should allow Linux to automatically allow your user to connect to that device.

Reference: Eclipse wont recognize my android tablet when I try to test my app?



来源:https://stackoverflow.com/questions/10187189/android-device-in-avd-not-working

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!