MultiCraft/build/android
Bektur 0d6fc71f2e
Android: pass non-critical server and mod errors to Java (#224)
2021-11-12 22:04:21 +02:00
..
app Android: pass non-critical server and mod errors to Java (#224) 2021-11-12 22:04:21 +02:00
gradle/wrapper Android: upgrade to SDK 31 and NDK 23 2021-09-14 18:38:46 +02:00
native Android: compile flags fix 2021-11-09 18:45:09 +01:00
README.md Android: remove obsolete build system 2019-10-23 23:08:24 +02:00
Start.sh Remove preloaded worlds 2021-07-10 17:13:54 +03:00
build.gradle Android: pass non-critical server and mod errors to Java (#224) 2021-11-12 22:04:21 +02:00
gradle.properties Android: update platform wrapper (#218) 2021-07-13 19:08:24 +03:00
gradlew Android: use libintl from gettext. Update deps 2020-10-20 16:45:24 +02:00
gradlew.bat Android: use libintl from gettext. Update deps 2020-10-20 16:45:24 +02:00
settings.gradle Android: use libintl from gettext. Update deps 2020-10-20 16:45:24 +02:00

README.md

MultiCraft: Android version

Requirements

In order to build, your PC has to be set up to build MultiCraft in the usual manner (see the regular MultiCraft documentation for how to get this done). In addition to what is required for MultiCraft 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 (28+)
  • android NDK (r17c)
  • git
  • wget
  • gettext

Additionally, you'll need to have an Internet connection available on the build system, as the Android build will download some source packages.

Build

The new build system MultiCraft Android is still WIP, but it is fully functional and is designed to speed up and simplify the work, as well as adding the possibility of cross-platform build. The Makefile is no longer used and will be removed in future releases. Use the "Start.sh" script, which will automatically download pre-built dependencies, prepare localization files and archive all necessary files. Then you can use "./gradlew assemblerelease" or "./graldew assembledebug" from the command line or use Android Studio and click the build button.

When using gradlew, the newest NDK will be downloaded and installed automatically. Or you can create a local.properties file and specify sdk.dir and ndk.dir yourself. The script will automatically create an APK for all the architectures specified in build.gradle.