Skip to content

x86_64 Android - Build Script #39

@andyl

Description

@andyl

In #20, I reported that on my host (Xubuntu 24.04), I am not able to run a Mob app in the Android emulator, because Mob does not distribute an x86_64 Android Beam Runtime (the Erlang VM and standard libraries).

Here I publish a bash script build-otp-android-x86_64.sh (see attached) that builds the missing runtime.

build-otp-android-x86_64.sh

With the generated runtime, my Mob application runs in the emulator, with certain features broken, and periodic device freezes.

Still, this seems to move the ball in the right direction, so I am posting my current WIP.

To use the x86 runtime in the emulator:

> export MOB_ANDROID_OTP_x86_64="$HOME/.mob/x86_64-build/out/otp-android-x86_64" 
> mix mob.deploy --native 

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions