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

岁酱吖の 提交于 2019-12-29 09:22:28

问题


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 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.



来源:https://stackoverflow.com/questions/54475476/how-do-we-identify-libraries-build-with-ndk-is-64-bit-supported

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!