When using JNI programming in Android, you will need to compile different so files to fit different models.
For example:
This requires viewing CPU information for different models.
Use the ADB command to view the CPU information command as follows:
1. ADB shell 2. Cat /proc/cpuinfo
See the following information (note that only one device can be connected at a time):
This is the 64-bit CPU of the Huawei model.
This is 32-bit.
If the ADB shell does not open, the Adb.exe path needs to be added to the environment variable path.
If the "Unable to start this program" appears because AdbWinApi.dll is missing from the computer. Try reinstalling the program to resolve this issue. ", you will need to copy the AdbWinAPi.dll file to the System32/syswow64 (depending on the number of system bits)
Android uses ADB command to view CPU information