GO-CMP未定义的模块错误在为Maple构建AOSP Android T DP2时(Xperia XZ Premium)
在尝试构建AOSP Android T DP2时,我有GO-CMP未定义的模块错误,是否有有关如何解决此问题的线索?
错误:外部/golang-protobuf/android.gen.bp:1252:1:“ Golang-protobuf-reflect-protorange”取决于未定义的模块“ go-cmp”错误:external/golang-protobuf/android.gen .bp:1252:1:“ Golang-protobuf-reflect-protorange”取决于未定义的模块“ go-cmp-cmpopts” #### ####未能构建一些目标(2秒)#####
i'm having go-cmp undefined module error while trying to build aosp android t dp2, is there any clues on how to resolve this problem?
error: external/golang-protobuf/Android.gen.bp:1252:1: "golang-protobuf-reflect-protorange" depends on undefined module "go-cmp" error: external/golang-protobuf/Android.gen.bp:1252:1: "golang-protobuf-reflect-protorange" depends on undefined module "go-cmp-cmpopts" #### failed to build some targets (2 seconds) ####
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
只需下载: https:// https:// httrroid.googlesource.com /platform/external/go-cmp/+/refs/heads/master 并将其放在外部文件夹上,但是我建议您等待正式版本您可能会发现。
Just download: https://android.googlesource.com/platform/external/go-cmp/+/refs/heads/master and put it on external folder, but i recommend you wait for the official release since this error is caused by missing stuff and it's not the only error that you might find.