I just got a brand new Ubuntu machine and I am trying to setup Android SDK. I am pretty new to Unix so pardon me if I did a silly mistake.
I followed the instructions given here, all the way up to adding the 'Rule' file. Now if I try adb devices
in the terminal, it gives me 'No command 'adb' found' error and asks if I made a spelling mistake.
@USER:~/android-sdk-linux/platform-tools$ ls
NOTICE.txt adb api fastboot source.properties systrace
@USER:~/android-sdk-linux/platform-tools$ adb devices
No command 'adb' found, did you mean:
Command 'cdb' from package 'tinycdb' (main)
Command 'gdb' from package 'gdb' (main)
Command 'dab' from package 'bsdgames' (universe)
Command 'zdb' from package 'zfs-fuse' (universe)
Command 'kdb' from package 'elektra-bin' (universe)
Command 'tdb' from package 'tads2-dev' (multiverse)
Command 'pdb' from package 'python' (main)
Command 'jdb' from package 'openjdk-6-jdk' (main)
Command 'jdb' from package 'openjdk-7-jdk' (universe)
Command 'ab' from package 'apache2-utils' (main)
Command 'ad' from package 'netatalk' (universe)
adb: command not found
I searched through a couple of questions on StackOverflow and some suggest I use apt-get install ia32-libs
command to get some 32-bit libraries. However, I am on a 64-bit machine so not sure whether I should go for that or not.
Another strange issue I noticed is, even if I navigate to the platform-tools
folder and execute adb devices
command, I get the same error. So, I might be missing something else here rather than incorrectly setting the PATH entry.
I tried both the ADB BUNDLE (.zip file) and SDK tools (.tgz file) from the download page and completed all the steps mentioned above but got same error.
I am on Ubuntu 12.04 LTS.