dream407 发表于 2018-1-27 23:52:11

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 &#39;:app@debug/compileClasspath&#39;: 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


有遇到的吗?

走错了水过了 发表于 2018-7-16 09:40:34

你点链接as它会自动下载,就是有点慢,国外服务器下载的,下载完了就不会出现这个了,但后面还有一大堆问题,都是新手啊!

Gclouder 发表于 2018-7-21 23:01:20

个人感觉,这个sdk对android studio支持不是特别好,一堆问题。
页: [1]
查看完整版本: android studiog gradle同步错误,请教怎么解决