duan4523 2015-09-26 11:03
浏览 142
已采纳

带有Android Studio的Google Go语言插件

I am using AndroidStudio 1.2.2 and I have installed Google Go language plugin for IntelliJ Idea. I configure GOPATH and I compile and run first HelloWorld go in cmd, but i want to start learning make Android Go applications in AndroidStudio.

But when i want to run file test1.go i get error:

Error running test1.go: No Go Sdk defined for this project

I found on other forum to do this by:

File > Project Structure

but there I can only to add android/java library module and etc., (I add other java library modules, and google-play-services before).

I don't know too about Go SDK must to be:C:\Go or C:\Go\bin

  • 写回答

1条回答 默认 最新

  • douzheng1853 2015-09-30 09:13
    关注

    If you haven't installed already, install one of the latest version from here: https://github.com/go-lang-plugin-org/go-lang-idea-plugin#pre-release-builds (either alpha or nightly). Then you can simply point the SDK to C:\Go (if that's where the Go SDK is installed).

    Hope it helps.

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论

报告相同问题?

悬赏问题

  • ¥15 孟德尔随机化结果不一致
  • ¥15 apm2.8飞控罗盘bad health,加速度计校准失败
  • ¥15 求解O-S方程的特征值问题给出边界层布拉休斯平行流的中性曲线
  • ¥15 谁有desed数据集呀
  • ¥20 手写数字识别运行c仿真时,程序报错错误代码sim211-100
  • ¥15 关于#hadoop#的问题
  • ¥15 (标签-Python|关键词-socket)
  • ¥15 keil里为什么main.c定义的函数在it.c调用不了
  • ¥50 切换TabTip键盘的输入法
  • ¥15 可否在不同线程中调用封装数据库操作的类