Updated Mobile (markdown)

Hajime Hoshi 2018-04-07 02:16:03 +09:00
parent 3feb146873
commit d6f0ca37c4

@ -14,22 +14,22 @@ Ebiten automatically records all drawing command history and pixel data, and the
# How to build an application (`gomobile build`)
Note that you need to specify build tag `gomobilebuild` so far when you use `gomobile build`.
Simply run `gomobile build`.
```sh
gomobile build -tags=gomobilebuild github.com/yourname/yourgame
gomobile build github.com/yourname/yourgame
```
If you want to run Ebiten examples that require `examples` build tags, run
```sh
gomobile build -tags="gomobilebuild examples" github.com/hajimehoshi/ebiten/examples/paint
gomobile build -tags=examples github.com/hajimehoshi/ebiten/examples/paint
```
`gomobile install` builds and installs a package to your Android device. If you want to build and install go-inovation on Android at the same time, run
```sh
gomobile install -tags=gomobilebuild github.com/hajimehoshi/go-inovation
gomobile install github.com/hajimehoshi/go-inovation
```
And you can find go-inovation runs on your Android device.