I while building my project I am getting this error-
Error : [installPlatformSDK] build tools version 25.0.2 is not installed in SDK.
Weird thing is that this is present in my SDK.
Inside C:\xxxxxxx\AppData\Local\Android\android-sdk\build-tools, I have a folder 25.0.2 and it contains the build tools.
Now, if I change the build tools version in Gradle, from, say,
buildToolsVersion '25.0.2'
to
buildToolsVersion '25.0.1'
, I get this :
Failed to find Build Tools revision 25.0.1
Install Build Tools 25.0.1 and sync project
After I install build tools 25.0.1, I again get the same, first error (not found).