Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

x/mobile/cmd/gomobile: install silently fails for -target=android #12418

Closed
rakyll opened this issue Aug 31, 2015 · 1 comment
Closed

x/mobile/cmd/gomobile: install silently fails for -target=android #12418

rakyll opened this issue Aug 31, 2015 · 1 comment

Comments

@rakyll
Copy link
Contributor

rakyll commented Aug 31, 2015

With freshly installed Android SDK, gomobile install doesn't work as expected and silently fails.

  1. Download Android SDK.
  2. Put the tools and platform tools to your PATH.
  3. Run the command below. It runs and exits with 0 whereas the the app is not installed on the device.
$ gomobile install  -target=android . # returns success prints out no

If you run adb, it prints out a notice to the stdout even though it returns 0 as its exit code.

adb
It appears you do not have 'Android SDK Platform-tools' installed.
Use the 'android' tool to install them:
    android update sdk --no-ui --filter 'platform-tools'

/cc @crawshaw @hyangah @nigeltao

@ianlancetaylor ianlancetaylor added this to the Unreleased milestone Aug 31, 2015
@gopherbot
Copy link

CL https://golang.org/cl/14160 mentions this issue.

@golang golang locked and limited conversation to collaborators Sep 4, 2016
imWildCat pushed a commit to imWildCat/go-mobile that referenced this issue Apr 10, 2021
Fixes golang/go#12418

Change-Id: Ie0f2e669b3e516787b548c69a624e9063cd7f68f
Reviewed-on: https://go-review.googlesource.com/14160
Reviewed-by: Hyang-Ah Hana Kim <hyangah@gmail.com>
imWildCat pushed a commit to imWildCat/go-mobile that referenced this issue Apr 11, 2021
Fixes golang/go#12418

Change-Id: Ie0f2e669b3e516787b548c69a624e9063cd7f68f
Reviewed-on: https://go-review.googlesource.com/14160
Reviewed-by: Hyang-Ah Hana Kim <hyangah@gmail.com>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants