Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialAudakel BIt
171 Pointsandroid-4.4w/aapt: error=2 no such file or directory
I am on ubuntu linux and am able to open up the SDK, however I keep getting an error when I try and run the emulator. I already tried reinstalling. any ideas? THanks!
/home/audakel/AndroidStudioProjects/FunFacts/app/src/main/res/drawable-hdpi/ic_launcher.png: Error: Cannot run program "/home/audakel/Downloads/android-studio/sdk/build-tools/android-4.4W/aapt": error=2, No such file or directory
3 Answers
Kristen Law
16,244 PointsMaybe this will help:
From user1422843 on Stack Overflow:
Aapt is a 32bit application. I am running ubuntu 64bit. I needed some additional libraries. First thing I did was update to 13.04 from 12.10. It broke chrome but this should help.
To get aapt working (this fixed my issues with the avd as well) just run these two commands:
sudo apt-get install lib32stdc++6
sudo apt-get install lib32z1From this post.
Now no more problems.
Audakel BIt
171 PointsThat worked, thank you so much!!! I never would have thought to do that! You are the best!
Mohammed Najeeb Wandawi
1,709 Points4.4w = android wear
Audakel BIt
171 PointsAudakel BIt
171 PointsStarting emulator for AVD 'MyFirstApp' Failed to start emulator: Cannot run program "/home/audakel/Downloads/android-studio/sdk/tools/emulator": error=2, No such file or directory