任务执行失败':app:transformClassesAndResourcesWithProguardForProductionRelease'

问题描述 投票:1回答:2

我正在尝试生成签名的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)

我可以看到很少的警告但没有错误,除了一个以上。在这种情况下,警告是否等同于错误?请帮我解决这个问题。

android android-gradle proguard android-proguard signed-apk
2个回答
5
投票

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

-ignorewarnings -keep class * { public private *; }

0
投票

您可以在build.gradle文件中添加它并重建项目

aaptOptions {  
    cruncherEnabled = false  
}  
© www.soinside.com 2019 - 2024. All rights reserved.