Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Android SDK on a 64-bit linux machine

Is it possible to develop using the Android SDK on a 64-bit linux machine. The available SDK downloads seem to be just for 32-bit versions of Linux.

like image 919
D R Avatar asked Apr 26 '10 00:04

D R


People also ask

Can I run Android Studio on Linux?

If you're using a 64-bit version of Linux, make sure you first install the required libraries for 64-bit machines. To launch Android Studio, open a terminal, navigate to the android-studio/bin/ directory, and execute studio.sh . Select whether you want to import previous Android Studio settings or not, then click OK.


2 Answers

On (K)Ubuntu you need following 32-bit packages:

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 
like image 67
notz Avatar answered Nov 06 '22 14:11

notz


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 
like image 29
Matt Huggins Avatar answered Nov 06 '22 13:11

Matt Huggins