Android Hal 未在 Android R(11) 中运行时注册

问题描述 投票:0回答:2

我在manifest.xml、vendor_compatibilityMatrix.xml以及device.mk中添加了我的hal接口。 我还为我的 hal 创建了 hal.rc 文件。 但在启动时我遇到了以下错误......

03-07 09:53:19.541 242 242 我 hwservicemanager: 由于 [email  protected]::IinputServer/default 未注册,尝试将其作为惰性 HAL 启动。

那么,谁能告诉我我做错了什么或者我错过了什么。

android c++ hal android-native-library
2个回答
0
投票

将“IinputServer”HAL 名称更改为“IInputServer”。作为 Hal Interface 中的编码指南,名称应以 I 开头,后跟大写字母。

https://source.android.google.cn/devices/architecture/hidl/code-style


0
投票

您如何解决这个问题?谢谢! 如果您能分享您的成果,谢谢。

© www.soinside.com 2019 - 2024. All rights reserved.