Error adb: error = 12 after JDK and SDK are set up in Ubuntu

Source: Internet
Author: User
After the JDK and SDK environments are set up in 64-bit Ubuntu, the error adb: error = 12 appears. Failedtogettheadbversion: Cannotrunprogram "/home/xxxx/Android/android-sdk/platform-tools/adb": error = 2. No error message for the file or directory: android-sdk-linux/platf

After the JDK and SDK environments are built in 64-bit Ubuntu, the error adb: error = 12 occurs.

Failed to get the adb version: Cannot run program "/home/xxxx/Android/android-sdk/platform-tools/adb": error = 2, no such file or directory

Error message: android-sdk-linux/platform-tools/adb: the file or directory does not exist.

Solution: because it is a 64-bit system, and Androidsdk only 32-bit program, you need to install the ia32-libs to use.

Enable terminal: sudo apt-get install ia32-libs

 

Related Article

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.