Android SDK-aapt error: libstdc++. so. 6 no se puede abrir el archivo de objeto compartido
Estaba creando un nuevo proyecto de la nada, con fines de prueba, dejando todos los parámetros por defecto (no hice ningún cambio de código), en una nueva instalación de ADT (Ubuntu Gnome 14.04 LTS, CPU x86_64), pero tengo el siguiente error en la consola Eclipse:
[2014-06-11 09:03:10 - Kronos] /home/erwan/Applications/ADT/adt-bundle-linux-x86_64-20140321/sdk/build-tools/19.1.0/aapt: error while loading shared libraries: libstdc++.so.6: cannot open shared object file: No such file or directory
Esto es lo que ya he intentado:
- > He intentado (re)instalar ia32-libs, libstdc++ y libstdc++6 a través del repositorio de software de Ubuntu: Sin cambios
- > Checked for update (para Eclipse y el SDK): No cambio
- > Reinstalado todas las herramientas de compilación de Android: Sin cambios
- > Reinstalar ADB: Sin cambios
5 answers
sudo apt-get install lib32stdc++6 lib32z1
Warning: date(): Invalid date.timezone value 'Europe/Kyiv', we selected the timezone 'UTC' for now. in /var/www/agent_stack/data/www/ajaxhispano.com/template/agent.layouts/content.php on line 61
2016-10-20 14:01:19
En mi escritorio Ubuntu 14.04 de 64 bits, esto era todo lo que necesitaba:
sudo apt-get install lib32stdc++6
Warning: date(): Invalid date.timezone value 'Europe/Kyiv', we selected the timezone 'UTC' for now. in /var/www/agent_stack/data/www/ajaxhispano.com/template/agent.layouts/content.php on line 61
2014-12-11 05:09:57
Yo también tengo un escritorio Ubuntu 14.04 de 64 bits, y la respuesta correcta para esa configuración es de hecho:
sudo apt-get install lib32stdc++6
Warning: date(): Invalid date.timezone value 'Europe/Kyiv', we selected the timezone 'UTC' for now. in /var/www/agent_stack/data/www/ajaxhispano.com/template/agent.layouts/content.php on line 61
2014-12-18 15:15:53
En mi Ubuntu 16.04, no puedo instalar "Todas" las libs ( sudo apt-get install lib32stdc++6 ) con un mensaje que dice:
$ sudo apt-get install libgl1-mesa-dev:i386
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
libgl1-mesa-dev:i386 : Depends: libgl1-mesa-glx:i386 (= 11.2.0-1ubuntu2) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
Después de investigar un poco, descubrí que estaba usando el aapt con SDK 19. ( android-sdk-linux/build-tools/19.x.y/aapt )
Cambiar el appt de sdk 19 a sdk 24 funcionó para mí.
Editando el archivo gradle correspondiente, cambia el buildToolsVersion
de 19 a 24.0.1:
android {
buildToolsVersion "24.0.1"
}
Warning: date(): Invalid date.timezone value 'Europe/Kyiv', we selected the timezone 'UTC' for now. in /var/www/agent_stack/data/www/ajaxhispano.com/template/agent.layouts/content.php on line 61
2016-08-17 02:36:20
Estoy usando la versión ubuntu 15.04.Yo tenía el mismo problema. Ya había instalado el paquete ia32-libs (que ahora ha cambiado a lib32z1 lib32ncurses5 paquete ) cuando intenté usar command
Sudo apt-get install lib32stdc++6 lib32z1 lib32z1-dev
Tengo una lista de paquetes lib32stdc++6 que podrían resolver el problema, pero este comando no fue capaz de corregir el problema. así que acabo de instalar lib32stdc++6 paquete mediante el uso de comando
Sudo apt-get install lib32stdc++6
Esto funcionó perfectamente para mí
Warning: date(): Invalid date.timezone value 'Europe/Kyiv', we selected the timezone 'UTC' for now. in /var/www/agent_stack/data/www/ajaxhispano.com/template/agent.layouts/content.php on line 61
2015-08-18 15:43:13