redroid-doc icon indicating copy to clipboard operation
redroid-doc copied to clipboard

ABI mismatch or native library incompatibility

Open directentis1 opened this issue 2 months ago • 0 comments

Describe the bug 请详细描述问题(ZH_CN) Some apps don't work correctly even with libhoudini or libndk.

I would love to have any suggestions for this problem. Most other applications work fine, but only a couple of such applications crash.

make sure the required kernel modules present 确保必须的内核功能已开启(ZH_CN)

  • [ x] grep binder /proc/filesystems
  • [ ] grep ashmem /proc/misc (optional)

Collect debug logs 收集调试日志(ZH_CN) curl -fsSL https://raw.githubusercontent.com/remote-android/redroid-doc/master/debug.sh | sudo bash -s -- [CONTAINER] omit CONTAINER if not exist any more. 如容器已退出,可忽略CONTAINER参数(ZH_CN)

logcat.txt

** Configurations docker-compose.yml

services:
  redroid:
    image: redroid/redroid:13.0.0_litegapps
    stdin_open: true
    tty: true
    privileged: true
    ports:
      - 0.0.0.0:5555:5555 # ADB port, to enhance security, set it to only listen to the local localhost port
    volumes:
      - ./redroid-data:/data # The data is stored in the current directory
    command:
      - androidboot.redroid_width=1200 # # Screen resolution
      - androidboot.redroid_height=1920
      - androidboot.redroid_dpi=480
      - androidboot.redroid_fps=60
      - androidboot.redroid_gpu_mode=guest # host = GPU hardware acceleration, guest = software rendering
      - ro.product.cpu.abilist0=x86_64,arm64-v8a,x86,armeabi-v7a,armeabi # Set libndk parameters
      - ro.product.cpu.abilist64=x86_64,arm64-v8a
      - ro.product.cpu.abilist32=x86,armeabi-v7a,armeabi
      - ro.dalvik.vm.isa.arm=x86
      - ro.dalvik.vm.isa.arm64=x86_64
      - ro.enable.native.bridge.exec=1
        # - ro.dalvik.vm.native.bridge=libhoudini.so
      - ro.dalvik.vm.native.bridge=libndk_translation.so
      - ro.ndk_translation.version=0.2.2
      - androidboot.use_memfd=1

Screenshots 截图(ZH_CN) If applicable, add screenshots to help explain your problem.

directentis1 avatar Oct 17 '25 09:10 directentis1