android-armebi-v7a, arm64-v8a, Armebi's pits

Source: Internet
Author: User

First, a wave of literacy:

Armeabi: for normal or old arm v5 CPUs

armeabi-v7a: arm v7 CPUs (32-bit ARM devices) with floating-point arithmetic or advanced expansion capabilities

arm64-v8a:64-bit ARM device

Android L only really support 32-bit and 64-bit art virtual machines, with 64-bit processors, justify running 64-bit software

Compatibility and file read order

ARM64-V8A can be backwards compatible, with Armeabi-v7a,armeabi under it.
ARMEABI-V7A backwards compatible Armeabi

For a CPU is the ARM64-V8A architecture of the phone, when it runs the app, go to Jnilibs to read the library file, first see there is no arm64-v8a folder:

If there is no such folder, go to the armeabi-v7a folder, if not, then go to the Armeabi folder, if not even this folder, throw an exception
If you have a arm64-v8a folder, then go to the. So file for a specific name, Note: If not found, no further down (armeabi-v7a folder), but directly throw an exception

Reference from:

http://blog.csdn.net/mao520741111/article/details/50328669

http://blog.csdn.net/hss01248/article/details/51505531

Http://www.voidcn.com/blog/u013278099/article/p-4944290.html

http://blog.csdn.net/vhawk/article/details/49964475

android-armebi-v7a, arm64-v8a, Armebi's pits

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.