全志安卓移植蓝牙报错--type android.DeviceConfig has no field or method BtConfigVendor)


编译环境:ubuntu18.04

软件版本:全志SDK,安卓版本8.1.0,linux-4.9.0


移植蓝牙时遇到一个报错,现已解决,提供解决过程及方法如下:

[2/2] bootstrap out/soong/.minibootstrap/build.ninja.in
[1/1] out/soong/.bootstrap/bin/minibp out/soong/.bootstrap/build.ninja
[43/44] glob system/bt/vendor_libs/test_vendor_lib/Android.bp
[1/8] compile out/soong/.bootstrap/soong-bluetoothhidl/pkg/android/soong/bluetoothhidl.a
FAILED: out/soong/.bootstrap/soong-bluetoothhidl/pkg/android/soong/bluetoothhidl.a 
GOROOT='./prebuilts/go/linux-x86' ./prebuilts/go/linux-x86/pkg/tool/linux_amd64/compile -o out/soong/.bootstrap/soong-bluetoothhidl/pkg/android/soong/bluetoothhidl.a -p android/soong/bluetoothhidl -complete -I out/soong/.bootstrap/blueprint-parser/pkg -I out/soong/.bootstrap/blueprint-deptools/pkg -I out/soong/.bootstrap/blueprint-pathtools/pkg -I out/soong/.bootstrap/blueprint-proptools/pkg -I out/soong/.bootstrap/blueprint/pkg -I out/soong/.bootstrap/soong/pkg -I out/soong/.bootstrap/blueprint-bootstrap-bpdoc/pkg -I out/soong/.bootstrap/blueprint-bootstrap/pkg -I out/soong/.bootstrap/soong-env/pkg -I out/soong/.bootstrap/soong-android/pkg -I out/soong/.bootstrap/soong-cc-config/pkg -I out/soong/.bootstrap/soong-shared/pkg -I out/soong/.bootstrap/soong-genrule/pkg -I out/soong/.bootstrap/soong-cc/pkg -pack hardware/interfaces/bluetooth/1.0/default/bluetoothhidl.go
hardware/interfaces/bluetooth/1.0/default/bluetoothhidl.go:46: ctx.DeviceConfig().BtConfigVendor undefined (type android.DeviceConfig has no field or method BtConfigVendor)
[2/8] compile out/soong/.bootstrap/soong-fluoride/pkg/android/soong/fluoride.a
FAILED: out/soong/.bootstrap/soong-fluoride/pkg/android/soong/fluoride.a 
GOROOT='./prebuilts/go/linux-x86' ./prebuilts/go/linux-x86/pkg/tool/linux_amd64/compile -o out
  • 0
    点赞
  • 2
    收藏
    觉得还不错? 一键收藏
  • 1
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值