MultiCraft-legacy/build/android
Maksim 9a5bb1eb32 Mobile: minor update 2022-03-19 01:59:59 +01:00
..
app Mobile: minor update 2022-03-19 01:59:59 +01:00
gradle/wrapper Mobile: minor update 2022-03-19 01:59:59 +01:00
native Mobile: minor update 2022-03-19 01:59:59 +01:00
README.md Android: remove obsolete build system 2019-10-23 23:08:24 +02:00
Start.sh Update font 2022-01-14 09:52:31 +01:00
build.gradle Mobile: minor update 2022-03-19 01:59:59 +01: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.