When I launch Android studio I encounter this Error:
T
For Ubuntu users, check that the folder where the SDK will be installed has permissions.
I also had the same problem. See the picture below:
Solution: Run it as an administrator.
Adding to answer by @Erfan , If you are using automatic configuration script instead of a proxy server , Change the settings as below :
C:\Users\"Your account".AndroidStudio\config\options\other.xml
Then change the line about proxy configurations like this:
<component name="HttpConfigurable">
<option name="PROXY_TYPE_IS_SOCKS" value="false" />
<option name="USE_HTTP_PROXY" value="false" />
<option name="USE_PROXY_PAC" value="true" />
<option name="PROXY_HOST" value="" />
<option name="PROXY_PORT" value="80" />
<option name="PROXY_AUTHENTICATION" value="true" />
<option name="PROXY_LOGIN" value=" your User Name" />
<option name="PROXY_PASSWORD_CRYPT" value=" Your Domain Password " />
<option name="KEEP_PROXY_PASSWORD" value="false" />
<option name="myGenericPasswords">
<map />
</option>
<option name="myGenericCancelled">
<set />
</option>
<option name="PROXY_EXCEPTIONS" value="" />
<option name="USE_PAC_URL" value="true" />
<option name="PAC_URL" value=" Put Pac Url Here mentioned in Auto Config Script " />
</component>
code.google.com/p/android/issues/detail?id=82789
download build-tools21.1.1 google link or dehkadeco.ir link
sdk will be located under C:\Users\<>\AppData\Local\Android\sdk.
You may find that 21.1.2 is already in place C:\Users\<>\AppData\Local\Android\sdk\build-tools Create a folder with name "21.1.1" under this.
Copy all the files from the downloaded build-tools:21.1.1 under android-5.0 to C:\Users\<>\AppData\Local\Android\sdk\build-tools\21.1.1
Start the Android studio now.
Android Studio was not able to connect to internet in my work PC due to Intranet Proxy/Firewall settings, changing the proxy settings didnt help me either.
Android studio was failing to run as it requires to install the above mentioned packages. As a work around I installed the packages from Android SDK Manager and it solved it.
You can find the SDK Manager under C:\Users\< UserName> \AppData\Local\Android\sdk\SDK Manager.exe In the GUI choose the following options whichever is relavant.
After installation is complete try launching the Android Studio
I had the same problem, But when I opened the studio "as administrator" error has gone!!! And my problem solved!!!! In my case I have installed the sdk in different location since I don't want install anything on my user folder.
There is one more thing I have done that is I made the folder as writable from read access. (But I don't think this step is necessary)