mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-09 09:38:19 +00:00
Merge pull request #8802 from Robyt3/Android-Building-Small-Fixes
Minor improvements to Android building
This commit is contained in:
commit
4786419fee
|
@ -4,6 +4,7 @@ Requirements for building for Android
|
|||
- At least 10-15 GiB of free disk space.
|
||||
- First follow the general instructions for setting up https://github.com/ddnet/ddnet for building on Linux.
|
||||
This guide has only been tested on Linux.
|
||||
- Note: Use a stable version of Rust. Using the nightly version results in linking errors.
|
||||
- Install the Android NDK (version 26) in the same location
|
||||
where Android Studio would unpack it (`~/Android/Sdk/ndk/`):
|
||||
```shell
|
||||
|
|
|
@ -43,6 +43,7 @@ android {
|
|||
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
|
||||
}
|
||||
debug {
|
||||
debuggable true
|
||||
minifyEnabled false
|
||||
shrinkResources false
|
||||
}
|
||||
|
|
|
@ -80,7 +80,7 @@ cd compile_libs || exit 1
|
|||
|
||||
build_cmake_lib zlib https://github.com/madler/zlib
|
||||
build_cmake_lib png https://github.com/glennrp/libpng
|
||||
build_cmake_lib curl https://github.com/curl/curl
|
||||
build_cmake_lib curl https://github.com/curl/curl "curl-8_8_0"
|
||||
build_cmake_lib freetype2 https://gitlab.freedesktop.org/freetype/freetype
|
||||
build_cmake_lib sdl https://github.com/libsdl-org/SDL SDL2
|
||||
build_cmake_lib ogg https://github.com/xiph/ogg
|
||||
|
|
Loading…
Reference in a new issue