Android设备在AVD不工作 [英] Android device in avd not working
问题描述
我刚刚买了这个便宜的Android平板电脑,希望这将与Android AVD工作了调试应用程序。
I just bought this cheap android tablet hoping that this will work with android avd for debugging applications.
不过,我得到这个[1]: http://dl.dropbox.com /u/38208073/and.png
However I get this ![1]: http://dl.dropbox.com/u/38208073/and.png
我使用Android平板电脑[2]: HTTP:// WWW .mytabletpc.pk /购买-P607-apex_flyer_tablet_pc-在拉合尔价格
I am using android tablet [2]: http://www.mytabletpc.pk/buy-p607-apex_flyer_tablet_pc-in-lahore-price
请帮帮忙!
推荐答案
非常清楚,回答
对于Linux,你需要设置UDEV以支持制造商的身份,或者你需要使用sudo重新启动ADB。
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
并查找平板电脑:
lsusb and look for your tablet:
总线002设备008:ID 04e8:6860三星电子有限公司
注意ID。
Bus 002 Device 008: ID 04e8:6860 Samsung Electronics Co., Ltd Note the ID.
然后到/etc/udev/rules.d中,并在该文件中把这个创建一个新的文件名为androiddevelopment.rules:
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
其中xxxx是ID(在我的例子04e8)的第一部分,YYYY主人是你的用户名和ZZZZ是你的小组。
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.
然后重新启动udev的:
Then restart udev:
须藤服务的udev重启
这应该让Linux来自动允许用户连接到该设备。
sudo service udev restart That should allow Linux to automatically allow your user to connect to that device.
参考:
<一href=\"http://stackoverflow.com/questions/9312457/eclipse-wont-recognize-my-android-tablet-when-i-try-to-test-my-app\">Eclipse不会承认我的Android平板电脑,当我尝试测试我的应用程序?
这篇关于Android设备在AVD不工作的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!