问题:如何让 Eclipse 识别我的 7" RCA 平板电脑:
这个问题困扰了我两天。我有一个通用的 RCA 7" 平板电脑,是我在沃尔玛的黑色星期五促销中购买的。我试图将它与 Android SDK 和 eclipse 一起使用,但我的计算机无法将平板电脑识别为存储设备。我发现几条线索让我朝着正确的方向前进,但似乎没有任何效果;终于在这里找到了我的答案:
http://pychildren.blogspot.se/2012/12/getting-android-adb-working-with-pipo.html
(在开始之前,如果您和我一样是新手,请先访问此站点以了解有关终端命令的信息 -
community.linuxmint.com/tutorial/view/100
我正在使用 Linux Mint 15。我还安装了 Eclipse 和 Android sdk 包。
无论我做什么,Eclipse 都无法识别我的平板电脑。最后我解决了这个问题。我真的只需要做三件事:
首先我必须转到我的主文件夹
Then to the .android folder
Then add the following line to the bottom of the "adb.usb.ini" file:
0x2207
并保存文件。我可以从 GUI 界面执行此操作。
其次,我必须打开一个终端并导航到文件系统文件夹
Then to the etc folder
Then to the udev folder
Then to the rules.d folder
我必须创建一个名为
的文件
"51-adroid.rules" that contained only two lines:
SUBSYSTEM=="usb", SYSFS{idVendor}=="2207", MODE=="0666"
SUBSYSTEM=="usb", SYSFS{idVendor}=="0x2207", MODE=="0666"
(我可能只需要最后一行,但有几个来源没有包含“0x”,所以我同时包含了它。
然后,仍然在终端中,我从我的主文件夹中运行以下命令? (只需输入 cd 即可返回主文件夹)
sudo Development(the name of the folder in which I installed Eclipse and the sdk, yours will be different)/sdk/platform-tools/adb kill-server
然后我必须从主文件夹运行以下命令
sudo Development(the name of the folder in which I installed Eclipse and the sdk)/sdk/platform-tools/adb start-server
我还必须确保在我的平板电脑上启用了调试功能。
我还关闭了平板电脑上的 wifi - 除了我的最后一个消息来源之外没有人提到过这一点,但我认为它可能有所帮助。
然后,当我输入“adb devices”时,我的平板电脑被识别了。当我启动 Eclipse 并启动 Hello 程序时,它在我的平板电脑上显示得很漂亮。我只是不明白为什么我的妻子没有留下深刻的印象。