Menu

SDK_Build_Environment_for_Android_Platform

There is a newer version of this page. You can find it here.

SDK Build Environment for Android Platform

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.

Dependencies

This section identifies dependencies for building the Magic Lantern SDK.

  1. Google's Android Studio, version 2.1.2 (see [Android Studio Installation] for more details).
  2. Oracle Java Development Kit (JDK), version 1.8.0_91 Required by Android Studio (download from http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html).

Assumptions

These instructions assume the following:

  • The dependencies above are installed in their default locations.
  • You already know how to use the Android Studio IDE

Download Source

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).

Create a Project Directory

In a console window, create a project directory:

$ mkdir ~/MagicLantern

Retrieve Source Using Git

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 | TBD
~/MagicLantern/core-runtime | TBD
~/MagicLantern/parts-base | TBD
~/MagicLantern/parts-actors | TBD
~/MagicLantern/parts-roles | TBD
~/MagicLantern/parts-sets | TBD
~/MagicLantern/parts-stages | TBD
~/MagicLantern/parts-mrefs | TBD
~/MagicLantern/parts-props | TBD
~/MagicLantern/titles-imagetest | TBD
~/MagicLantern/mle-tools | TBD

Alternatively, you can use the following approach using the "repo" tool from Google (see [repo Installation Instructions].

repo init
repo sync

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.