如何在 Android 设备上找到 ARM 处理器版本?

我尝试了下面的命令,它在几个设备上运行良好。

adb shell getprop | grep abi

此命令无法获得某些设备的 ARM 处理器版本。有没有其他方法可以知道我的设备运行的是什么版本的 ARM 处理器?

谢谢

91809 次浏览

Try

adb shell cat /proc/cpuinfo

There is also:

adb shell getprop ro.product.cpu.abilist

Execute the following command:

adb shell getprop ro.product.cpu.abi

What worked for me is a mix of two methods. Firs I try

adb shell getprop ro.product.cpu.abilist

And if it is not clear (in case of Huawei Octacores) you can use

adb shell getprop ro.product.cpu.abi

Try,

adb shell getprop | grep ro.product.cpu.abi

It would give you the abi type based on which you can find which arch the device belongs to.

Reference : https://developer.android.com/ndk/guides/abis

Eg;

x86         - 32 bit x86 architecture
x86_64      - 64 bit x86 architecture
armeabi-v7a - 32 bit arm architecture
arm64-v8a   - 64 bit arm architecuture