title: Android Studio mergeDebugResources issue
body: <p>I seem to be having difficulties switching to Android Studio. I created a new Project in Android Studio 0.4.3 on Ubuntu 13.10. but I have been plagued with issues. I originally had issues on a windows box when it was first distributed which is why i ignored it until recently. I fixed a few things with gradle but seem to still be having other issues and I ended up following a few suggestions from the links bellow though nothing helped. Does anyone have any suggestions.</p>
  
  <p><a href="https://stackoverflow.com/questions/17121033/android-studio-mergedebugresources-exception">mergedebugresources-exception</a></p>
  
  <p><a href="http://www.cnx-software.com/2013/05/16/installing-android-studio-ide-in-ubuntu-hello-world-application/" rel="nofollow noreferrer">installing android studio in ubuntu</a></p>
  
  <p><a href="http://karuppuswamy.com/wordpress/2013/10/23/how-to-install-android-studio-in-ubuntu-linux-13-10/" rel="nofollow noreferrer">How to Install Android studio in ubuntu 13.10</a></p>
  
  <p>I've also installed fastboot and adb in terminal and I have also arbitrarily uninstalled whatever jdk I was using prior had and re-installed java 7 instead of 8 (since it would not install for some reason) via</p>
  
  <pre><code>sudo apt-get purge openjdk*
  sudo rm /var/lib/dpkg/info/oracle-java7-installer*
  sudo apt-get purge oracle-java7-installer*
  sudo rm /var/lib/dpkg/info/oracle-java8-installer* 
  sudo apt-get purge oracle-java8-installer*
  sudo rm /etc/apt/sources.list.d/*java*
  sudo apt-get update
  sudo add-apt-repository ppa:webupd8team/java
  sudo apt-get update
  sudo apt-get install oracle-java7-installer
  </code></pre>
  
  <p>bellow is the error message i am currently receiving</p>
  
  <pre><code>Execution failed for task ':helloandroid:mergeDebugResources'.
  </code></pre>
  
  <blockquote>
    <p>Error: Failed to run command:
        /home/kyle/Development/android-studio/sdk/build-tools/19.0.1/aapt s -i /home/kyle/Development/AndroidStudioProjects/HelloAndroid/helloandroid/build/exploded-bundles/ComAndroidSupportAppcompatV71901.aar/res/drawable-hdpi/abc_textfield_search_right_default_holo_light.9.png -o /home/kyle/Development/AndroidStudioProjects/HelloAndroid/helloandroid/build/res/all/debug/drawable-hdpi/abc_textfield_search_right_default_holo_light.9.png
      Error Code:
        127
      Output:
        /home/kyle/Development/android-studio/sdk/build-tools/19.0.1/aapt: error while loading shared libraries: libz.so.1: cannot open shared object file: No such file or directory</p>
  </blockquote>