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.

更多相关文章

  1. 代码中设置drawableleft
  2. android 3.0 隐藏 系统标题栏
  3. Android开发中activity切换动画的实现
  4. Android(安卓)学习 笔记_05. 文件下载
  5. Android中直播视频技术探究之—摄像头Camera视频源数据采集解析
  6. 技术博客汇总
  7. android 2.3 wifi (一)
  8. AndRoid Notification的清空和修改
  9. Android中的Chronometer

随机推荐

  1. 如何进行资源的热修复
  2. Android(安卓)百分比布局支持库介绍
  3. Android软件开发实例:用客户端写博客
  4. (一)基于android平台的智能家居控制系统之
  5. 一个 android和js 数据交互的问题
  6. [置顶] vs2008 编译adb 支持4.2 android
  7. Android(安卓)如何动态的控制Toast的显示
  8. Android——屏幕适配
  9. 【FastDev4Android框架开发】RecyclerVie
  10. 一定要看的 Android(安卓)资源目录的相关