Skip to content →

Android Studio Under Debian – The Return

So, in trying to actually run Android Studio on a new machine, I’ve had to add a few more dependencies. You can see the original post here: Android Studio Under Debian. Now I am running Debian Testing, and came up against some more interesting missing dependencies after that when creating a new project. So if you get an error like so:

> /home/tbsliver/<snip>/app/src/main/res/drawable-xxhdpi/ic_launcher.png: Error: Cannot run program “/home/tbsliver/Development/android-studio/sdk/build-tools/20.0.0/aapt”: error=2, No such file or directory

Then you need to install a few extra packages. Elsewhere on the internet it will tell you to install ‘ia32-libs’, however these have been replaced with two other packages. So install them as so:

sudo apt-get install lib32z1 lib32ncurses5

And then you will also need one final package which you will get errors about otherwise:

sudo apt-get install lib32stdc++6

After that, it should work and run the Gradle commands nicely! hope this helps someone! (or just reminds me what the issues are later)

Published in Android Android Studio Java linux Programming

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *