问题报错
Error:Connection timed out: connect. If you are behind an HTTP proxy, please configure the proxy settings either in IDE or Gradle.
解决方法
打开控制面板选择网络和Internet的查看网络状态。——>然后点击左侧的防火墙->点击左上角允许程序通过防火墙->点击右下角允许运行另一程序——>然后选择android studio。点击确定。
问题报错
Unable to establish a connection to adb.
Check the Event Log for possible issues.
This can happen if you have an incompatible version of adb running already.
Try re-opening Studio after killing any existing adb daemons.
If this happens repeatedly, please file a bug at http://b.android.com including the following:
1. Output of the command: 'I:\sdk\platform-tools\adb.exe devices'
2. Your idea.log file (Help | Show Log in Explorer)
是防火墙把adb禁了,按照以上顺序到达选择程序那步,然后点击浏览,把adb.exe加进去。adb.exe在sdk的platform-tools里。