Android Sdk on a 64-Bit Linux MAChine

Android SDK on a 64-bit linux machine

Yes, it is. You need to install the ia32 libraries. Check out the Ubuntu Linux troubleshooting section.

apt-get install ia32-libs
apt-get install sun-java6-jdk

How to develop for Android on a 32 bit Linux

I finally came up with a rather easy way out: run Windows in a Virtual Machine!

While Google dropped support for 32 bit Linux, it still supports 32 bit Windows.

So all I did was to install 32 bit Windows on my 32 bit Linux Machine and then run Android Studio on top of that - installed all pre-requisites like Android SDK...etc. From this point onward, I simply shifted focus to looking for support/guides in Windows-Oriented guides. Easy, Cool, Simple!

How to install Android SDK on Ubuntu?

Option 1:

sudo apt update && sudo apt install android-sdk

The location of Android SDK on Linux can be any of the following:

  • /home/AccountName/Android/Sdk

  • /usr/lib/android-sdk

  • /Library/Android/sdk/

  • /Users/[USER]/Library/Android/sdk

Option 2:

  • Download the Android Studio.

  • Extract downloaded .zip file.

    The extracted folder name will read somewhat like android-studio

To keep navigation easy, move this folder to Home directory.

  • After moving, copy the moved folder by right clicking it. This action will place folder's location to clipboard.

  • Use Ctrl Alt T to open a terminal

  • Go to this folder's directory using cd /home/(USER NAME)/android-studio/bin/

  • Type this command to make studio.sh executable: chmod +x studio.sh

  • Type ./studio.sh

A pop up will be shown asking for installation settings. In my particular case, it is a fresh install so I'll go with selecting I do not have a previous version of Studio or I do not want to import my settings.

If you choose to import settings anyway, you may need to close any old project which is opened in order to get a working Android SDK.

./studio.sh popup

From now onwards, setup wizard will guide you.

Android studio setup wizard

Android Studio can work with both Open JDK and Oracle's JDK (recommended). Incase, Open JDK is installed the wizard will recommend installing Oracle Java JDK because some UI and performance issues are reported while using OpenJDK.

The downside with Oracle's JDK is that it won't update with the rest of your system like OpenJDK will.

The wizard may also prompt about the input problems with IDEA .

Select install type

Select Android studio install type

Verify installation settings

Verify Android studio installation settings

An emulator can also be configured as needed.

Android studio emulator configuration prompt

The wizard will start downloading the necessary SDK tools

The wizard may also show an error about Linux 32 Bit Libraries, which can be solved by using the below command:

sudo apt-get install libc6:i386 libncurses5:i386 libstdc++6:i386 lib32z1

After this, all the required components will be downloaded and installed automatically.

After everything is upto the mark, just click finish

Completed installation of Android studio

To make a Desktop icon, go to 'Configure' and then click 'Create Desktop Entry'

Creating Android studio desktop icon

Creating Android studio desktop icon for one or multiple users

source

How to install Android Studio on ubuntu 32 bit, error No server to serve request

Google dropped support for 32 bit Linux, although it still supports 32 bit Windows.

Also Note
Android SDK stopped supporting dev on 32 bit Linux OS since > 23 upwards

As a workaround,
You can install run 32 bit Windows on a Virtual Machine! and develop app on it.

Also checkout the Android Studio Archive to Download Android Studio

adb error on Android SDK. Using Linux Ubuntu 64 bit 12.10

I had the same problem, but it's fine now with these commands :

*sudo apt-get install libstdc++6:i386 libgcc1:i386 zlib1g:i386 libncurses5:i386

for running the emulator you need that additional package:

*sudo apt-get install libsdl1.2debian:i386

then install ia32-libs:

*apt-get install ia32-libs

Android Studio 64-bit ERROR: 32-bit Linux Android emulator binaries are DEPRECATED

Yesterday, I had the same problem after updating my Ubuntu. Today it is fixed in the new update. Just update your Ubuntu and run the emulator after the update. It should work.

Current kernel version after the update is: 3.13.0-61-generic

Android Studio - how to install Android platform tools on Ubuntu 14.04 64 bit?

Ok, answering my question. I still really don't know why Android Studio's installer does not complete the installation for me, but one workaround is to manually download all the components you need (or rather the components that Android Studio cannot install) by going to:

/home/<your-system-name>/Android/Sdk/tools

and then running the Android shell script file.

Use

sh Android

and download all the components you need from the SDK manager. Once you are done run the studio.sh script file from:

/home/<your-system-name>/Documents/android-studio/bin/

or from where you have Android Studio extracted.

Note that Android Studio may still tell you that certain other components cannot be installed and all you have to do is to repeat the process i.e manually download the components that Android Studio needs and then run studio.sh.

Also ensure that you have a 64 bit version of Oracle Java and the necessary 32 bit executables(as @Archer Riley's answer indicates) to complete installation.



Related Topics



Leave a reply



Submit