16

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: enter image description here

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.

red888
  • 27,709
  • 55
  • 204
  • 392

2 Answers2

43

Show Package Details under SDK Tools tab gives you more info on obtaining the older build tools. enter image description here

Joe Volcano
  • 663
  • 8
  • 14
0

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: enter image description here

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?

red888
  • 27,709
  • 55
  • 204
  • 392