Android studio 1.0.2 not building app:mergeDebugResources error

后端 未结 2 1776
青春惊慌失措
青春惊慌失措 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
    
    0 讨论(0)
  • 2020-11-30 05:01

    I had the same issue even after trying out the accepted solution. In my case the gradle build tool version that I've specified was not installed on my debian system. It worked like a charm after I changed the buildToolVersion to the installed version which was (23.0.2)

    0 讨论(0)
提交回复
热议问题