问题描述
我看到这个库(armeabi)很多时候,我探索公开来源,与我一派的定义,它和所有我发现在谈论它,而不是定义它的结果,我想知道这是什么armeabi和他们为什么使用它在Android应用程序。
I see this library (armeabi) many times when I explore open sources, and I "googled" for Definition it, and all the results I found talking ABOUT it and not defining it, I want to know what is this armeabi and why they use it in android application.
推荐答案
Android设备具有的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 ++ code链接到他们的应用程序。 C / C ++ code需要被编译为一个特定的CPU架构。 NDK的地方的C / C ++ code编译每个架构的版本到一个体系结构特定的目录。其中一个目录是 armeabi /
,这是一个通用的ARM CPU。还有 armeabi-V7 /
(对于ARM V7兼容CPU), 86 /
(对于x86处理器)等等。
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以及他们为什么使用它的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!