1

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

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

4

2 回答 2

6

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

-ignorewarnings -keep class * { public private *; }
于 2017-09-26T05:53:31.507 回答
0

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

aaptOptions {  
    cruncherEnabled = false  
}  
于 2017-09-26T05:00:36.570 回答