Skip to content

Commit e193577

Browse files
committed
google maven仓库无法连接
1 parent 3af381b commit e193577

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

build.gradle

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ buildscript {
44
repositories {
55
jcenter()
66
maven {
7-
url 'https://maven.google.com/'
7+
url 'https://dl.google.com/dl/android/maven2/'
88
name 'Google'
99
}
1010
}
@@ -23,7 +23,7 @@ allprojects {
2323
mavenCentral() //sonatype的maven库
2424
mavenLocal() //本地的maven库
2525
maven {
26-
url 'https://maven.google.com/' //谷歌的maven库
26+
url 'https://dl.google.com/dl/android/maven2/' //谷歌的maven库
2727
name 'Google'
2828
}
2929
maven {
@@ -77,6 +77,8 @@ subprojects {
7777
}
7878

7979
packagingOptions {
80+
doNotStrip '*/mips/*.so'
81+
doNotStrip '*/mips64/*.so'
8082
exclude 'META-INF/DEPENDENCIES.txt'
8183
exclude 'META-INF/LICENSE.txt'
8284
exclude 'META-INF/NOTICE.txt'

0 commit comments

Comments
 (0)