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

时间:2017-09-26 04:55:22

标签: android android-gradle proguard android-proguard signed-apk

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

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

完整日志wih --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)

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

2 个答案:

答案 0 :(得分:5)

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

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

答案 1 :(得分:0)

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

aaptOptions {  
    cruncherEnabled = false  
}