Will the binaries built for ARM work on Intel processors? [Android]

前端 未结 3 1143
不知归路
不知归路 2021-01-13 09:00

Using NDK I built binaries for ARM processor, but due to some dependencies I can\'t build them for x86. Is there any chance to use this binary on x86 or MIPS architecture? <

3条回答
  •  佛祖请我去吃肉
    2021-01-13 09:38

    Is there any chance to use this binary on x86 or MIPS architecture?

    I cannot comment on MIPS.

    x86 devices that ship with libhoudini will be able to use your ARM-based NDK binaries. AFAIK, that's most of the current-generation x86 devices, like some of Samsung's tablets. If you ship through the Play Store, libhoudini-equipped devices should be able to download and install your app, without any changes on your end.

    Note, though, that libhoudini runs the ARM binaries much more slowly than it would an x86 binary. This is akin to how the Android emulator runs ARM emulator images much more slowly than it does an x86 emulator image.

提交回复
热议问题