gpt4 book ai didi

android - 我想在 android 中将音频服务器 (/frameworks/av/media/audioserver) 构建为 64 位,但它无法启动

转载 作者:太空宇宙 更新时间:2023-11-04 04:13:43 25 4
gpt4 key购买 nike

我想把audioserver(/frameworks/av/media/audioserver)搭建成64位,引用Android.mk(/frameworks/av/media/audioserver/Android.mk)中的说明,添加AUDIOSERVER_MULTILIB: =64 in device.mk,但是启动不了,查看日志发现如下错误。01-20 09:44:31.637 2581 2581 F 链接器:无法链接可执行文件“/system/bin/audioserver”:“/system/lib64/libaudioflinger.so”中不受支持的 ELF TLS DT 条目

console:/system/bin # 文件音频服务器audioserver:ELF 共享对象,64 位 LSB arm64,动态(/system/bin/linker64),适用于 Android 28,BuildID=01599,剥离

console:/system/lib64 # 文件 libaudioflinger.solibaudioflinger.so: ELF shared object, 64-bit LSB arm64, for Android 28, BuildID=fd41f, stripped

/frameworks/av/media/audioserver/Android.mk

# If AUDIOSERVER_MULTILIB in device.mk is non-empty then it is used to control
# the LOCAL_MULTILIB for all audioserver exclusive libraries.
# This is relevant for 64 bit architectures where either or both
# 32 and 64 bit libraries may be built.
#
# AUDIOSERVER_MULTILIB may be set as follows:
# 32 to build 32 bit audioserver libraries and 32 bit audioserver.
# 64 to build 64 bit audioserver libraries and 64 bit audioserver.
# both to build both 32 bit and 64 bit libraries,
# and use primary target architecture (32 or 64) for audioserver.
# first to build libraries and audioserver for the primary target architecture only.
# <empty> to build both 32 and 64 bit libraries and 32 bit audioserver.

音频服务器应该正常工作

最佳答案

这个问题在 google 邮件列表“android-porting”上得到了回答。我只是引用答案。 https://groups.google.com/forum/#!topic/android-porting/lK7dDeJT0k4

"As of now, the AOSP release of Android does not yet officially support 64-bit audioserver. We are considering adding 64-bit option for audioserver in a future release, but I can't give you a schedule of when that might happen. Even then, it may be limited to platforms that are capable of supporting it (for example due to dependencies on various libraries etc.)." (Glenn Kasten, Jan 25th 2019)

关于android - 我想在 android 中将音频服务器 (/frameworks/av/media/audioserver) 构建为 64 位,但它无法启动,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/54287288/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com