mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2025-01-26 10:42:42 +01:00
Updated Android (markdown)
parent
6086540155
commit
598d674113
15
Android.md
15
Android.md
@ -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`
|
||||||
|
Loading…
Reference in New Issue
Block a user