当前位置: 首页 > 知识库问答 >
问题:

任务“:app:TransformClassesAndResourcesWithProGuardForProductionRelease”执行失败

邓令雪
2023-03-14

我正在尝试生成签名的apk,但不幸的是收到以下错误。

Error:Execution failed for task ':app:transformClassesAndResourcesWithProguardForProductionRelease'.
> Job failed, see logs for details

使用--debug完成日志

Error:org.gradle.api.resources.ResourceException: Failed to list versions for com.android.support:cardview-v7.
Error:org.gradle.api.resources.ResourceException: Unable to load Maven meta-data from https://repo.commonsware.com.s3.amazonaws.com/com/android/support/cardview-v7/maven-metadata.xml.
Error:org.gradle.internal.resource.transport.http.HttpRequestException: Could not GET 'https://repo.commonsware.com.s3.amazonaws.com/com/android/support/cardview-v7/maven-metadata.xml'.
Error:javax.net.ssl.SSLPeerUnverifiedException: Host name 'repo.commonsware.com.s3.amazonaws.com' does not match the certificate subject provided by the peer (CN=*.s3.amazonaws.com, O=Amazon.com Inc., L=Seattle, ST=Washington, C=US)
Error:org.gradle.api.resources.ResourceException: Failed to list versions for com.android.support:appcompat-v7.
Error:org.gradle.api.resources.ResourceException: Unable to load Maven meta-data from https://repo.commonsware.com.s3.amazonaws.com/com/android/support/appcompat-v7/maven-metadata.xml.
Error:org.gradle.internal.resource.transport.http.HttpRequestException: Could not GET 'https://repo.commonsware.com.s3.amazonaws.com/com/android/support/appcompat-v7/maven-metadata.xml'.
Error:javax.net.ssl.SSLPeerUnverifiedException: Host name 'repo.commonsware.com.s3.amazonaws.com' does not match the certificate subject provided by the peer (CN=*.s3.amazonaws.com, O=Amazon.com Inc., L=Seattle, ST=Washington, C=US)
Error:org.gradle.api.resources.ResourceException: Failed to list versions for com.android.support:support-v4.
Error:org.gradle.api.resources.ResourceException: Unable to load Maven meta-data from https://repo.commonsware.com.s3.amazonaws.com/com/android/support/support-v4/maven-metadata.xml.
Error:org.gradle.internal.resource.transport.http.HttpRequestException: Could not GET 'https://repo.commonsware.com.s3.amazonaws.com/com/android/support/support-v4/maven-metadata.xml'.
Error:javax.net.ssl.SSLPeerUnverifiedException: Host name 'repo.commonsware.com.s3.amazonaws.com' does not match the certificate subject provided by the peer (CN=*.s3.amazonaws.com, O=Amazon.com Inc., L=Seattle, ST=Washington, C=US)
Error:org.gradle.api.resources.ResourceException: Failed to list versions for com.android.support:support-v13.
Error:org.gradle.api.resources.ResourceException: Unable to load Maven meta-data from https://repo.commonsware.com.s3.amazonaws.com/com/android/support/support-v13/maven-metadata.xml.
Error:org.gradle.internal.resource.transport.http.HttpRequestException: Could not GET 'https://repo.commonsware.com.s3.amazonaws.com/com/android/support/support-v13/maven-metadata.xml'.
Error:javax.net.ssl.SSLPeerUnverifiedException: Host name 'repo.commonsware.com.s3.amazonaws.com' does not match the certificate subject provided by the peer (CN=*.s3.amazonaws.com, O=Amazon.com Inc., L=Seattle, ST=Washington, C=US)
Error:org.gradle.api.resources.ResourceException: Failed to list versions for com.android.support:design.
Error:org.gradle.api.resources.ResourceException: Unable to load Maven meta-data from https://repo.commonsware.com.s3.amazonaws.com/com/android/support/design/maven-metadata.xml.
Error:org.gradle.internal.resource.transport.http.HttpRequestException: Could not GET 'https://repo.commonsware.com.s3.amazonaws.com/com/android/support/design/maven-metadata.xml'.
Error:javax.net.ssl.SSLPeerUnverifiedException: Host name 'repo.commonsware.com.s3.amazonaws.com' does not match the certificate subject provided by the peer (CN=*.s3.amazonaws.com, O=Amazon.com Inc., L=Seattle, ST=Washington, C=US)
Error:org.gradle.api.resources.ResourceException: Could not get resource 'https://repo.commonsware.com.s3.amazonaws.com/com/github/ParkSangGwon/TedPicker/v1.0.10/TedPicker-v1.0.10.pom'.
Error:org.gradle.internal.resource.transport.http.HttpRequestException: Could not HEAD 'https://repo.commonsware.com.s3.amazonaws.com/com/github/ParkSangGwon/TedPicker/v1.0.10/TedPicker-v1.0.10.pom'.
Error:javax.net.ssl.SSLPeerUnverifiedException: Host name 'repo.commonsware.com.s3.amazonaws.com' does not match the certificate subject provided by the peer (CN=*.s3.amazonaws.com, O=Amazon.com Inc., L=Seattle, ST=Washington, C=US)
Error:org.gradle.api.resources.ResourceException: Could not get resource 'https://repo.commonsware.com.s3.amazonaws.com/com/crashlytics/sdk/android/crashlytics/2.6.8/crashlytics-2.6.8.pom'.
Error:org.gradle.internal.resource.transport.http.HttpRequestException: Could not HEAD 'https://repo.commonsware.com.s3.amazonaws.com/com/crashlytics/sdk/android/crashlytics/2.6.8/crashlytics-2.6.8.pom'.
Error:javax.net.ssl.SSLPeerUnverifiedException: Host name 'repo.commonsware.com.s3.amazonaws.com' does not match the certificate subject provided by the peer (CN=*.s3.amazonaws.com, O=Amazon.com Inc., L=Seattle, ST=Washington, C=US)
Error:org.gradle.api.resources.ResourceException: Failed to list versions for com.commonsware.cwac:camera.
Error:org.gradle.api.resources.ResourceException: Unable to load Maven meta-data from https://repo.commonsware.com.s3.amazonaws.com/com/commonsware/cwac/camera/maven-metadata.xml.
Error:org.gradle.internal.resource.transport.http.HttpRequestException: Could not GET 'https://repo.commonsware.com.s3.amazonaws.com/com/commonsware/cwac/camera/maven-metadata.xml'.
Error:javax.net.ssl.SSLPeerUnverifiedException: Host name 'repo.commonsware.com.s3.amazonaws.com' does not match the certificate subject provided by the peer (CN=*.s3.amazonaws.com, O=Amazon.com Inc., L=Seattle, ST=Washington, C=US)
Error:org.gradle.api.resources.ResourceException: Could not get resource 'https://repo.commonsware.com.s3.amazonaws.com/com/crashlytics/sdk/android/beta/1.2.5/beta-1.2.5.pom'.
Error:org.gradle.internal.resource.transport.http.HttpRequestException: Could not HEAD 'https://repo.commonsware.com.s3.amazonaws.com/com/crashlytics/sdk/android/beta/1.2.5/beta-1.2.5.pom'.
Error:javax.net.ssl.SSLPeerUnverifiedException: Host name 'repo.commonsware.com.s3.amazonaws.com' does not match the certificate subject provided by the peer (CN=*.s3.amazonaws.com, O=Amazon.com Inc., L=Seattle, ST=Washington, C=US)
Error:org.gradle.api.resources.ResourceException: Could not get resource 'https://repo.commonsware.com.s3.amazonaws.com/io/fabric/sdk/android/fabric/1.3.17/fabric-1.3.17.pom'.
Error:org.gradle.internal.resource.transport.http.HttpRequestException: Could not HEAD 'https://repo.commonsware.com.s3.amazonaws.com/io/fabric/sdk/android/fabric/1.3.17/fabric-1.3.17.pom'.
Error:javax.net.ssl.SSLPeerUnverifiedException: Host name 'repo.commonsware.com.s3.amazonaws.com' does not match the certificate subject provided by the peer (CN=*.s3.amazonaws.com, O=Amazon.com Inc., L=Seattle, ST=Washington, C=US)
Error:org.gradle.api.resources.ResourceException: Could not get resource 'https://repo.commonsware.com.s3.amazonaws.com/com/crashlytics/sdk/android/crashlytics-core/2.3.17/crashlytics-core-2.3.17.pom'.
Error:org.gradle.internal.resource.transport.http.HttpRequestException: Could not HEAD 'https://repo.commonsware.com.s3.amazonaws.com/com/crashlytics/sdk/android/crashlytics-core/2.3.17/crashlytics-core-2.3.17.pom'.
Error:javax.net.ssl.SSLPeerUnverifiedException: Host name 'repo.commonsware.com.s3.amazonaws.com' does not match the certificate subject provided by the peer (CN=*.s3.amazonaws.com, O=Amazon.com Inc., L=Seattle, ST=Washington, C=US)
Error:org.gradle.api.resources.ResourceException: Could not get resource 'https://repo.commonsware.com.s3.amazonaws.com/com/crashlytics/sdk/android/answers/1.3.13/answers-1.3.13.pom'.
Error:org.gradle.internal.resource.transport.http.HttpRequestException: Could not HEAD 'https://repo.commonsware.com.s3.amazonaws.com/com/crashlytics/sdk/android/answers/1.3.13/answers-1.3.13.pom'.
Error:javax.net.ssl.SSLPeerUnverifiedException: Host name 'repo.commonsware.com.s3.amazonaws.com' does not match the certificate subject provided by the peer (CN=*.s3.amazonaws.com, O=Amazon.com Inc., L=Seattle, ST=Washington, C=US)
Error:org.gradle.api.resources.ResourceException: Failed to list versions for com.android.support:cardview-v7.
Error:org.gradle.api.resources.ResourceException: Unable to load Maven meta-data from https://repo.commonsware.com.s3.amazonaws.com/com/android/support/cardview-v7/maven-metadata.xml.
Error:org.gradle.internal.resource.transport.http.HttpRequestException: Could not GET 'https://repo.commonsware.com.s3.amazonaws.com/com/android/support/cardview-v7/maven-metadata.xml'.
Error:javax.net.ssl.SSLPeerUnverifiedException: Host name 'repo.commonsware.com.s3.amazonaws.com' does not match the certificate subject provided by the peer (CN=*.s3.amazonaws.com, O=Amazon.com Inc., L=Seattle, ST=Washington, C=US)
Error:org.gradle.api.resources.ResourceException: Failed to list versions for com.android.support:appcompat-v7.
Error:org.gradle.api.resources.ResourceException: Unable to load Maven meta-data from https://repo.commonsware.com.s3.amazonaws.com/com/android/support/appcompat-v7/maven-metadata.xml.
Error:org.gradle.internal.resource.transport.http.HttpRequestException: Could not GET 'https://repo.commonsware.com.s3.amazonaws.com/com/android/support/appcompat-v7/maven-metadata.xml'.
Error:javax.net.ssl.SSLPeerUnverifiedException: Host name 'repo.commonsware.com.s3.amazonaws.com' does not match the certificate subject provided by the peer (CN=*.s3.amazonaws.com, O=Amazon.com Inc., L=Seattle, ST=Washington, C=US)
Error:org.gradle.api.resources.ResourceException: Failed to list versions for com.android.support:support-v4.
Error:org.gradle.api.resources.ResourceException: Unable to load Maven meta-data from https://repo.commonsware.com.s3.amazonaws.com/com/android/support/support-v4/maven-metadata.xml.
Error:org.gradle.internal.resource.transport.http.HttpRequestException: Could not GET 'https://repo.commonsware.com.s3.amazonaws.com/com/android/support/support-v4/maven-metadata.xml'.
Error:javax.net.ssl.SSLPeerUnverifiedException: Host name 'repo.commonsware.com.s3.amazonaws.com' does not match the certificate subject provided by the peer (CN=*.s3.amazonaws.com, O=Amazon.com Inc., L=Seattle, ST=Washington, C=US)
Error:org.gradle.api.resources.ResourceException: Failed to list versions for com.android.support:support-v13.
Error:org.gradle.api.resources.ResourceException: Unable to load Maven meta-data from https://repo.commonsware.com.s3.amazonaws.com/com/android/support/support-v13/maven-metadata.xml.
Error:org.gradle.internal.resource.transport.http.HttpRequestException: Could not GET 'https://repo.commonsware.com.s3.amazonaws.com/com/android/support/support-v13/maven-metadata.xml'.
Error:javax.net.ssl.SSLPeerUnverifiedException: Host name 'repo.commonsware.com.s3.amazonaws.com' does not match the certificate subject provided by the peer (CN=*.s3.amazonaws.com, O=Amazon.com Inc., L=Seattle, ST=Washington, C=US)
Error:org.gradle.api.resources.ResourceException: Failed to list versions for com.android.support:design.
Error:org.gradle.api.resources.ResourceException: Unable to load Maven meta-data from https://repo.commonsware.com.s3.amazonaws.com/com/android/support/design/maven-metadata.xml.
Error:org.gradle.internal.resource.transport.http.HttpRequestException: Could not GET 'https://repo.commonsware.com.s3.amazonaws.com/com/android/support/design/maven-metadata.xml'.
Error:javax.net.ssl.SSLPeerUnverifiedException: Host name 'repo.commonsware.com.s3.amazonaws.com' does not match the certificate subject provided by the peer (CN=*.s3.amazonaws.com, O=Amazon.com Inc., L=Seattle, ST=Washington, C=US)
Error:org.gradle.api.resources.ResourceException: Could not get resource 'https://repo.commonsware.com.s3.amazonaws.com/com/github/ParkSangGwon/TedPicker/v1.0.10/TedPicker-v1.0.10.pom'.
Error:org.gradle.internal.resource.transport.http.HttpRequestException: Could not HEAD 'https://repo.commonsware.com.s3.amazonaws.com/com/github/ParkSangGwon/TedPicker/v1.0.10/TedPicker-v1.0.10.pom'.
Error:javax.net.ssl.SSLPeerUnverifiedException: Host name 'repo.commonsware.com.s3.amazonaws.com' does not match the certificate subject provided by the peer (CN=*.s3.amazonaws.com, O=Amazon.com Inc., L=Seattle, ST=Washington, C=US)
Error:org.gradle.api.resources.ResourceException: Could not get resource 'https://repo.commonsware.com.s3.amazonaws.com/com/crashlytics/sdk/android/crashlytics/2.6.8/crashlytics-2.6.8.pom'.
Error:org.gradle.internal.resource.transport.http.HttpRequestException: Could not HEAD 'https://repo.commonsware.com.s3.amazonaws.com/com/crashlytics/sdk/android/crashlytics/2.6.8/crashlytics-2.6.8.pom'.
Error:javax.net.ssl.SSLPeerUnverifiedException: Host name 'repo.commonsware.com.s3.amazonaws.com' does not match the certificate subject provided by the peer (CN=*.s3.amazonaws.com, O=Amazon.com Inc., L=Seattle, ST=Washington, C=US)
Error:org.gradle.api.resources.ResourceException: Failed to list versions for com.commonsware.cwac:camera.
Error:org.gradle.api.resources.ResourceException: Unable to load Maven meta-data from https://repo.commonsware.com.s3.amazonaws.com/com/commonsware/cwac/camera/maven-metadata.xml.
Error:org.gradle.internal.resource.transport.http.HttpRequestException: Could not GET 'https://repo.commonsware.com.s3.amazonaws.com/com/commonsware/cwac/camera/maven-metadata.xml'.
Error:javax.net.ssl.SSLPeerUnverifiedException: Host name 'repo.commonsware.com.s3.amazonaws.com' does not match the certificate subject provided by the peer (CN=*.s3.amazonaws.com, O=Amazon.com Inc., L=Seattle, ST=Washington, C=US)
Error:org.gradle.api.resources.ResourceException: Could not get resource 'https://repo.commonsware.com.s3.amazonaws.com/com/crashlytics/sdk/android/beta/1.2.5/beta-1.2.5.pom'.
Error:org.gradle.internal.resource.transport.http.HttpRequestException: Could not HEAD 'https://repo.commonsware.com.s3.amazonaws.com/com/crashlytics/sdk/android/beta/1.2.5/beta-1.2.5.pom'.
Error:javax.net.ssl.SSLPeerUnverifiedException: Host name 'repo.commonsware.com.s3.amazonaws.com' does not match the certificate subject provided by the peer (CN=*.s3.amazonaws.com, O=Amazon.com Inc., L=Seattle, ST=Washington, C=US)
Error:org.gradle.api.resources.ResourceException: Could not get resource 'https://repo.commonsware.com.s3.amazonaws.com/io/fabric/sdk/android/fabric/1.3.17/fabric-1.3.17.pom'.
Error:org.gradle.internal.resource.transport.http.HttpRequestException: Could not HEAD 'https://repo.commonsware.com.s3.amazonaws.com/io/fabric/sdk/android/fabric/1.3.17/fabric-1.3.17.pom'.
Error:javax.net.ssl.SSLPeerUnverifiedException: Host name 'repo.commonsware.com.s3.amazonaws.com' does not match the certificate subject provided by the peer (CN=*.s3.amazonaws.com, O=Amazon.com Inc., L=Seattle, ST=Washington, C=US)
Error:org.gradle.api.resources.ResourceException: Could not get resource 'https://repo.commonsware.com.s3.amazonaws.com/com/crashlytics/sdk/android/crashlytics-core/2.3.17/crashlytics-core-2.3.17.pom'.
Error:org.gradle.internal.resource.transport.http.HttpRequestException: Could not HEAD 'https://repo.commonsware.com.s3.amazonaws.com/com/crashlytics/sdk/android/crashlytics-core/2.3.17/crashlytics-core-2.3.17.pom'.
Error:javax.net.ssl.SSLPeerUnverifiedException: Host name 'repo.commonsware.com.s3.amazonaws.com' does not match the certificate subject provided by the peer (CN=*.s3.amazonaws.com, O=Amazon.com Inc., L=Seattle, ST=Washington, C=US)
Error:org.gradle.api.resources.ResourceException: Could not get resource 'https://repo.commonsware.com.s3.amazonaws.com/com/crashlytics/sdk/android/answers/1.3.13/answers-1.3.13.pom'.
Error:org.gradle.internal.resource.transport.http.HttpRequestException: Could not HEAD 'https://repo.commonsware.com.s3.amazonaws.com/com/crashlytics/sdk/android/answers/1.3.13/answers-1.3.13.pom'.
Error:javax.net.ssl.SSLPeerUnverifiedException: Host name 'repo.commonsware.com.s3.amazonaws.com' does not match the certificate subject provided by the peer (CN=*.s3.amazonaws.com, O=Amazon.com Inc., L=Seattle, ST=Washington, C=US)
Error:org.gradle.api.resources.ResourceException: Failed to list versions for com.android.support:cardview-v7.
Error:org.gradle.api.resources.ResourceException: Unable to load Maven meta-data from https://repo.commonsware.com.s3.amazonaws.com/com/android/support/cardview-v7/maven-metadata.xml.
Error:org.gradle.internal.resource.transport.http.HttpRequestException: Could not GET 'https://repo.commonsware.com.s3.amazonaws.com/com/android/support/cardview-v7/maven-metadata.xml'.
Error:javax.net.ssl.SSLPeerUnverifiedException: Host name 'repo.commonsware.com.s3.amazonaws.com' does not match the certificate subject provided by the peer (CN=*.s3.amazonaws.com, O=Amazon.com Inc., L=Seattle, ST=Washington, C=US)
Error:org.gradle.api.resources.ResourceException: Failed to list versions for com.android.support:appcompat-v7.
Error:org.gradle.api.resources.ResourceException: Unable to load Maven meta-data from https://repo.commonsware.com.s3.amazonaws.com/com/android/support/appcompat-v7/maven-metadata.xml.
Error:org.gradle.internal.resource.transport.http.HttpRequestException: Could not GET 'https://repo.commonsware.com.s3.amazonaws.com/com/android/support/appcompat-v7/maven-metadata.xml'.
Error:javax.net.ssl.SSLPeerUnverifiedException: Host name 'repo.commonsware.com.s3.amazonaws.com' does not match the certificate subject provided by the peer (CN=*.s3.amazonaws.com, O=Amazon.com Inc., L=Seattle, ST=Washington, C=US)
Error:org.gradle.api.resources.ResourceException: Failed to list versions for com.android.support:support-v4.
Error:org.gradle.api.resources.ResourceException: Unable to load Maven meta-data from https://repo.commonsware.com.s3.amazonaws.com/com/android/support/support-v4/maven-metadata.xml.
Error:org.gradle.internal.resource.transport.http.HttpRequestException: Could not GET 'https://repo.commonsware.com.s3.amazonaws.com/com/android/support/support-v4/maven-metadata.xml'.
Error:javax.net.ssl.SSLPeerUnverifiedException: Host name 'repo.commonsware.com.s3.amazonaws.com' does not match the certificate subject provided by the peer (CN=*.s3.amazonaws.com, O=Amazon.com Inc., L=Seattle, ST=Washington, C=US)
Error:org.gradle.api.resources.ResourceException: Failed to list versions for com.android.support:support-v13.
Error:org.gradle.api.resources.ResourceException: Unable to load Maven meta-data from https://repo.commonsware.com.s3.amazonaws.com/com/android/support/support-v13/maven-metadata.xml.
Error:org.gradle.internal.resource.transport.http.HttpRequestException: Could not GET 'https://repo.commonsware.com.s3.amazonaws.com/com/android/support/support-v13/maven-metadata.xml'.
Error:javax.net.ssl.SSLPeerUnverifiedException: Host name 'repo.commonsware.com.s3.amazonaws.com' does not match the certificate subject provided by the peer (CN=*.s3.amazonaws.com, O=Amazon.com Inc., L=Seattle, ST=Washington, C=US)
Error:org.gradle.api.resources.ResourceException: Failed to list versions for com.android.support:design.
Error:org.gradle.api.resources.ResourceException: Unable to load Maven meta-data from https://repo.commonsware.com.s3.amazonaws.com/com/android/support/design/maven-metadata.xml.
Error:org.gradle.internal.resource.transport.http.HttpRequestException: Could not GET 'https://repo.commonsware.com.s3.amazonaws.com/com/android/support/design/maven-metadata.xml'.
Error:javax.net.ssl.SSLPeerUnverifiedException: Host name 'repo.commonsware.com.s3.amazonaws.com' does not match the certificate subject provided by the peer (CN=*.s3.amazonaws.com, O=Amazon.com Inc., L=Seattle, ST=Washington, C=US)
Error:org.gradle.api.resources.ResourceException: Could not get resource 'https://repo.commonsware.com.s3.amazonaws.com/com/github/ParkSangGwon/TedPicker/v1.0.10/TedPicker-v1.0.10.pom'.
Error:org.gradle.internal.resource.transport.http.HttpRequestException: Could not HEAD 'https://repo.commonsware.com.s3.amazonaws.com/com/github/ParkSangGwon/TedPicker/v1.0.10/TedPicker-v1.0.10.pom'.
Error:javax.net.ssl.SSLPeerUnverifiedException: Host name 'repo.commonsware.com.s3.amazonaws.com' does not match the certificate subject provided by the peer (CN=*.s3.amazonaws.com, O=Amazon.com Inc., L=Seattle, ST=Washington, C=US)
Error:org.gradle.api.resources.ResourceException: Could not get resource 'https://repo.commonsware.com.s3.amazonaws.com/com/crashlytics/sdk/android/crashlytics/2.6.8/crashlytics-2.6.8.pom'.
Error:org.gradle.internal.resource.transport.http.HttpRequestException: Could not HEAD 'https://repo.commonsware.com.s3.amazonaws.com/com/crashlytics/sdk/android/crashlytics/2.6.8/crashlytics-2.6.8.pom'.
Error:javax.net.ssl.SSLPeerUnverifiedException: Host name 'repo.commonsware.com.s3.amazonaws.com' does not match the certificate subject provided by the peer (CN=*.s3.amazonaws.com, O=Amazon.com Inc., L=Seattle, ST=Washington, C=US)
Error:org.gradle.api.resources.ResourceException: Failed to list versions for com.commonsware.cwac:camera.
Error:org.gradle.api.resources.ResourceException: Unable to load Maven meta-data from https://repo.commonsware.com.s3.amazonaws.com/com/commonsware/cwac/camera/maven-metadata.xml.
Error:org.gradle.internal.resource.transport.http.HttpRequestException: Could not GET 'https://repo.commonsware.com.s3.amazonaws.com/com/commonsware/cwac/camera/maven-metadata.xml'.
Error:javax.net.ssl.SSLPeerUnverifiedException: Host name 'repo.commonsware.com.s3.amazonaws.com' does not match the certificate subject provided by the peer (CN=*.s3.amazonaws.com, O=Amazon.com Inc., L=Seattle, ST=Washington, C=US)
Error:org.gradle.api.resources.ResourceException: Could not get resource 'https://repo.commonsware.com.s3.amazonaws.com/com/crashlytics/sdk/android/beta/1.2.5/beta-1.2.5.pom'.
Error:org.gradle.internal.resource.transport.http.HttpRequestException: Could not HEAD 'https://repo.commonsware.com.s3.amazonaws.com/com/crashlytics/sdk/android/beta/1.2.5/beta-1.2.5.pom'.
Error:javax.net.ssl.SSLPeerUnverifiedException: Host name 'repo.commonsware.com.s3.amazonaws.com' does not match the certificate subject provided by the peer (CN=*.s3.amazonaws.com, O=Amazon.com Inc., L=Seattle, ST=Washington, C=US)
Error:org.gradle.api.resources.ResourceException: Could not get resource 'https://repo.commonsware.com.s3.amazonaws.com/io/fabric/sdk/android/fabric/1.3.17/fabric-1.3.17.pom'.
Error:org.gradle.internal.resource.transport.http.HttpRequestException: Could not HEAD 'https://repo.commonsware.com.s3.amazonaws.com/io/fabric/sdk/android/fabric/1.3.17/fabric-1.3.17.pom'.
Error:javax.net.ssl.SSLPeerUnverifiedException: Host name 'repo.commonsware.com.s3.amazonaws.com' does not match the certificate subject provided by the peer (CN=*.s3.amazonaws.com, O=Amazon.com Inc., L=Seattle, ST=Washington, C=US)
Error:org.gradle.api.resources.ResourceException: Could not get resource 'https://repo.commonsware.com.s3.amazonaws.com/com/crashlytics/sdk/android/crashlytics-core/2.3.17/crashlytics-core-2.3.17.pom'.
Error:org.gradle.internal.resource.transport.http.HttpRequestException: Could not HEAD 'https://repo.commonsware.com.s3.amazonaws.com/com/crashlytics/sdk/android/crashlytics-core/2.3.17/crashlytics-core-2.3.17.pom'.
Error:javax.net.ssl.SSLPeerUnverifiedException: Host name 'repo.commonsware.com.s3.amazonaws.com' does not match the certificate subject provided by the peer (CN=*.s3.amazonaws.com, O=Amazon.com Inc., L=Seattle, ST=Washington, C=US)
Error:org.gradle.api.resources.ResourceException: Could not get resource 'https://repo.commonsware.com.s3.amazonaws.com/com/crashlytics/sdk/android/answers/1.3.13/answers-1.3.13.pom'.
Error:org.gradle.internal.resource.transport.http.HttpRequestException: Could not HEAD 'https://repo.commonsware.com.s3.amazonaws.com/com/crashlytics/sdk/android/answers/1.3.13/answers-1.3.13.pom'.
Error:javax.net.ssl.SSLPeerUnverifiedException: Host name 'repo.commonsware.com.s3.amazonaws.com' does not match the certificate subject provided by the peer (CN=*.s3.amazonaws.com, O=Amazon.com Inc., L=Seattle, ST=Washington, C=US)
Error:org.gradle.api.resources.ResourceException: Failed to list versions for com.android.support:cardview-v7.
Error:org.gradle.api.resources.ResourceException: Unable to load Maven meta-data from https://repo.commonsware.com.s3.amazonaws.com/com/android/support/cardview-v7/maven-metadata.xml.
Error:org.gradle.internal.resource.transport.http.HttpRequestException: Could not GET 'https://repo.commonsware.com.s3.amazonaws.com/com/android/support/cardview-v7/maven-metadata.xml'.
Error:javax.net.ssl.SSLPeerUnverifiedException: Host name 'repo.commonsware.com.s3.amazonaws.com' does not match the certificate subject provided by the peer (CN=*.s3.amazonaws.com, O=Amazon.com Inc., L=Seattle, ST=Washington, C=US)
Error:org.gradle.api.resources.ResourceException: Failed to list versions for com.android.support:appcompat-v7.
Error:org.gradle.api.resources.ResourceException: Unable to load Maven meta-data from https://repo.commonsware.com.s3.amazonaws.com/com/android/support/appcompat-v7/maven-metadata.xml.
Error:org.gradle.internal.resource.transport.http.HttpRequestException: Could not GET 'https://repo.commonsware.com.s3.amazonaws.com/com/android/support/appcompat-v7/maven-metadata.xml'.
Error:javax.net.ssl.SSLPeerUnverifiedException: Host name 'repo.commonsware.com.s3.amazonaws.com' does not match the certificate subject provided by the peer (CN=*.s3.amazonaws.com, O=Amazon.com Inc., L=Seattle, ST=Washington, C=US)
Error:org.gradle.api.resources.ResourceException: Failed to list versions for com.android.support:support-v4.
Error:org.gradle.api.resources.ResourceException: Unable to load Maven meta-data from https://repo.commonsware.com.s3.amazonaws.com/com/android/support/support-v4/maven-metadata.xml.
Error:org.gradle.internal.resource.transport.http.HttpRequestException: Could not GET 'https://repo.commonsware.com.s3.amazonaws.com/com/android/support/support-v4/maven-metadata.xml'.
Error:javax.net.ssl.SSLPeerUnverifiedException: Host name 'repo.commonsware.com.s3.amazonaws.com' does not match the certificate subject provided by the peer (CN=*.s3.amazonaws.com, O=Amazon.com Inc., L=Seattle, ST=Washington, C=US)
Error:org.gradle.api.resources.ResourceException: Failed to list versions for com.android.support:support-v13.
Error:org.gradle.api.resources.ResourceException: Unable to load Maven meta-data from https://repo.commonsware.com.s3.amazonaws.com/com/android/support/support-v13/maven-metadata.xml.
Error:org.gradle.internal.resource.transport.http.HttpRequestException: Could not GET 'https://repo.commonsware.com.s3.amazonaws.com/com/android/support/support-v13/maven-metadata.xml'.
Error:javax.net.ssl.SSLPeerUnverifiedException: Host name 'repo.commonsware.com.s3.amazonaws.com' does not match the certificate subject provided by the peer (CN=*.s3.amazonaws.com, O=Amazon.com Inc., L=Seattle, ST=Washington, C=US)
Error:org.gradle.api.resources.ResourceException: Failed to list versions for com.android.support:design.
Error:org.gradle.api.resources.ResourceException: Unable to load Maven meta-data from https://repo.commonsware.com.s3.amazonaws.com/com/android/support/design/maven-metadata.xml.
Error:org.gradle.internal.resource.transport.http.HttpRequestException: Could not GET 'https://repo.commonsware.com.s3.amazonaws.com/com/android/support/design/maven-metadata.xml'.
Error:javax.net.ssl.SSLPeerUnverifiedException: Host name 'repo.commonsware.com.s3.amazonaws.com' does not match the certificate subject provided by the peer (CN=*.s3.amazonaws.com, O=Amazon.com Inc., L=Seattle, ST=Washington, C=US)
Error:org.gradle.api.resources.ResourceException: Could not get resource 'https://repo.commonsware.com.s3.amazonaws.com/com/github/ParkSangGwon/TedPicker/v1.0.10/TedPicker-v1.0.10.pom'.
Error:org.gradle.internal.resource.transport.http.HttpRequestException: Could not HEAD 'https://repo.commonsware.com.s3.amazonaws.com/com/github/ParkSangGwon/TedPicker/v1.0.10/TedPicker-v1.0.10.pom'.
Error:javax.net.ssl.SSLPeerUnverifiedException: Host name 'repo.commonsware.com.s3.amazonaws.com' does not match the certificate subject provided by the peer (CN=*.s3.amazonaws.com, O=Amazon.com Inc., L=Seattle, ST=Washington, C=US)
Error:org.gradle.api.resources.ResourceException: Could not get resource 'https://repo.commonsware.com.s3.amazonaws.com/com/crashlytics/sdk/android/crashlytics/2.6.8/crashlytics-2.6.8.pom'.
Error:org.gradle.internal.resource.transport.http.HttpRequestException: Could not HEAD 'https://repo.commonsware.com.s3.amazonaws.com/com/crashlytics/sdk/android/crashlytics/2.6.8/crashlytics-2.6.8.pom'.
Error:javax.net.ssl.SSLPeerUnverifiedException: Host name 'repo.commonsware.com.s3.amazonaws.com' does not match the certificate subject provided by the peer (CN=*.s3.amazonaws.com, O=Amazon.com Inc., L=Seattle, ST=Washington, C=US)

共有1个答案

季骏祥
2023-03-14

在proguard-rules.pro中添加以下行对我有效

-ignorewarnings -keep class * { public private *; }
 类似资料:
  • 我刚刚更新了我的cordova android到7.1.0,以支持Android27 sdk,以解决插件不能与SDK26一起工作的问题。 我尝试更改GradleBuilder.js文件中的gradle分发url,但没有成功。 编辑2:我想解决这个问题的firebase插件似乎是问题的一部分。移除:cordova-plugin-firebase允许应用程序的构建没有问题。似乎在添加插件后,我不能简单

  • 任务:应用程序:MiniFyReleaseWithr8失败 失败:生成失败,出现异常。 distributionurl=https://services.gradle.org/distributions/gradle-5.6.4-all.zip

  • 每当我运行'react-native run-android'时,我会得到99%的错误消息: 任务“:app:TransformNativeLibsWithMergeJnilibsForDebug”执行失败。 无法解析配置“:app:DebugrunTimeClasspath”的所有文件。无法将项目“imagePipeline-base.aar(com.facebook.fresco:imageP

  • Build.Gradle(模块:应用程序) 生成错误输出失败:生成失败,出现异常。 > 错误:任务“:app:TransformClassesWithMultiDexListForFreeDebug”执行失败。 com.android.build.api.Transform.TransformException:生成主dex列表时出错。 gradle Build-S 例外情况是: GitHub项目

  • 我在安装android Studio的更新后遇到过这个问题。尝试更新android studio控制台推荐的升级版本和其他设置。经过所有的更新和下载,我在这里的这个问题。 注意:某些输入文件使用或重写了一个不推荐使用的API。 注意:有关详细信息,请使用-xlint:deprecation重新编译。 失败:生成失败,出现异常。 我尝试过以下解决方案,但没有任何效果: > 在重新生成时删除了此文件(