As you know, it’s possible download the Android SDK for 32 and 64 bits architecture.  If you choose 64bit architecture you notice that some binaries are compiled to 32bit architecture

1
2
3
vega:$/android/sdk/platform-tools$ file aapt
aapt: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically 
linked (uses shared libs), for GNU/Linux 2.6.8, not stripped

Installing ia32-libs package was enough to solve this problem, but this package doesn’t install correctly in debian sid. It has been replace by Debian-Multiarch

 

1
2
3
4
5
6
7
8
9
10
11
12
13
vega:/home/rocapal/android/sdk/platform-tools$ aptitude install ia32-libs
Se instalarán los siguiente paquetes NUEVOS:
ia32-libs{b}
0 paquetes actualizados, 1 nuevos instalados, 0 para eliminar y 7 sin actualizar.
Necesito descargar 114 kB de ficheros. Después de desempaquetar se usarán 114 kB.
No se satisfacen las dependencias de los siguientes paquetes:
ia32-libs : Depende: ia32-libs-i386 que es un paquete virtual.
Las acciones siguientes resolverán estas dependencias
 
Mantener los paquetes siguientes en la versión actual:
1) ia32-libs [Sin instalar]
 
¿Acepta esta solución? [Y/n/q/?]

So, the solution is to install the following packages (and its dependencies)

1
$ aptitude install lib32stdc++6 lib32z1

Also you can see Debian-Multiarch that replaces to ia32-libs package. Just you have to add i386 architecture in dpkg system to install i386 dependecies that you need.

1
2
3
$ dpkg --add-architecture i386
$ aptitude update
$ aptitude upgrade

Enjoy android coding!

facebooktwittergoogle_pluslinkedinmailby feather
Categories: android

Leave a Reply

Your email address will not be published. Required fields are marked *

Related Posts

android

Video Surveillance HD: Raspberrypi + PiCam + Android

The video-surveillance field is active many years ago, but there is only products that show image and little else. It’s need to add intelligence to surveillance tasks. We are committed to create technology to care for people and avoid dangerous situations. For this Read more…

android

Show your RTSP video in Android with VLC

If you have developed an Android app with video streaming, I’m sure you notice that Android use a pre-load of video buffer that fills in 10 seconds. This delay is hardcode in the source code. Read more…

android

Making screencast for Android classes

I need to record some screencast with audio for my online classes of Android. It’s a good way to explain all the topics about programming and android development. Slides, exercises, moodle and screencast is a Read more…