标题: 关于Android11 开treble后power hal build fail的问题 [打印本页] 作者: shen 时间: 2022-1-5 22:33 标题: 关于Android11 开treble后power hal build fail的问题 最近在Android11上遇到如下build fail:
checkvintf E 01-05 22:30:48 334 334 check_vintf.cpp:554] android.hardware.power:
checkvintf E 01-05 22:30:48 334 334 check_vintf.cpp:554] required: IPower/default
checkvintf E 01-05 22:30:48 334 334 check_vintf.cpp:554] provided: @1.0::IPower/default
checkvintf E 01-05 22:30:48 334 334 check_vintf.cpp:554]
checkvintf E 01-05 22:30:48 334 334 check_vintf.cpp:554] android.hardware.power@1.0::IPower/default
checkvintf E 01-05 22:30:48 334 334 check_vintf.cpp:554] Suggested fix:
checkvintf E 01-05 22:30:48 334 334 check_vintf.cpp:554] 1. Update deprecated HALs to the latest version.
checkvintf E 01-05 22:30:48 334 334 check_vintf.cpp:554] 2. Check for any typos in device manifest or framework compatibility matrices with FCM version >= 5.
checkvintf E 01-05 22:30:48 334 334 check_vintf.cpp:554] 3. For new platform HALs, add them to any framework compatibility matrix with FCM version >= 5 where applicable.
checkvintf E 01-05 22:30:48 334 334 check_vintf.cpp:554] 4. For device-specific HALs, add to DEVICE_FRAMEWORK_COMPATIBILITY_MATRIX_FILE or DEVICE_PRODUCT_COMPATIBILITY_MATRIX_FILE.: Success
INCOMPATIBLE