diff --git a/android/build.go b/android/build.go index a007db9..0670fa4 100644 --- a/android/build.go +++ b/android/build.go @@ -14,6 +14,7 @@ func BuildGradlew(buildVariant string) error { var errRes bytes.Buffer cmd := exec.Command(path.Join(consts.ProjectPath, "gradlew"), strings.Split(buildVariant, " ")...) cmd.Stderr = &errRes + cmd.Stdout = os.Stdout cmd.Env = os.Environ() cmd.Env = append(cmd.Env, "JAVA_HOME="+consts.JavaPath) cmd.Dir = consts.ProjectPath