Error when run Android studio IDE

后端 未结 12 1974
终归单人心
终归单人心 2020-12-14 07:03

When I launch Android studio I encounter this Error:

\"enter

    T         


        
相关标签:
12条回答
  • 2020-12-14 07:36

    For Ubuntu users, check that the folder where the SDK will be installed has permissions.

    0 讨论(0)
  • 2020-12-14 07:41

    I also had the same problem. See the picture below:

    enter image description here

    Solution: Run it as an administrator.

    enter image description here

    0 讨论(0)
  • 2020-12-14 07:43

    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>
    
    0 讨论(0)
  • 2020-12-14 07:44

    code.google.com/p/android/issues/detail?id=82789

    1. download build-tools21.1.1 google link or dehkadeco.ir link

    2. sdk will be located under C:\Users\<>\AppData\Local\Android\sdk.

    3. 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.

    4. 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

    5. Start the Android studio now.

    0 讨论(0)
  • 2020-12-14 07:45

    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.

    • Tools->All Android SDK Build-tools and SDK Platform-tools under version 21.*
    • Everything under Android 5.0.1(API 21)
    • Everything under Extras

    After installation is complete try launching the Android Studio

    0 讨论(0)
  • 2020-12-14 07:47

    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.

    enter image description here

    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)

    0 讨论(0)
提交回复
热议问题