首页 > 技术文章 > 「android」Ubuntu下android studio 编译报错A problem occurred starting process 'command '/Android/Sdk/build-tools/21.1.2/aapt''(转)

ftrako 2016-10-12 18:43 原文

 

转自”http://www.cnblogs.com/jonzone/p/5246531.html“

此问题在stack  over flow 上找到答案。

原链接地址:http://stackoverflow.com/questions/27589844/android-studio-1-0-2-not-building-appmergedebugresources-error

 

解决方法:

//在终端分别运行下面两条指令,安装lib32stdc++6  和lib32z1
sudo apt-get install lib32stdc++6
sudo apt-get install lib32z1


问题原因:Ubuntu can't run the aapt on 64 bit before installing this packages

此问题在Stack overflow上有更新

EDIT 19-04-2016 :

Android Studio 2 have the installation guide updated with those packages and bunch more to compile on 64-bit machines correctly

1
$ sudo apt-get install lib32z1 lib32ncurses5 lib32bz2-1.0 lib32stdc++6

推荐阅读