构建 Android 11 时出现非法指令(核心转储)错误

构建 Android 11 时出现非法指令(核心转储)错误

一段时间以来,我一直在尝试为 Sony Xperia XZ2 H8266 构建 Android 11。每次构建 org.apache.http.legacy 包时都会出现错误。

[ 99% 263/264] //external/apache-http:org.apache.http.legacy dexpreopt [common]
FAILED: out/soong/.intermediates/external/apache-http/org.apache.http.legacy/and
roid_common/dexpreopt/profile.prof
ANDROID_LOG_TAGS="*:e" out/soong/host/linux-x86/bin/profman --create-profile-fro
m=external/apache-http/art-profile --apk=out/soong/.intermediates/external/apach
e-http/org.apache.http.legacy/android_common/aligned/org.apache.http.legacy.jar 
--dex-location=/system/framework/org.apache.http.legacy.jar --reference-profile-
file=out/soong/.intermediates/external/apache-http/org.apache.http.legacy/androi
d_common/dexpreopt/profile.prof
Illegal instruction (core dumped)
18:31:01 ninja failed with: exit status 1

我正在使用旧的 PowerEdge 2950,它有 2 个四核 Xeon CPU 和 32 Gb RAM,运行 Ubuntu 20.04。我读到 org.apache.http.legacy 是已弃用的软件包。我希望得到同样的提示,知道在哪里可以找到问题的核心。

提前致谢。DoomRider

相关内容