The following instances are in the device manifest but not specified in framework compatibility matrix:

android 编译hal报错:

ERROR: files are incompatible: The following instances are in the device manifest but not specified in framework compatibility matrix:
android.hardware.hongxi.IHongxi/default (@1)
Suggested fix:
1. Update deprecated HALs to the latest version.
2. Check for any typos in device manifest or framework compatibility matrices with FCM version >= 7.
3. For new platform HALs, add them to any framework compatibility matrix with FCM version >= 7 where applicable.
4. For device-specific HALs, add to DEVICE_FRAMEWORK_COMPATIBILITY_MATRIX_FILE or DEVICE_PRODUCT_COMPATIBILITY_MATRIX_FILE.: Success
INCOMPATIBLE
16:59:23 ninja failed with: exit status 1

 

解决方法:在hardware/interfaces/compatibility_matrices/compatibility_matrix.7.xml下添加与之对应的FCM配置

 

https://blog.csdn.net/chen245250566/article/details/103907762

posted @ 2024-05-22 17:08  xiaowang_lj  阅读(156)  评论(0编辑  收藏  举报