While implementing the BluetoothChat application .apk inside G1 device, it always pops up a message:
$adb install -r /home/parveen/workspace/BluetoothChat/bin/BluetoothChat.apk -bash: adb: command not found
I am not getting clearly why this error is popping up every time. Please help me.
Thanks in advance. Praween
If the ADB command is not found, most likely you need to install the Android SDK Platform-Tools package to make it available in the command prompt. Also, the phone should be in USB debugging mode.
Updating the path as listed above in ~/.bashrc
makes other bash
commands stop working altogether.
the easiest way I found is to use what eaykin did but link it your /bin
.
sudo ln -s /android/platform-tools/adb /bin/adb
No restart is required just type following command :
adb devices
To make sure it's working.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With