HIDL接口文件修改后,会提示hash不匹配的问题,
例如下面的提示:
ERROR: [email protected]::IBiometricsFingerprint has hash e21385ffc342a7c28276fbf3b26f8c191400f84ebc9ebd879ef8e4c5358a635c which does not match hash on record. This interface has been frozen. Do not change it!
解决办法:
把提示中的hash值复制一份“e21385ffc342a7c28276fbf3b26f8c191400f84ebc9ebd879ef8e4c5358a635c”,然后找到current.txt,打开后找到对应类型对应的hash替换即可。
current.txt位置:hardware\interfaces
帮你就到这里,本文结束。