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
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: