Ubuntu 14.04 64-bit use of Google official Android Development integration tool ADT-64 bit cannot use ADB

Source: Internet
Author: User

When using Ubuntu64 bit (14.04), download a adt-bundle-linux-x86_64-20131030.zip, but run the Times wrong:

    1. Android:Gradle:Execution failed for task cannot the Run program android-studio/sdk/build-tools/android-4.2. 2/aapt error=2, not the file or directory

Compile resource times with AAPT error, prompt cannot find aapt this command, but in the SDK name exists this executable file.

Finally on the Internet search reason, found the answer: the system used is 64-bit, and the adt-bundle-linux-x86_64-20131030.zip comes with the SDK is 32-bit.

Install the Compatibility Pack to resolve:

sudo apt-get install Ia32-libs

However, if the corresponding PPA is removed from the ubuntu14.04, it is possible to encounter problems that cannot be installed.

sudo vim/etc/apt/sources.lis

Fill in the appropriate source at the end of the file:

Deb Http://archive.ubuntu.com/ubuntu/raring main restricted universe multiverse

Then execute:

sudo apt-get update

Wait for the update to complete before you execute the install command

sudo apt-get install ia32-libs.

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.