Open thehaigo opened 2 months ago
It is created using the runtimes
github repo: https://github.com/elixir-desktop/runtimes
Happy to help with that. And let me know if you have ideas of how to make this easier.
I have had no problems creating the following files using
arm64-v8a-runtime.zip armeabi-v7a-runtime.zip x86_64-runtime.zip
but erlang.jar not created https://github.com/elixir-desktop/android-example-app/blob/master/app/libs/erlang.jar
Although not runtime, I have created a library to easily create app projects
Yeah, previously I've done the last step manually but it's quite straight forward. (would love a PR for that)
lib
directory and copy the files with prefixes arm64-v8a
| armeabi-v7a
| x86_64
respectively into liblib
directory and rename to erlang.jarThe result should then have this layout:
$ zipinfo -2 ./app/libs/erlang.jar
lib/
lib/arm64-v8a/
lib/arm64-v8a/liberlang.so
lib/arm64-v8a/lib__erl_child_setup.so
lib/arm64-v8a/lib__inet_gethost.so
lib/armeabi-v7a/
lib/armeabi-v7a/liberlang.so
lib/armeabi-v7a/lib__inet_gethost.so
lib/armeabi-v7a/lib__erl_child_setup.so
lib/x86_64/
lib/x86_64/liberlang.so
lib/x86_64/lib__erl_child_setup.so
lib/x86_64/lib__inet_gethost.so
work it! thank you!
I tried jar command, but not works 😢
I'll create a PR later.
build erlang 26.2 by runtime replace app/assets's runtime files and run but below error
I suspect that not only the runtime update but also an update of
libs/erlang.jar
is necessary. How iserlang.jar
created?