Error when run Android studio IDE

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

When I launch Android studio I encounter this Error:

\"enter

    T         


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

    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.

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

    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

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

    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..:)

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

    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

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

    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

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

    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" />
    
    0 讨论(0)
提交回复
热议问题