首页 > 其他分享 >Android 修改 android/hardware/interfaces 下HIDL接口编译报异常问题解决

Android 修改 android/hardware/interfaces 下HIDL接口编译报异常问题解决

时间:2023-05-25 21:13:12浏览次数:44  
标签:hostapd interfaces HIDL 接口 hardware android

最近要增加hostapd 的一个HIDL接口,
修改android/hardware/interfaces/wifi/hostapd/1.2/IHostapd.hal 文件后编译报错如下:

ERROR: [email protected]::IHostapd has hash
acaed0a159a521bd4964e0fb8117320849109d3eeaff6a08b4d2506156ce6987
which does not match hash on record. This interface has been frozen. Do not change it!

这是因为源码已经定义了android/hardware/interfaces 下的接口哈希值,不允许随意修改。
将 acaed0a159a521bd4964e0fb8117320849109d3eeaff6a08b4d2506156ce6987 哈希值替换到
android/hardware/interfaces/current.txt 对应的接口中(区分不同的hidl版本)

另外VNDK中也确定了接口,需要更新
参考ABI稳定性

development/vndk/tools/header-checker/utils/create_reference_dumps.py -l [email protected] -product 项目名

标签:hostapd,interfaces,HIDL,接口,hardware,android
From: https://www.cnblogs.com/grouper/p/17432933.html

相关文章

  • SoftRAID/FakeRAID hardware. In the first case run chkdsk /f on Windows
    [root@storage1~]#mount/dev/sdj3/mnt/data-dir/ntfs_mst_post_read_fixup_warn:magic:0xffffffffsize:1024usa_ofs:65535usa_count:65535:InvalidargumentRecord16hasnoFILEmagic(0xffffffff)CorruptattributelistentryinMFTrecord0Failedto......
  • 解决Matlab在Linux下无法使用hardware OpenGL的问题
    解决Matlab在Linux下无法使用hardwareOpenGL的问题1报错信息在命令行使用命令matlab-nodesktop-nosplash启动Matlab时,出现如下报错:MATLABisselectingSOFTWAREOPENGLrendering.在查阅ArchWikiMatlabOpenGLAcceleration栏目后,发现这是因为Matlab未启用OpenGL硬件加......
  • Ace Hardware Corporation: 一家五金零售商的EDI
    AceHardwareCorporation(以下简称Ace)是一家总部位于美国伊利诺伊州奥克布鲁克的美国五金零售商合作社,成立于1924年。公司的目标是为其成员提供有竞争力的价格、优质的产品和优秀的客户服务,以满足客户的需求。作为一家五金零售商,Ace的供应商需要与其进行业务单据的传输。为此,Ace公......
  • HDFS web Interfaces功能解读
    HDFSWeb地址是http://nn_host:port/,2.x默认端口号50070 3.x默认端口号9870一、模块功能解读-OverviewOverview是HDFSweb默认的主页面。展示了HDFS一些最核心的信......
  • Autofac中的AsImplementedInterfaces()
    在项目开发中,遇到一个问题,是这样的,我们有一个接口IConfigurationpublicinterfaceIConfiguration{stringDefaultValue{get;}intOrde......
  • km4.0: getHardwareInfo
    直接在CA侧实现的接口。接口说明:hardware/interfaces/keymaster/4.0/IKeymasterDevice.hal201/**202*ReturnsinformationabouttheunderlyingIKeymas......
  • Consider injecting the bean as one of its interfaces or forcing the use of CGLib
    背景今天在写一个数据处理程序的时候,我打算优化一下我的程序,本来是直接用Mapper层进行单行记录保存的,也就是调用的Mapper的insert函数过程然后我就写了一......
  • 2493172 - SAP HANA Hardware and Cloud Measurement Tools
    SymptomThisistheofficialreleasenoteforSAPHANAhardwareandcloudmeasurementtools.SAPHANAhardwareandcloud measurementtoolshelpyoutom......
  • M1 MacBook 使用conda安装paddle 报错illegal hardware instruction
    按照paddle官网要求安装后,在importpaddle时会报错illegalhardwareinstructionpython3 重新安装低版本的paddle,问题解决(原来的版本是2.4.1) #CPUonlypy......
  • interface--IEEE sv std. 25 interfaces
    1.interface作用(1)简化portconnections,简化RTLcoding;(2)功能覆盖率的收集;(3)协议检查与断言;2.interface语法(1)interface就是一组nets或者variables;(2)......