[英]AAPT error on Debian 8.3 Jessie 64-bit
On Debian 8.3 Jessie 64-bit, when trying to build an Android application, I get the following error: 在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
AAPT错误(Facade for 699210498):/opt/android-sdk-linux/build-tools/23.0.2/aapt:加载共享库时出错:libz.so.1:无法打开共享库文件:没有这样的文件或目录
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$1.creation(QueuedCruncher.java:110) at com.android.builder.tasks.WorkQueue.run(WorkQueue.java:203) at java.lang.Thread.run(Thread.java:745)
线程“ png-cruncher_5”中的异常java.lang.RuntimeException:等待从属Aapt进程超时,请确保在/opt/android-sdk-linux/build-tools/23.0.2/aapt上执行的aapt可以成功运行(某些防病毒软件可能会阻止它)或尝试在com.android.builder.png的com.android.builder.png.AaptProcess.waitForReady(AaptProcess.java:108)处将环境变量SLAVE_AAPT_TIMEOUT设置为大于5秒的值。 QueuedCruncher $ 1.creation(QueuedCruncher.java:110)在com.android.builder.tasks.WorkQueue.run(WorkQueue.java:203)在java.lang.Thread.run(Thread.java:745)
I have tried to install the missing library, but it seems to already have been installed: 我试图安装缺少的库,但似乎已经安装了:
$ 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.
$ sudo apt-get install libc6-i386 lib32stdc ++ 6 lib32gcc1 lib32ncurses5正在读取软件包列表...完成构建依赖关系树正在读取状态信息...已完成lib32ncurses5已经是最新版本。 lib32gcc1 is already the newest version.
lib32gcc1已经是最新版本。 lib32stdc++6 is already the newest version.
lib32stdc ++ 6已经是最新版本。 libc6-i386 is already the newest version.
libc6-i386已经是最新版本。 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
0已升级,0新安装,0已删除和0未升级。
I have tried basically all the solutions that I could find online, but none of them helped. 我基本上已经尝试了所有可以在网上找到的解决方案,但是都没有帮助。
Trying to install ia32-libs (sudo apt-get install ia32-libs) gives the following message: 尝试安装ia32-libs(sudo apt-get install ia32-libs)会显示以下消息:
Package ia32-libs is not available, but is referred to by another package.
软件包ia32-libs不可用,但由另一个软件包引用。 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
这可能意味着该软件包丢失,已被废弃或只能从其他来源获得。但是,以下软件包将其替换:lib32ncurses5
E: Package 'ia32-libs' has no installation candidate
E:软件包“ ia32-libs”没有候选安装
Does anyone know what might be the problem? 有谁知道可能是什么问题?
您是否尝试过https://github.com/godotengine/godot/issues/2728上一篇文章中的方法?
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.