Skip to content
Mono build scripts for Godot
Python
Branch: master
Clone or download
neikeq Fix android sdk's cmake version autodetect
StrictVersion was failing with 3.10.4988404. Use LooseVersion instead.
Latest commit 9efec19 Jul 8, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
LICENSE Add README, LICENSE and Android build script Jul 4, 2019
README.md Add Android instructions to the README Jul 4, 2019
build_mono_android.py

README.md

Mono build scripts for Godot

This repository contains scripts for building the Mono runtime to use with Godot Engine

Android instructions

Run python build_mono_android.py --help for the full list of command line options. You may need to tweak some of those if the default values do not fit your needs.

Example:

# These are the default values. You can omit them if they apply to your system
export ANDROID_SDK_ROOT=$HOME/Android/Sdk
export ANDROID_NDK_ROOT=$ANDROID_SDK_ROOT/ndk-bundle

# The mono sources may be in a different location on your system
export MONO_SOURCE_ROOT=$HOME/git/mono

./build_mono_android.py configure --target=all
./build_mono_android.py make --target=all

The option --target=all is a shortcut for --target=armeabi-v7a --target=x86 --target=arm64-v8a --target=x86_64.

By default, the script will install the resulting files to $HOME/mono-installs. You can specify a custom output directory with the --install-dir option.

You can’t perform that action at this time.