Android studio 1.0.2 not building app:mergeDebugResources error

后端 未结 2 1791
青春惊慌失措
青春惊慌失措 2020-11-30 04:32

I just installed android studio on linux , configured the SDK and installed the building tools now when I try to sync with gradle or (build the app) it fails and throws this

2条回答
  •  一整个雨季
    2020-11-30 04:46

    I solved the problem by running those commands

    $ sudo apt-get install lib32stdc++6
    $ sudo apt-get install lib32z1
    

    Ubuntu can't run the aapt on 64 bit before installing this packages

    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
    

提交回复
热议问题