You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$ gradle build
:app:preBuild UP-TO-DATE
:app:preDebugBuild UP-TO-DATE
:app:checkDebugManifest
:app:preReleaseBuild UP-TO-DATE
:ivy:gobind
/Users/hajimehoshi/go/bin/gomobile: package "[Ljava.lang.String;@3eff6846": cannot find package "[Ljava.lang.String;@3eff6846" in any of:
> Buildi/usr/local/go/src/[Ljava.lang.String;@3eff6846 (from $GOROOT)
/Users/hajimehoshi/go/src/[Ljava.lang.String;@3eff6846 (from $GOPATH)
:ivy:gobind FAILED
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':ivy:gobind'.
> Process 'command '/Users/hajimehoshi/go/bin/gomobile'' finished with non-zero exit value 1
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
BUILD FAILED
Total time: 5.167 secs
Found the below debug info when running gradle build --debug:
17:16:47.225 [INFO] [org.gradle.process.internal.DefaultExecHandle] Starting process 'command '/Users/hajimehoshi/go/bin/gomobile''. Working directory: /Users/hajimehoshi/go/src/golang.org/x/mobile/exampl
e/ivy/android/ivy Command: /Users/hajimehoshi/go/bin/gomobile bind -i -o ivy.aar -target android [Ljava.lang.String;@5e1d1524 robpike.io/ivy/mobile
17:16:47.225 [DEBUG] [org.gradle.process.internal.DefaultExecHandle] Environment for process 'command '/Users/hajimehoshi/go/bin/gomobile'': {TMUX_PANE=%55, PATH=/Users/hajimehoshi/go/bin:/usr/local/go/bi
n:/Users/hajimehoshi/go/bin:/usr/local/sbin:/Users/hajimehoshi/google-cloud-sdk/bin:/Users/hajimehoshi/Library/Android/sdk/platform-tools:/Users/hajimehoshi/Library/Android/sdk/build-tools/23.0.3:/usr/loc
al/texlive/2015basic/bin/x86_64-darwin:/Users/hajimehoshi/go_appengine:/Users/hajimehoshi/go/bin:/usr/local/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/X11/bin:/usr/local/go/bin:/Library/TeX/tex
bin:/Users/hajimehoshi/google-cloud-sdk/bin:/usr/local/texlive/2015basic/bin/x86_64-darwin:/Users/hajimehoshi/go_appengine:/Users/hajimehoshi/go/bin:/usr/local/go/bin, JAVA_ARCH=x86_64, HISTSIZE=9999, TER
M=screen, ANDROID_HOME=/Users/hajimehoshi/Library/Android/sdk, JAVA_MAIN_CLASS_23131=org.gradle.launcher.GradleMain, DISPLAY=/private/tmp/com.apple.launchd.tkb7bxwP0H/org.macosforge.xquartz:0, APP_NAME_23
131=Gradle, LOGNAME=hajimehoshi, XPC_SERVICE_NAME=0, PWD=/Users/hajimehoshi/go/src/golang.org/x/mobile/example/ivy/android, TERM_PROGRAM_VERSION=361.1, SHELL=/bin/bash, TERM_PROGRAM=Apple_Terminal, GOROOT
_BOOTSTRAP=/usr/local/go, SECURITYSESSIONID=186a8, GOPATH=/Users/hajimehoshi/go, OLDPWD=/usr/local/Cellar/gradle/2.13/libexec, USER=hajimehoshi, TMPDIR=/var/folders/7t/qw3np69559591s1v0mk5_p1m0000gn/T/, A
PP_ICON_23131=/usr/local/Cellar/gradle/2.13/libexec/media/gradle.icns, SSH_AUTH_SOCK=/private/tmp/com.apple.launchd.HhaRWMeH9r/Listeners, XPC_FLAGS=0x0, TERM_SESSION_ID=3BD2B606-823D-41D5-B6DD-C239C1E2F07
A, __CF_USER_TEXT_ENCODING=0x1F5:0x0:0x0, Apple_PubSub_Socket_Render=/private/tmp/com.apple.launchd.SL0e53mZXT/Render, com.apple.java.jvmTask=CommandLine, LC_CTYPE=UTF-8, TMUX=/private/var/folders/7t/qw3n
p69559591s1v0mk5_p1m0000gn/T/tmux-501/default,2472,0, SHLVL=2, HOME=/Users/hajimehoshi}
The text was updated successfully, but these errors were encountered:
For golang/go#15554
Also update app target sdk api to 23.
Change-Id: Id66b17b4388703e9806cc50def554b3c58606e24
Reviewed-on: https://go-review.googlesource.com/23690
Reviewed-by: David Crawshaw <crawshaw@golang.org>
Reviewed-by: Elias Naur <elias.naur@gmail.com>
What version of Go are you using (
go version
)?What operating system and processor architecture are you using (
go env
)?What did you do?
Found the below debug info when running
gradle build --debug
:The text was updated successfully, but these errors were encountered: