Minecraft written in D - on Android

Vadim Lopatin via Digitalmars-d-announce digitalmars-d-announce at puremagic.com
Tue Apr 26 09:33:51 PDT 2016


On Tuesday, 26 April 2016 at 14:05:19 UTC, WebFreak001 wrote:
> On my android device it says "Failed to parse package"
>
> Also where is the source at so I can run dub manually?

Dub build is available only for desktop.

For Android, clone repository

git clone --recursive https://github.com/buggins/dlangui.git

Go to dlangui/examples/dminer/android_project

Edit paths in file android_build_config.mk

export DLANGUI_DIR=$HOME/src/d/dlangui
export NDK=$HOME/android-ndk-r11c
export SDK=$HOME/android-sdk-linux
export LDC=$HOME/ldc2-android-arm-0.17.0-alpha2-linux-x86_64
export NDK_ARCH=x86_64
export JAVA_HOME=/usr/lib/jvm/java-8-oracle/

To build package, you will need Android NDK, SDK, LDC2 for 
android.
In Android SDK manager, download platform android-19 (Android 
4.4.X)

Build is tested only on Linux X64.

More build instructions:

https://github.com/buggins/dlangui/blob/master/examples/dminer/android_project/README.md




More information about the Digitalmars-d-announce mailing list