API call to get processor architecture

后端 未结 8 2030
野的像风
野的像风 2020-12-05 01:59

As part of my app I\'m using the NDK and was wondering if it\'s worth bundling x86 and mips binaries alongside the standard ARM binaries.

I figured the best way woul

8条回答
  •  南方客
    南方客 (楼主)
    2020-12-05 02:48

    You can use the Build class:

    import android.os.Build;

    and then read:

    Build.CPU_ABI

提交回复
热议问题