我拉了你的项目编译还是没编译不出来,我自己的项目也是这个问题,不知道你有没有遇到过,很奇怪。。。
[Golang] 纯文本查看 复制代码 PS D:\projects_go\tts-server-android\tts-server-lib> go install golang.org/x/mobile/cmd/gomobile@latest
PS D:\projects_go\tts-server-android\tts-server-lib> go get golang.org/x/mobile/bind
PS D:\projects_go\tts-server-android\tts-server-lib> gomobile bind -v -target="android/arm,android/arm64" -androidapi=19
unable to import bind: no Go package in golang.org/x/mobile/bind
unable to import bind: no Go package in golang.org/x/mobile/bind
"golang.org/x/mobile/bind" is not found; run go get golang.org/x/mobile/bind: no Go package in golang.org/x/mobile/bind
E:\go1.19-GOPATH\bin\gomobile.exe: E:\go1.19-GOPATH\bin\gobind.exe -lang=go,java -outdir=C:\Users\ADMINI~1\AppData\Local\Temp\gomobile-work-3915506142 tts-server-lib
failed: exit status 1
PS D:\projects_go\tts-server-android\tts-server-lib> |