调试在Eclipse与真正的Android手机上的Ubuntu 10.10
-
27-09-2019 - |
题
我不能让亚行承认在我的Ubuntu 10.10小牛狐獴的全新升级我的HTC Desire。
ADB设备显示
List of devices attached
???????????? no permissions
现在,也有很多教程下/etc/udev/rules.d/改变规则文件。 然而,我无法找到一个特定为10.10。
谁能告诉我该规则的文件名和内容是否相同的的链接文本,还是我们看这个新版本的一些新的设置吗?
非常感谢
解决方案 4
好吧,我猜的教程工作,我同时创建70 android.rules和51 android.rules,再重新输入他们(摆脱搞笑语录的,当你从网上复制)。
重新启动
而现在它被认可!
其他提示
在Linux的薄荷/ Ubuntu的11.04与三星Galaxy S2,我没有使用任何规则,但是当“复位ADB”或当“设备查看”它示出了:
????????????没有权限
我不得不:
sudo killall adb # if I don't, I get "error: insufficient permissions for device"
sudo ./adb usb
然后我能够采取截图以下这个教程: HTTP:/ /www.addictivetips.com/mobile/how-to-take-screenshots-of-android-device/
干杯
我的紧箍咒,对Ubuntu 11.04:
$killall adb
$sudo adb usb
* daemon not running. starting it now on port 5037 *
* daemon started successfully *
restarting in USB mode
然后去蚀并开始调试真实设备
好吧我有点迟到了,但这里是另一种方法...
使用以下内容创建名为/etc/udev/rules.d中51-android.rules文件
SUBSYSTEM == “USB”,ATTR {idVendor} == “的 04e8 强>”,MODE = “0666”,GROUP = “plugdev”
然后,运行下面的命令以重新加载udev规则...
udevadm control --reload-rules
现在插入您的Galaxy S2手机插入电脑的USB端口和运行adb devices
。
请注意:您将需要改变供应商ID(以粗体突出),以配合您的手机的供应商ID(OP中的情况下,它应该是为0BB4 HTC)
在窗口,我不得不从HTC,以获得正确的USB驱动器连接到我的埃沃下载一个特殊的应用程序。有问题的应用程序允许您与您的手机上同步Outlook联系人/日历(WEEE ...)。我宁愿怀疑有类似的东西可用的Ubuntu / Linux操作系统。
我强烈怀疑你面对类似的情况。标准的USB驱动器不工作,HTC手机,所以你需要别的东西。
如果这是一件停止了与升级工作,你会需要采取任何USB相关的变化密切关注。
好运。
大家好我很勾选各方受挫 但是有一天我得到这个问题的解决方案请遵循以下步骤
First open your device terminal
1)on the top left hand corner in Application ->Accessories->terminal
2) on terminal window type following commands
$ sudo su then press enter after that terminal want password which is set by you
in installation or giving at the time of logging.
$<Enter password> password is not shown but it is type internally you can just type
whole password
$ mkdir ~/.android
$vi ~/.android/adb_usb.ini
press ctri+z here
$ echo "0x0451" > ~/.android/adb_usb.ini
$cat /root/.android/adb_usb.ini
$sudo mount -t usbfs none /proc/bus/usb
$cd path of android sdk tools from home
like /home/tv-014/Desktop/newandroid/android-sdk-linux/platform-tools
in my system i have put android-sdk-linux at desktop and in it one platform-tools
folder contain the adb.exe file
so after cd command we have the path from home to platform-tools folder.
$ ./adb kill-server
$ ./adb start-server
$ ./adb devices
现在你有设备列表附加到您的系统。