4
我在Windows中使用Go版本1.7.5,并且当我尝试使用gomobile命令安装或绑定或构建。它显示这个错误 - “gomobile:没有设置Android NDK路径,请运行gomobile init,并通过Android SDK管理器安装ndk-bundle或设置-ndk标志。 我已经添加了NDK路径到系统变量$ PATH,甚至手动安装了NDK,但仍然存在错误。 感谢您的时间!gomobile命令错误“没有设置Android NDK路径”
你运行'gomobile init'作为错误按摩建议? – ymonad
阅读文档https://github.com/golang/mobile,似乎gomobile要求golang 1.5。使用1.7.5 – reticentroot
@ymonad运行gomobile init时不会显示此错误。 –