问题
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?
回答1:
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 isarm64-v8a.For the x86 architecture, look for x86 for 32-bit and
x86_64for 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.
来源:https://stackoverflow.com/questions/54475476/how-do-we-identify-libraries-build-with-ndk-is-64-bit-supported