How can I get the Android SDK working with Eclipse in Ubuntu 9.10 64-bit?

4

I would like to tinker with the Android software development kit, and I have found out that it only support 32-bit versions of the Java Platform and Eclipse.

I installed the ia32 Sun Java runtime environment and the 32-bit version of Eclipse. I also used the update-alternatives program to make a java 32-bit preference. Both of these seem to run fine. I also installed the Eclipse android plugins, but my problem lies in the SDK downloaded from Google. When I go to Eclipse preferences and try to tell it about my Android SDK location, there are no SDK targets listed.

Has anyone else gotten this running on Ubuntu 9.10 64-bit? Thanks.

user30667

Posted 2010-03-09T21:40:19.523

Reputation:

Question was closed 2013-03-23T08:07:49.327

have you went into the Android SDK folder and run android.sh that will give you an option to download the targets? none come in the zip file with the SDK for the website – Seth Hikari – 2011-08-03T23:46:36.387

Answers

0

Android SDK requires 32 bit libraries, but that are not include in 64bit version of Ubuntu by default.

Use this for finding dependencies

getlibs

MicTech

Posted 2010-03-09T21:40:19.523

Reputation: 9 888

Doesn't seem to work for me :( I tried it on ddms and ddms.jar and in both cases it said "Cannot determine the dependencies required by this program, it may be a script" – Hamish Downer – 2010-03-15T14:28:19.743

Doesn't seem to work for me either. Every program I tried to run from the android SDK (that wasn't a script), it said all required libraries are already installed. – None – 2010-03-16T20:35:00.557

0

Other sources say you just have to have ia32-libs installed and you're away. The emulator worked for me without having to do anything else.

Hamish Downer

Posted 2010-03-09T21:40:19.523

Reputation: 3 064

I have ia32-libs installed, and still no joy. – None – 2010-03-16T20:45:53.623

ia32-libs does not include gtk, which Eclipse requires. I suspect it's not possible to run 32-bit Eclipse on a 64-bit system. – Edward Falk – 2010-12-11T17:40:03.987

0

Is there some reason you can't upgrade to Ubuntu 11.04, which is the latest stable release? In 11.04 the Android SDK just works..

Zds

Posted 2010-03-09T21:40:19.523

Reputation: 2 209

0

Install the 32-bit libraries for the Android emulator (assuming yum is installed):

yum install glibc.i686 glibc-devel.i686 libstdc++.i686 zlib-devel.i686 ncurses-devel.i686 libX11-devel.i686 libXrender.i686 libXrandr.i686

Bill

Posted 2010-03-09T21:40:19.523

Reputation: 1

2yum isn't a part of Ubuntu afaik – Simon Sheehan – 2012-01-29T22:12:18.553