Android uses ADB command to view CPU information

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.