When I launch Android studio I encounter this Error:
T
Try to rename folder 21.1.2
inside Android SDK build-tools
folder (in my case it was c:\Users\prokofyev\AppData\Local\Android\sdk\build-tools\21.1.2
) to android-5.0
(in my case it became c:\Users\prokofyev\AppData\Local\Android\sdk\build-tools\android-5.0
). This way I fixed similar error on new Android Studio installation.
download build-tools:21.1.1 from build-tools_r21.1.1-windows.zip
and unzip, it will extract the entire folder to copy or move your sdk /build-tools folder. name folder must be build-tools_21.1.1
Some tools are missing.
Download build-tools_r21.1.1-windows.zip and unzip it. Run Android Studio again.
If you get similar error again Check this for missing android tools.
Enjoy coding..:)
This usually happens when you can not download sdk from google, try to download it manually.
You can get the build you mentioned at google or bellow link:
this link
Unzip it in \sdk\build-tools
If you are getting UnknownHostException the the problem lies in the proxy - click the close icon (the X in the upper right corner) and agree to start setup next time again. Then in the Studio itself go to Configure -> Settings -> search for proxy and set up your proxy (auto-detect or manual).
Running as administrator might help as well
Configure a proxy for Android studio by modifying other.xml file at:
C:\Users\"Your account"\.AndroidStudio\config\options\other.xml
Then change the proxy configurations as follows:
<option name="USE_HTTP_PROXY" value="true" />
<option name="USE_PROXY_PAC" value="false" />
<option name="PROXY_HOST" value="your_proxy_server" />
<option name="PROXY_PORT" value="your_proxy_port" />