nkk
Android Expert
Ok, so here is my terminal...this should show what is wrong better than I can explain it:
I have the following line in my ~/.bashrc
So...why is sudo adb not working when adb does? The proper directories are in my $PATH...right? I did that correctly, right?
Thanks,
Nkk
EDIT: I need adb to work as root because if it does not, this happens:
Code:
myName@myName-desktop:~$ adb kill-server
myName@myName-desktop:~$ adb start-server
* daemon not running. starting it now on port 5037 *
* daemon started successfully *
myName@myName-desktop:~$ sudo adb kill-server
sudo: adb: command not found
myName@myName-desktop:~$ sudo adb start-server
sudo: adb: command not found
I have the following line in my ~/.bashrc
Code:
export PATH=${PATH}:/home/myName/AndroidSDK/platform-tools:/home/myName/AndroidSDK/tools
So...why is sudo adb not working when adb does? The proper directories are in my $PATH...right? I did that correctly, right?
Thanks,
Nkk
EDIT: I need adb to work as root because if it does not, this happens:
Code:
myName@myName-desktop:~$ adb devices
List of devices attached
???????????? no permissions