什么是Armeabi?为什么要使用它? [英] What is armeabi and why they use it?

查看:147
本文介绍了什么是Armeabi?为什么要使用它?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我探索开放源代码时,我会多次看到这个库(armeabi).

I see this library (armeabi) many times when I explore open sources.

我一直在寻找有关它的解释,但是我发现的所有结果都是关于它的讨论,而不是对其进行定义.

I net searched for an explanation of it, but all the results I found are talking ABOUT it and not defining it.

这是什么犰狳,为什么他们要在Android应用程序中使用它?

What is this armeabi and why are they using it in Android applications?

推荐答案

Android设备具有CPU.这些CPU中有许多是基于ARM体系结构的,而有些则是基于x86的,而另一些则是基于诸如MIPS之类的其他东西的.

Android devices have CPUs. Many of those CPUs are based on the ARM architecture, while some are based on x86, and a few others are based on other stuff like MIPS.

某些Android应用程序使用本机开发工具包(NDK)创建C/C ++代码以链接到其应用程序.需要针对特定​​的CPU架构编译C/C ++代码.NDK将针对每种体系结构编译的C/C ++代码版本放入特定于体系结构的目录中.这些目录之一是 armeabi/,它用于通用ARM CPU.还有 armeabi-v7/(用于与ARM v7兼容的CPU), x86/(用于x86 CPU)等.

Some Android apps use the Native Development Kit (NDK) to create C/C++ code to link into their app. C/C++ code needs to be compiled for a specific CPU architecture. The NDK places the version of the C/C++ code compiled for each architecture into an architecture-specific directory. One of those directories is armeabi/, which is for a generic ARM CPU. There is also armeabi-v7/ (for an ARM v7-compatible CPU), x86/ (for x86 CPUs), etc.

这篇关于什么是Armeabi?为什么要使用它?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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