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

xiaowang_lj發表於2024-05-22

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

相關文章