0

When the android project is build automatically i get the following error:

[2014-12-09 01:51:22 - FlashLight] /root/Desktop/Andriod/android-sdk-linux/build-tools/21.1.1/aapt: /usr/lib/libstdc++.so.6: version `GLIBCXX_3.4.11' not found (required by /root/Desktop/Andriod/android-sdk-linux/build-tools/21.1.1/aapt)

[2014-12-09 01:51:22 - FlashLight] /root/Desktop/Andriod/android-sdk-linux/build-tools/21.1.1/aapt: /lib/libz.so.1: no version information available (required by /root/Desktop/Andriod/android-sdk-linux/build-tools/21.1.1/aapt)

I tried the solutions provided in this question but none of them worked

I am using Eclipse Luna in fedora 10 with ADT plugin.

Community
  • 1
  • 1
Kailash
  • 642
  • 2
  • 9
  • 15

1 Answers1

0

This error states that your environment is missing suitable libraries such as libstdc++ and libz. Did you try to reinstall them by running apt-get install libstdc++6 libz ? Also why are you running this from roots workarea? aren`t you running some different user?

blender
  • 361
  • 3
  • 16
  • i checked that libstdc++ and libz libraries are up to date. I am using root account. – Kailash Dec 09 '14 at 11:09
  • Did you check that they are placed correctly? You may also have a look at this question: http://stackoverflow.com/questions/5216399/usr-lib-libstdc-so-6-version-glibcxx-3-4-15-not-found There was the problem that gcc were handcompiled and not installed corretly – blender Dec 09 '14 at 11:24