Reputation: 7911
I just installed android studio in Ubuntu again. I also installed all required sdk packages, but when I create any project it shows a message gradle build failed.
The error is about build tools, I have installed 2 build-tools 19.1.0 and 21.1.2 I also tried running project with build-tool 21.1.2 but it shows the same error.
The error is
Error:Error: Cannot run program "/opt/google/android/android-sdk/android-sdk-linux/build-
tools/19.1.0/aapt": error=2, No such file or directory
Error says no such file or directory but I checked in downloaded packages, there exists a file aapt even though it shows an error.
Please help me solving it.
Upvotes: 3
Views: 1775
Reputation: 605
Check the permissions of this path for user you use to start Android Studio.
Upvotes: 1