为 ARM 构建的二进制文件能否在英特尔处理器上运行?[安卓] [英] Will the binaries built for ARM work on Intel processors? [Android]

查看:28
本文介绍了为 ARM 构建的二进制文件能否在英特尔处理器上运行?[安卓]的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用 NDK 为 ARM 处理器构建了二进制文件,但由于某些依赖性,我无法为 x86 构建它们.有没有机会在 x86 或 MIPS 架构上使用这个二进制文件?

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?

推荐答案

有没有机会在 x86 或 MIPS 架构上使用这个二进制文件?

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

我无法评论 MIPS.

I cannot comment on MIPS.

随附 libhoudini 将能够使用基于 ARM 的 NDK 二进制文件.AFAIK,这是大多数当前一代的 x86 设备,比如三星的一些平板电脑.如果您通过 Play 商店发货,则配备 libhoudini 的设备应该能够下载和安装您的应用,而无需对您进行任何更改.

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.

但请注意,libhoudini 运行 ARM 二进制文件的速度比 x86 二进制文件慢得多.这类似于 Android 模拟器运行 ARM 模拟器映像的速度比 x86 模拟器映像慢得多.

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.

这篇关于为 ARM 构建的二进制文件能否在英特尔处理器上运行?[安卓]的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆