系統(tǒng): ubuntu 15
剛把項(xiàng)目從 eclipse 轉(zhuǎn)到 Android , 在運(yùn)行 gradle 構(gòu)建的時候出現(xiàn)如下錯誤 :
Executing tasks: [:assembleDebug]
....
AAPT err(682906863): /home/php/Android/android-sdk-linux/build-tools/22.0.1/aapt: error while loading shared libraries: libstdc++.so.6: cannot open shared object file: No such file or directory
原因是: 64位的Ubuntu系統(tǒng), 應(yīng)該是缺少 lib32stdc++6這個包或听,你用 apt-get install lib32stdc++6
安裝一下就可以