问题
I have changed the gradle to something like this,
which is in accordance with the documentation from Google Dev.
then how do I know if my application supports 64 bits?
I tried with Build -> Analyze APK, but I did not find the lib folder or file with the format .so. how to solved this?
回答1:
The 64 bit change only affects apps that use "native code", ie code that compiles for the processor on the device, as opposed to being written in Java or Kotlin.
This will only be true for you if:
- You have written such native code (probably in C or C++) using the Android NDK
- You use a third party library that has native code
If the former, then you should know how to target more processors (See this page). If the latter then you will need to talk to the developer of the third party library.
But if your app has no .so files, and it is entirely written in Java or Kotlin, you don't need to do anything, it supports 64 bit.
来源:https://stackoverflow.com/questions/54586186/how-to-i-know-android-app-supports-64bit