This repository was archived by the owner on Apr 27, 2026. It is now read-only.
File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -4,6 +4,8 @@ This Android Studio project wraps the [Desktop Sample App](https://github.com/el
44
55## How to build & run
66
7+ 1 . Install the beta OTP build * (see known issues)
8+
791 . Install [ Android Studio] ( https://developer.android.com/studio ) + NDK.
810
9111 . Go to "Files -> New -> Project from Version Control" and enter this URL: https://github.com/elixir-desktop/android-example-app/
@@ -18,6 +20,15 @@ This Android Studio project wraps the [Desktop Sample App](https://github.com/el
1820
1921### Update built-in Runtime
2022
23+ To have the embedded Erlang match the one you use for compilation you can install
24+ the same version as the embedded:
25+
26+ ``` bash
27+ mkdir -p ~ /projects/
28+ kerl build git https://github.com/diodechain/otp.git diode/beta 24.beta
29+ kerl install 24.beta ~ /projects/24.beta
30+ ```
31+
2132The current runtime that is precompiled and sits in assets/ folder is based on dev branch of OTP currently under
2233https://github.com/diodechain/otp/tree/diode/beta
2334Because the included OTP apps have different versions such as ` crypto-5.0.3 ` you can only compile this project
Original file line number Diff line number Diff line change 11#! /bin/bash
2-
2+ set -e
33BASE=` pwd`
4- # Here activate your Erlang/Elixir version, in my case this is using kerl:
5- # . /Users/dominicletz/projects/24.beta/activate
4+ # Here activate your Erlang/Elixir version, in my case this is using kerl.
5+ # To have the embedded Erlang match the one you use for compilation you can install
6+ # the same version as the embedded:
7+ # mkdir -p ~/projects/
8+ # kerl build git https://github.com/diodechain/otp.git diode/beta 24.beta
9+ # kerl install 24.beta ~/projects/24.beta
10+
11+ . ~ /projects/24.beta/activate
612export MIX_ENV=prod
713export MIX_TARGET=android
814
You can’t perform that action at this time.
0 commit comments