diff --git a/misc/android/go_android_exec.go b/misc/android/go_android_exec.go index 2be0b07502..e20b99a4e8 100644 --- a/misc/android/go_android_exec.go +++ b/misc/android/go_android_exec.go @@ -158,6 +158,7 @@ func runMain() (int, error) { `; export GOROOT="` + deviceGoroot + `"` + `; export GOPATH="` + deviceGopath + `"` + `; export CGO_ENABLED=0` + + `; export GOPROXY=` + os.Getenv("GOPROXY") + `; export GOCACHE="` + deviceRoot + `/gocache"` + `; export PATH=$PATH:"` + deviceGoroot + `/bin"` + `; cd "` + deviceCwd + `"` +