1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-09-30 19:22:14 +00:00
This commit is contained in:
sfan5 2025-09-24 12:03:00 +02:00
parent 40cfaba99d
commit e5fae425cc

View file

@ -77,30 +77,28 @@ some shader settings cannot be used on OpenGL ES.
Changing the graphic driver setting to OpenGL will not work. Changing the graphic driver setting to OpenGL will not work.
## Building Requirements ## Building Requirements
In order to build, your PC has to be set up to build Luanti in the usual
manner (see the regular Luanti documentation for how to get this done).
In addition to what is required for Luanti in general, you will need the
following software packages. The version number in parenthesis denotes the
version that was tested at the time this README was drafted; newer/older
versions may or may not work.
* Android SDK 29 In order to build, you will need the following development tools:
* Android NDK r21
* Android Studio 3 [optional] * Java JDK
* Android SDK
* `gettext` command line tools
* Android Studio [optional]
Additionally, you'll need to have an Internet connection available on the Additionally, you'll need to have an Internet connection available on the
build system, as the Android build will download some source packages. build system, as the Android build will download some source packages.
## Build ## Build
The new build system Luanti Android is fully functional and is designed to The new build system Luanti Android is fully functional and is designed to
speed up and simplify the work, as well as adding the possibility of speed up and simplify the work, as well as adding the possibility of
cross-platform build. cross-platform build.
You can use `./gradlew assemblerelease` or `./gradlew assembledebug` from the You can use `./gradlew assembleRelease` or `./gradlew assembleDebug` from the
command line or use Android Studio and click the build button. command line or use Android Studio and click the build button.
When using gradlew, the newest NDK will be downloaded and installed When using gradlew, the newest NDK will be downloaded and installed
automatically. Or you can create a `local.properties` file and specify automatically. You have to create a `local.properties` file and specify
`sdk.dir` and `ndk.dir` yourself. `sdk.dir` yourself if you want to use an existing installation.
* In order to make a release build you'll have to have a keystore setup to sign * In order to make a release build you'll have to have a keystore setup to sign
the resulting apk package. How this is done is not part of this README. There the resulting apk package. How this is done is not part of this README. There