I like lxde .It's very fast.I want to use adb to manage my mobile phone.
but I can't use adb under lxde.
like this :
[wolfishor@Arch ~]$ ls
Desktop Downloads tools yaourt
[wolfishor@Arch ~]$ cd tools
[wolfishor@Arch tools]$ ls
adb apkbuilder draw9patch hprof-conv NOTICE.txt
add-accounts.py ddms emulator lib sqlite3
android dmtracedump hierarchyviewer mksdcard traceview
[wolfishor@Arch tools]$ sudo adb devices
password:
sudo: adb: command not found
[wolfishor@Arch tools]$ lsusb
Bus 001 Device 007: ID 12d1:1501 Huawei Technologies Co., Ltd.
Bus 001 Device 004: ID 04f2:b175 Chicony Electronics Co., Ltd
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 003: ID 1c4f:0003 SiGma Micro
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
[wolfishor@Arch tools]$
Why?Anyone can help me ?
Under xfce4&gnome&kde,adb works well, but under lxde,it can't work.
Thx!
Can't use android debug bridge in Lxde?
Re: Can't use android debug bridge in Lxde?
mines working fine:
have you installed jre-6? and eclipse?
have you installed jre-6? and eclipse?
-
- Posts: 8
- Joined: Fri Jan 29, 2010 6:27 pm
Re: Can't use android debug bridge in Lxde?
The error in bold means adb is not on your 'PATH'. Use ./adb instead.wolfishor wrote:I like lxde .It's very fast.I want to use adb to manage my mobile phone.
but I can't use adb under lxde.
...
[wolfishor@Arch tools]$ ls
adb apkbuilder draw9patch hprof-conv NOTICE.txt
add-accounts.py ddms emulator lib sqlite3
android dmtracedump hierarchyviewer mksdcard traceview
[wolfishor@Arch tools]$ sudo adb devices
password:
<b>sudo: adb: command not found</b>
Also, I am assuming from the 'yaourt' that you use Archlinux. This is how I got adb working for me:
1. Install android-sdk in yaourt (This is optional since you have already downloaded it, but I prefer yaourt/pacman handling all my installed applications)
Code: Select all
yaourt -S android-sdk
Code: Select all
export PATH=${PATH}:/opt/android-sdk/tools
Code: Select all
SUBSYSTEM=="usb", SYSFS{idVendor}=="VENDOR_ID", MODE="0666"
4. Edit ~/.android/adb_usb.ini and add
Code: Select all
0xVENDOR_ID
5. Reboot, put your phone in adb mode and hope it works!
P.S the adb has absolutely nothing to do with lxde
