android studiog gradle同步错误,请教怎么解决
Error:Unable to resolve dependency for ':app@debug/compileClasspath': Could not resolve com.android.support:multidex:1.0.2.<a href="openFile:E:/electron-project/WIFISWITCH/app/GOpenSource_AppKit_Android_AS-master/GOpenSource_AppKit/app/build.gradle">Open File</a><br><a href="Unable to resolve dependency for ':app@debug/compileClasspath': Could not resolve com.android.support:multidex:1.0.2.">Show Details</a>
Unable to resolve dependency for ':app@debug/compileClasspath': Could not resolve com.android.support:multidex:1.0.2.
Could not resolve com.android.support:multidex:1.0.2.
Required by:
project :app
> Could not resolve com.android.support:multidex:1.0.2.
> Could not get resource 'https://dl.google.com/dl/android/maven2/com/android/support/multidex/1.0.2/multidex-1.0.2.pom'.
> Could not GET 'https://dl.google.com/dl/android/maven2/com/android/support/multidex/1.0.2/multidex-1.0.2.pom'.
> Connect to dl.google.com:443 failed: Connection timed out: connect
> Connection timed out: connect
有遇到的吗? 你点链接as它会自动下载,就是有点慢,国外服务器下载的,下载完了就不会出现这个了,但后面还有一大堆问题,都是新手啊! 个人感觉,这个sdk对android studio支持不是特别好,一堆问题。
页:
[1]