uploadCrashlyticsMappingFile Android

mowen 2025-04-22 81

Execution failed for task ':app:uploadCrashlyticsMappingFileXXXRelease'.
> org.apache.http.conn.HttpHostConnectException: 
> Connect to firebasecrashlyticssymbols.googleapis.com:443 
> [firebasecrashlyticssymbols.googleapis.com/172.217.160.74] 
> failed: Connection timed out: connect


方法1,build.gradle:

gradle.taskGraph.whenReady {
    tasks.each { task ->
        if (task.name.contains("uploadCrashlyticsMappingFile")) {
            task.enabled = false
        }
    }
}


方法2,gradle.properties:

systemProp.https.proxyHost=xxx.xxx.xxx.xxx
systemProp.https.proxyPort=xxxx


最新回复 (0)
返回
发新帖
X