Ubuntu下android studio 編譯報錯A problem occurred starting process 'command '/Android/Sdk/build-tools/21.1.2/aapt''


此問題在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

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

  


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM