How do I install the build dependencies for Android?

Posted by newcomer on Ask Ubuntu See other posts from Ask Ubuntu or by newcomer
Published on 2011-02-10T22:02:33Z Indexed on 2011/02/11 7:33 UTC
Read the original article Hit count: 247

Filed under:
|
|
|
|

Hi, I'm trying build the Android source using these packages. ButI am getting this error:

$ sudo apt-get install git-core gnupg flex bison gperf build-essential zip curl zlib1g-dev gcc-multilib g++-multilib libc6-dev-i386 lib32ncurses5-dev ia32-libs x11proto-core-dev libx11-dev lib32readline5-dev lib32z-dev
[sudo] password for asdf: 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to locate package libc6-dev-i386
E: Unable to locate package lib32ncurses5-dev
E: Unable to locate package ia32-libs
E: Unable to locate package lib32readline5-dev
E: Unable to locate package lib32z-dev

I tried to download & install say libc6-dev-i386 debian package form here. But when I double click on the .deb file Ubuntu Software Manager says wrong architecture 'amd64'.

(My OS: 32-bit Ubuntu 10.10 (updated), Processor: AMD phenom II 64-bit.)

© Ask Ubuntu or respective owner

Related posts about 10.10

Related posts about apt-get