Restart ADB
Restart Android Studio
Restart phone
Restart Computer
Switch USB port
Update everything
Switch develop on/off
Tried with emulator (will also be stuck)
Uninstal Vyzor beta (Chrome plugin that use ADB)
Remove project and load into Android Studio again
Updated JDK 1.7.0_71 to 1.8.0_74
If the error suggested for (waiting for the debugger on port 8100),may also need to look under the hosts is not localhost is set to a fixed IP.
还需查看hosts里的localhost是被设置成固定IP了。(20170306)
Error:Can't connect to SOCKS proxy:Connection refused
IOException: https://dl.google.com/android/repository/addons_list-3.xml
java.net.SocketException: Can't connect to SOCKS proxy:Connection refused
IOException: https://dl.google.com/android/repository/addons_list-2.xml
java.net.SocketException: Can't connect to SOCKS proxy:Connection refused
IOException: https://dl.google.com/android/repository/addons_list-1.xml
java.net.SocketException: Can't connect to SOCKS proxy:Connection refused
Failed to download any source lists!
java.net.SocketException: Can't connect to SOCKS proxy:Connection refused
FAILURE: Build failed with an exception.
* What went wrong:
A problem occurred configuring project ':app'.
> Could not resolve all dependencies for configuration ':app:_yllyDebugApkCopy'.
> Could not resolve com.umeng.analytics:analytics:latest.integration.
Required by:
project :app
> Could not resolve com.umeng.analytics:analytics:latest.integration.
> Failed to list versions for com.umeng.analytics:analytics.
> Unable to load Maven meta-data from https://repo1.maven.org/maven2/com/umeng/analytics/analytics/maven-metadata.xml.
> Could not GET 'https://repo1.maven.org/maven2/com/umeng/analytics/analytics/maven-metadata.xml'.
> Can't connect to SOCKS proxy:Connection refused