Magic Lantern Developer Wiki
Build Cross-platform Applications
Status: Beta
Brought to you by:
wizzerworks
This page discusses how to build the Magic Lantern SDK for Android platforms using Android Studio.
Note: This technique is currently under development and extremely volatile.
This section identifies dependencies for building the Magic Lantern SDK.
These instructions assume the following:
The source for the Android Studio projects are currently located on Github under the Magic Lantern Studio organization (https://github.com/magic-lantern-android-studio).
In a console window, create a project directory:
$ mkdir ~/MagicLantern
In a console window, clone the git repositories from Github:
$ cd ~/MagicLantern
$ git clone https://github.com/magic-lantern-android-studio/core-math.git
$ git clone https://github.com/magic-lantern-android-studio/core-runtime.git
$ git clone https://github.com/magic-lantern-android-studio/parts-base.git
$ git clone https://github.com/magic-lantern-android-studio/parts-actors.git
$ git clone https://github.com/magic-lantern-android-studio/parts-roles.git
$ git clone https://github.com/magic-lantern-android-studio/parts-sets.git
$ git clone https://github.com/magic-lantern-android-studio/parts-stages.git
$ git clone https://github.com/magic-lantern-android-studio/parts-mrefs.git
$ git clone https://github.com/magic-lantern-android-studio/parts-props.git
$ git clone https://github.com/magic-lantern-android-studio/titles-imagetest.git
$ git clone https://github.com/magic-lantern-android-studio/mle-tools.git
You should now have eleven Android Studio projects located in
Project | Description |
---|---|
~/MagicLantern/core-math | Magic Lantern Math utility library |
~/MagicLantern/core-runtime | Magic Lantern Runtime Engine library |
~/MagicLantern/parts-base | Magic Lantern support library |
~/MagicLantern/parts-actors | Magic Lantern Actors library |
~/MagicLantern/parts-roles | Magic Lantern Roles library |
~/MagicLantern/parts-sets | Magic Lantern Sets library |
~/MagicLantern/parts-stages | Magic Lantern Stages library |
~/MagicLantern/parts-mrefs | Magic Lantern Media Reference library |
~/MagicLantern/parts-props | Magic Lantern Properties library |
~/MagicLantern/titles-imagetest | Magic Lantern Image Test application |
~/MagicLantern/mle-tools | Magic Lantern Tools |
Alternatively, you can use the following approach using the "repo" tool from Google (see [repo Installation Instructions].
repo init -u https://github.com/magic-lantern-android-studio/mle-tools.git
repo sync