Vinil Chandran
Vinil Chandran

Reputation: 1561

How do we identify libraries build with NDK is 64-bit supported?

Google saying that apps using native code / libraries must provide a 64-bit version in addition to the 32-bit version by August 1, 2019. It's easy to identify the app developed in NDK from it's code. But how do we identify a library which is developed in NDK?

Upvotes: 1

Views: 654

Answers (1)

shizhen
shizhen

Reputation: 12573

According to Does your app use native code?,

For the ARM architecture, the 32-bit libraries are located in armeabi-v7a. The 64-bit equivalent is arm64-v8a.

For the x86 architecture, look for x86 for 32-bit and x86_64 for 64-bit.

So,

how do we identify a library which is developed in NDK?

Similarly as .apk, you can inspect the directory structure of the library, i.e. the .aar, has directories like lib/arm64-v8a/xxx.so or lib/x86_64/xxx.so, if yes, it means this .aar is developed as 64-bit.

Upvotes: 2

Related Questions