JakeWharton / sdk-manager-plugin

DEPRECATED Gradle plugin which downloads and manages your Android SDK.
Apache License 2.0
1.41k stars 142 forks source link

Build tools 22.0.1 downloaded successfully but tools not executable #72

Open brennantaylor opened 9 years ago

brennantaylor commented 9 years ago

Amazon AWS 64bit machine.

aapt and none of the other tools were executable. Probably an issue with the archive itself? I'll file a bug with the build tools team too. But I wanted to get some visibility here.

artem-zinnatullin commented 9 years ago

Problem is that some native binaries from Android SDK like aapt and others compiled for 32-bit architecture only, so on 64-bit Linux distributives you often need to instal some 32-bit system libraries manually, like libncurses5:i386 libstdc++6:i386 zlib1g:i386

Please visit http://developer.android.com/sdk/installing/index.html?pkg=tools, click on Show instructions for all platforms and check Troubleshooting Ubuntu section.

brennantaylor commented 9 years ago

That's not the issue at all. I literally had to go in and chmod +x the binaries. I already have all the i386 compat stuff installed.

artem-zinnatullin commented 9 years ago

Oh, I got it. So, my suggestion was incorrect, sorry.

brennantaylor commented 9 years ago

No worries. I appreciate the help.