简体   繁体   English

Debian 8.3 Jessie 64位上的AAPT错误

[英]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.

相关问题 在64位Ubuntu 12.04上运行aapt:加载共享库时出错:libc ++。所以:没有这样的文件或目录 - Running aapt on 64-bit Ubuntu 12.04: error while loading shared libraries: libc++.so: No such file or directory Android 64 位 Delphi 应用程序部署期间出错 - Error during Android 64-bit Delphi app deployment 64位ubuntu上的adb库依赖项出错 - error with adb library dependencies on 64-bit ubuntu 此版本不符合 Google Play 64 位要求错误 - This release is not compliant with the Google Play 64-bit requirement error Google play :Apk 上传错误,因为 64 位要求 - Google play :Apk Upload error becauseof 64-bit requirement 在Ubuntu 12.04 64位上运行Android aapt - Run Android aapt on Ubuntu 12.04 64 bit 如何在没有ia32-libs的情况下使用64位Ubuntu进行Android的aapt和adb工作(适用于版本12,13和14) - How to make Android's aapt and adb work on 64-bit Ubuntu without ia32-libs (works for versions 12, 13 and 14) 由于库是32位而不是64位而导致的JSONStore错误 - JSONStore error due to library being 32-bit instead of 64-bit Android Studio 64位错误:32位Linux Android模拟器二进制文件已弃用 - Android Studio 64-bit ERROR: 32-bit Linux Android emulator binaries are DEPRECATED Phonegap Build-错误-应用程序不支持强制性的arm64(64位支持)体系结构 - Phonegap Build - Error - app does not support the compulsory arm64 (64-bit support) architecture
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM