How to force Android application to use either 32bit or 64 bit libraries

前端 未结 3 476
既然无缘
既然无缘 2021-02-02 02:32

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

3条回答
  •  野性不改
    2021-02-02 02:44

    ABI can be specified when the apk is installed.

    adb install --abi

    In case ARM device,

    To run in 32 bit mode install using,

    adb install --abi armeabi-v7a

    To run in 64 bit mode install using,

    adb install --abi arm64-v8a

提交回复
热议问题