zoukankan      html  css  js  c++  java
  • Android studio启动后无法更新



    I'm trying to run android-studio 1.0 on ubuntu using start up script but as i'm behind proxy the android studio gets stuck at "Fetching android sdk component information" and never downloads it. This occurs when i start android script from /bin/studio.h , at startup android-studio tries to download sdk but as i'm beyond proxy it won't download sdk.

    I tried adding -Dhttp.proxyHost= and -Dhttp.proxyport in studio.vmoptions still doesn't fetch sdk. As it gets stuck in the fetching screen i'm unable to get GUI and hence not able to set proxy from GUI as well. Also get this error after starting " WARN - ateSettings.impl.UpdateChecker - Connection failed. Please check your network connection and try again."

    Let me know if there is an workaround for this , thanks


    Go to the install location, open bin directory, edit the idea.properties, add below line to the file's end:

        disable.android.first.run=true

    Then open android studio, set the proxy in configuration and close again.

    Remove the line disable.android.first.run=true from idea.properties and open android studio again.

    After this, you can work behind a proxy.

  • 相关阅读:
    js小程序
    事务的概念
    为期一个月培训的总结
    软件测试培训总结篇2
    软件测试培训总结篇1
    软件测试培训第30天
    软件测试培训第29天
    软件测试培训第28天
    软件测试培训第26天
    软件测试培训第27天
  • 原文地址:https://www.cnblogs.com/ppazhang/p/4297882.html
Copyright © 2011-2022 走看看