Updated Android (markdown)

Hajime Hoshi 2017-12-17 22:24:54 +09:00
parent 6086540155
commit 598d674113

@ -132,3 +132,18 @@ public class EbitenGLSurfaceView extends GLSurfaceView {
}
}
```
# NDK version
# How to downgrade NDK
(2017-12-17)
There is a known issue that Go doesn't work with NDK r16 (https://github.com/golang/go/issues/22766). Let's use r15 (or older) until the issue is fixed.
1. Download r15c version of NDK from https://developer.android.com/ndk/downloads/older_releases.html
2. Unzip `android-ndk-r15c-*-x86_64.zip`
3. `cd $ANDROID_HOME`
4. `mv ndk-bundle ndk-bundle.r16` for example.
5. Move the unziped directory to `$ANDROID_HOME/nkd-bundle`
6. `gomobile init`