最新消息: USBMI致力于为网友们分享Windows、安卓、IOS等主流手机系统相关的资讯以及评测、同时提供相关教程、应用、软件下载等服务。

check

IT圈 admin 5浏览 0评论

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

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. 暂无评论