Debian 8.3 Jessie 64 位上的 AAPT 错误

AAPT error on Debian 8.3 Jessie 64-bit

在 Debian 8.3 Jessie 64 位上,尝试构建 Android 应用程序时,出现以下错误:

AAPT err(Facade for 699210498): /opt/android-sdk-linux/build-tools/23.0.2/aapt: error while loading shared libraries: libz.so.1: cannot open shared object file: No such file or directory

Exception in thread "png-cruncher_5" java.lang.RuntimeException: Timed out while waiting for slave aapt process, make sure the aapt execute at /opt/android-sdk-linux/build-tools/23.0.2/aapt can run successfully (some anti-virus may block it) or try setting environment variable SLAVE_AAPT_TIMEOUT to a value bigger than 5 seconds at com.android.builder.png.AaptProcess.waitForReady(AaptProcess.java:108) at com.android.builder.png.QueuedCruncher.creation(QueuedCruncher.java:110) at com.android.builder.tasks.WorkQueue.run(WorkQueue.java:203) at java.lang.Thread.run(Thread.java:745)

我已经尝试安装缺少的库,但好像已经安装好了:

$ sudo apt-get install libc6-i386 lib32stdc++6 lib32gcc1 lib32ncurses5 Reading package lists... Done Building dependency tree Reading state information... Done lib32ncurses5 is already the newest version. lib32gcc1 is already the newest version. lib32stdc++6 is already the newest version. libc6-i386 is already the newest version. 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

我基本上尝试了所有可以在网上找到的解决方案,但是 none 有帮助。

尝试安装 ia32-libs (sudo apt-get install ia32-libs) 时出现以下消息:

Package ia32-libs is not available, but is referred to by another package. This may mean that the package is missing, has been obsoleted, or is only available from another source However the following packages replace it: lib32ncurses5

E: Package 'ia32-libs' has no installation candidate

有谁知道可能是什么问题?

您是否尝试了 https://github.com/godotengine/godot/issues/2728 上次 post 的方法?