Aapt:error while loading shared Libraries:libstdc++.so.6:wrong ELF Class:elfclass64

Source: Internet
Author: User

The front-mounted Android-powered development environment (ECLIPSE+SDK+ADT) on Ubuntu is complete, but the problem arises:

Aapt:error while loading shared Libraries:libstdc++.so.6:wrong ELF Class:elfclass64


The issue also led to the creation of Android apps that did not automatically generate r.java! In the beginning to find out how to solve the problem of not automatically generated R.java, all the online solutions have been tried, the result or failure!


For a person who has just come into contact with Linux, I do not understand a lot, but eventually Google came to the answer:

Should be 64bit program AAPT try to read the 32bit library function, and my Ubuntu does not install the 32bit library, so can not achieve all the functions;

Therefore, you need to install the corresponding 32bit library, the command line:sudo apt-get install lib32ncurses5 lib32stdc++6

重启Eclipse问题解决。


更多相关的问题机器详细的解决地址:http://blog.timmattison.com/archives/2011/11/02/how-to-install-googles-android-eclipse-plugin-and-or-adb-on-64-bit-debian-ubuntu/

Aapt:error while loading shared Libraries:libstdc++.so.6:wrong ELF Class:elfclass64

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.