Skip to content

Conversation

@Shmayro
Copy link
Owner

@Shmayro Shmayro commented Aug 11, 2025

Summary

  • install libndk native bridge during first boot to run ARM-only APKs
  • enable native bridge feature in emulator startup
  • document ARM app support in README

Testing

  • bash -n first-boot.sh
  • bash -n start-emulator.sh

fixing #5

@Shmayro Shmayro added enhancement New feature or request codex and removed codex labels Aug 11, 2025
@Shmayro Shmayro closed this Aug 11, 2025
@Shmayro Shmayro deleted the codex/fix-arm-compatibility-issue-in-repo branch August 11, 2025 09:05
@Shmayro Shmayro restored the codex/fix-arm-compatibility-issue-in-repo branch August 11, 2025 09:13
@Shmayro Shmayro reopened this Aug 11, 2025
@Shmayro Shmayro changed the title Add native bridge support for ARM apps feat: add native bridge support for ARM apps Aug 11, 2025
@waihankan
Copy link

is aarch64 supported now?

@Shmayro
Copy link
Owner Author

Shmayro commented Oct 13, 2025

is aarch64 supported now?

@waihankan This only allows running arm apps into x86
To support aarch64, we need to aarch64 android ROM instead of X86, they still not publicly available, i will rechallenge this

@directentis1
Copy link

Testing some apps that work well.
But there seems to be a bug somewhere, when installing xapk with AppManager or xapk, it leads to a reboot.

@andrea-nisti
Copy link

andrea-nisti commented Dec 10, 2025

EDIT: pulling the container with tag pr-17 seems to work so i may have built incorrectly.


trying to test this but I get a segfault on launch

dockerify-android  | /root/start-emulator.sh: line 9:   221 Segmentation fault      (core dumped) /opt/android-sdk/emulator/emulator -avd android -nojni -netfast -writable-system -no-window -no-audio -no-boot-anim -skip-adb-auth -gpu swiftshader_indirect -no-snapshot -no-metrics -feature AllowlistedNativeBridge $RAMDISK -qemu -m ${RAM_SIZE:-4096}

and when I try to run that commands from the docker itself i get

WARNING      | Could not open libX11-xcb.so, try libX11-xcb.so.1
INFO         | SharedLibrary::open for [libX11-xcb.so.1]
INFO         | SharedLibrary::open for [libX11-xcb.so.1]: not found in map, open for the first time
INFO         | SharedLibrary::open for [libX11-xcb.so.1] (posix): begin
INFO         | SharedLibrary::open for [libX11-xcb.so.1] (posix,linux): call dlopen on [libX11-xcb.so.1]
INFO         | SharedLibrary::open for [libX11-xcb.so.1] failed (posix). dlerror: []
ERROR        | Could not open libX11-xcb.so.1, give up

I may be doing something wrong. Just switched to this branch and run docker build

@Shmayro
Copy link
Owner Author

Shmayro commented Dec 23, 2025

@andrea-nisti i have fixed this issue, i will get this pr updated. So you can test if it works

I will try also to test it so we can merge this changes

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

codex enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants