Ubuntu 64-bit Android Project error resolution, open 64-bit Ubuntu 32-bit support features

Source: Internet
Author: User

Ubuntu 64 bit under the Android environment, to tell the truth, really have to spend a bit of energy, solve a problem, and come out with a new problem.

Small series yesterday just finally set up the environment of Android, this does not, just built a project, directly on the error, the following is a list of several:

1. Libstdc++.so.6:cannot open Shared object file:no such file or directory

2. Description Resource Path location Type Error executing aapt:cannot run program "XXX/BUILD-TOOLS/21.1.0/AAPT": Error =2.

A whole bunch of mistakes ...

Tools/Materials
    • Ubuntu 64 bit 14.04 LTS
    • Eclipse-java-luna-sr1-linux-gtk-x86_64.tar
    • Networking
Method/Step
    1. First of all, the small part to say is, AAPT need 32 bit support, so, first have to install 32-bit library, many people say press 32 bit library, immediately use: sudo apt-get install ia32-libs This command, but soon found that In 14.04, the li132-libs cannot download the installation

      This is a life that needs to be used:

      sudo apt-get install lib32z1

      It's the king, (it's also mentioned in Eclipse's error)

      Sorry about the order, the small part was forgotten at that time, please understand, but it must be executed.

      PS: The proposed newly installed Ubuntu 64-bit children's shoes, all execute this command, after all, now Ubuntu under a lot of software is heavily dependent on the 32-bit library

    2. After the last step, the system will automatically perform a series of operations (must have a net),

      After the execution, the next thing to deal with the libstdc++6 problem, the same, requires 32-bit, although Ubuntu comes with 64-bit libstdc++6, but Android development still have to use 32 bit ...

      Execute command:

      sudo apt-get install lib32stdc++6

    3. Select Y to continue execution

    4. 4

      It is recommended that you restart your computer.

      After restarting and then opening eclipse, creating a new Android project, you will find that there are not a lot of weird errors.

Ubuntu 64-bit Android Project error resolution, open 64-bit Ubuntu 32-bit support features

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.