Reputation: 31672
I trying to build an android project that needs a previous version of the Android SDK and build tools: https://github.com/googlevr/gvr-android-sdk.git (android-24)
In Android studio I went to the SDK manager and installed the previous version:
But when I went to try build the project with grandle I get this error:
Failed to find Build Tools revision 24.0.0
Looks like sdk manager didnt install the Build Tools. How do I do this.
Upvotes: 23
Views: 14366
Reputation: 783
Show Package Details under SDK Tools tab gives you more info on obtaining the older build tools.
Upvotes: 55
Reputation: 31672
So this is a bug/missing feature of android-studio?
I had to run the SDK manager directly from: C:\Users\<User Name>\AppData\Local\Android\sdk\
and in there I could see the build tools broken out separately from the sdks. Unless I'm missing something I didn't see that in studio. Installing from SDK Manager worked:
Just curious, how is this process automated? How can I have a project automatically download all its dependancies without have to run grandle in studio, have it throw and error, download missing dependancies, and try again?
Upvotes: 1