check

check

增加HIDL接口manifest后编译报错如下:

FAILED: out/target/product/xxxxxx/obj/PACKAGING/check_vintf_all_intermediates/check_vintf_compatible_log

checkvintf E 08-10 01:57:34 27721 27721 check_vintf.cpp:554] android.hardware.gnss@1.0::IGnss/default is deprecated in compatibility matrix at FCM Version 5; it should not be served.
checkvintf E 08-10 01:57:34 27721 27721 check_vintf.cpp:554] android.hardware.gnss@1.0::IGnss/default is deprecated in compatibility matrix at FCM Version 5; it should not be served.
checkvintf E 08-10 01:57:34 27721 27721 check_vintf.cpp:554] android.hardware.gnss@1.0::IGnss/default is deprecated in compatibility matrix at FCM Version 5; it should not be served.
checkvintf E 08-10 01:57:34 27721 27721 check_vintf.cpp:554] android.hardware.gnss@1.0::IGnss/default is deprecated in compatibility matrix at FCM Version 5; it should not be served.: Success
INCOMPATIBLE

根据kernel版本,用的是compatibility_matrix.5.xml (FCM Version 5)
而compatibility_matrix.5.xml中定义的gnss version是2.0-1

<hal format="hidl" optional="true"><name>android.hardware.gnss</name><version>2.0-1</version><interface><name>IGnss</name><instance>default</instance></interface>
</hal>

有两种解决方法:
1:把gnss service改成用2.0或2.1的版本
2:把compatibility_matrix.5.xml 中2.0-1 改成1.0

发布者:admin,转转请注明出处:http://www.yc00.com/news/1693760109a734781.html

相关推荐

发表回复

评论列表(0条)

  • 暂无评论

联系我们

400-800-8888

在线咨询: QQ交谈

邮件:admin@example.com

工作时间:周一至周五,9:30-18:30,节假日休息

关注微信