Android sdk on Ubuntu 32bit
Finally get it here. https://stackoverflow.com/a/19102096/5070449
1) Install 'adb' and 'fastboot' provided by the following third-party PPA.
sudo add-apt-repository ppa:nilarimogard/webupd8
sudo apt-get update
sudo apt-get install android-tools-adb android-tools-fastboot
2) Replace the copy of 'adb' and 'fastboot' provided by the official Android SDK with those installed from the above step:
cp /usr/bin/adb <path-to-your-adt-sdk-package>/sdk/platform-tools/adb
cp /usr/bin/fastboot <path-to-your-adt-sdk-package>/sdk/platformtools/fastboot
3) That it. Now run
<path-to-your-adt-sdk-package>/sdk/platform-tools/adb
* daemon not running. starting it now on port 5037 *
* daemon started successfully *
The platform tools now only consist tools for 64 bit architecture. To fix this issue, you need to download platform-tools r23.0.1 which are for 32 bit architecture which can be found at Google's repository here.
Once you download it, simply go to your Sdk
folder and replace the content of platform-tools
folder there with the content of downloaded platform-tools
folder. It should work like a charm right away.
NOTE- You might want to backup previous platform-tools folder.
Source: https://code.google.com/p/android/issues/detail?id=196866
Normal Installation - Current (64bit only)
Try freshly downloading and freshly install the Android SDK package. This is probably what you originally did on your x64 system. On that install it configured it for your x64. Performing the same steps should configure it for your 32bit Ubuntu installation.
Archived SDK (I386)
I checked the installation of the current sdk as provided by Google (developer.android.com
). Because there weren't any specifics referring to i386 or x64 architecture, I assumed the install would recognize the installation type and configure binaries accordingly. I tested what I provided and it appears the official current download only works with x64. The latest 32bit I could find (provided by Google) is an archive. You can find it at Android SDK Package (i386) - Older Release.