[英]Is 'armeabi' 32bit or 64bit?
In regard to this article 关于这篇文章
There is a similar thread here, that says you can unzip the apk file and check the lib folder(if it exists), and all the architectures that are in the lib folder are supported by your apk. 这里有一个类似的线程,它说你可以解压缩apk文件并检查lib文件夹(如果它存在),并且你的apk支持lib文件夹中的所有架构。 The thread I am refering to is this
我所指的线程就是这个
The sdk we are using (apportable) outputs an apk with just the 'armeabi' folder in the lib folder. 我们正在使用的sdk(apportable)输出一个apk,其中只包含lib文件夹中的'armeabi'文件夹。 In 2019, all new applications and updates will have to have an apk that supports 64bit.
在2019年,所有新的应用程序和更新都必须有一个支持64位的apk。
I am just wondering what does armeabi mean, is it just 32bit support or am I safe and it also supports 64bit? 我只是想知道armeabi是什么意思,它只是32位支持还是我安全,它还支持64位?
There is some info about the different architectures in this post but I wanted to make sure that I am not missing something. 这篇文章中有一些关于不同架构的信息,但我想确保我没有遗漏一些东西。
armeabi
is a 32bit arch which does not support floating point operations, not safe for multi-thread operations and generally not used on multi-cpu devices. armeabi
是一个32位的arch,它不支持浮点运算,对多线程操作不安全,通常不用于多CPU设备。
Which means, it is safe to say 99% of phones in today's market do not run on armeabi unless you have initial android phones lying around. 这意味着,可以肯定地说,今天市场上99%的手机都没有在armeabi上运行,除非你有最初的Android手机。
armeabi-v7a
is the modern arch which supports floating point operations, multi- threading safe is used on multi-cpu devices. armeabi-v7a
是支持浮点运算的现代拱门,多线程安全用于多CPU设备。 It is also 32-bit. 它也是32位。
arm64-v8a
is 64-bit arch arm64-v8a
是64位拱
Note: it seems, armeabi
is deprecated in NDK r16 and will be removed completely on r17. 注意:看来,
armeabi
在NDK r16中已被弃用,并将在r17上完全删除。
Update: 64-bit arch support is mandatory from August 1, 2019 to publish app in play store. 更新:从2019年8月1日起,必须提供64位arch支持才能在Play商店中发布应用程序。
For the ARM architecture, the 32-bit libraries are located in armeabi-v7a. 对于ARM体系结构,32位库位于armeabi-v7a中。 The 64-bit equivalent is arm64-v8a.
64位的等价物是arm64-v8a。
For the x86 architecture, look for x86 for 32-bit and x86_64 for 64-bit. 对于x86架构,请查找32位的x86和64位的x86_64。
https://developer.android.com/distribute/best-practices/develop/64-bit https://developer.android.com/distribute/best-practices/develop/64-bit
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.