On a Android device with 64bit ARM, would have two variants of many libraries, 32bit and 64 bit, and their performance could be different. I want to know if there is a way to fo
If your apk is written in pure java (without jni), on 64-bit-primiary/32-bit-secondary Android OS, your app will always run in 64 bit mode by default, but if you want your app to run in 32 bit mode, you can create a dummy *.so file and put it under to force AndroidRuntime to create a 32 bit VM for your app
If some function of your apk is written in jni (there's any *.so file in folder), you can use following command to make it run in 64 or 32 bit VM:
adb shell install --abi armeabi-v7a
adb shell install --abi arm64-v8a