最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

check

运维笔记admin33浏览0评论

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

发布评论

评论列表(0)

  1. 暂无评论