Android view and adapt CPU architecture through adb shell command

Enter cmd or cmder

  1. adb shell
  2. cat /proc/cpuinfo

      (note: there is a space after cat)

The current Android CPU architecture is in the table below

as shown in the picture

It can be seen that my architecture is AArch64 

  Then directly find the ndk field in the app's build.gradle and add arm64-v8a.

Guess you like

Origin blog.csdn.net/Melect/article/details/90903083