一直都是好好的,突然就不行了,* What went wrong:
A problem occurred configuring root project 'android'.
> Could not resolve all dependencies for configuration ':_debugApkCopy'.
BUILD FAILED
Total time: 12.629 secs
> Could not resolve com.android.support:exifinterface:25+.
Required by:
project :
> Could not resolve com.android.support:exifinterface:25+.
> Failed to list versions for com.android.support:exifinterface.
> Unable to load Maven meta-data from https://repo1.maven.org/maven2/c ... maven-metadata.xml.
> Could not GET 'https://repo1.maven.org/maven2/com/android/support/exifinterface/maven-metadata.xml'.
> sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
> Could not resolve com.android.support:exifinterface:25+.
> Failed to list versions for com.android.support:exifinterface.
> Unable to load Maven meta-data from https://jcenter.bintray.com/com/ ... maven-metadata.xml.
> Could not GET 'https://jcenter.bintray.com/com/android/support/exifinterface/maven-metadata.xml'.
> sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
> Could not resolve com.android.support:exifinterface:25+.
> Failed to list versions for com.android.support:exifinterface.
> Unable to load Maven meta-data from https://dl.google.com/dl/android ... maven-metadata.xml.
> Could not GET 'https://dl.google.com/dl/android/maven2/com/android/support/exifinterface/maven-metadata.xml'.
> sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
Error: cmd: Command failed with exit code 1 Error output:
FAILURE: Build failed with an exception.
* What went wrong:
A problem occurred configuring root project 'android'.
> Could not resolve all dependencies for configuration ':_debugApkCopy'.
> Could not resolve com.android.support:exifinterface:25+.
Required by:
project :
> Could not resolve com.android.support:exifinterface:25+.
> Failed to list versions for com.android.support:exifinterface.
> Unable to load Maven meta-data from https://repo1.maven.org/maven2/c ... maven-metadata.xml.
> Could not GET 'https://repo1.maven.org/maven2/com/android/support/exifinterface/maven-metadata.xml'.
> sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
> Could not resolve com.android.support:exifinterface:25+.
> Failed to list versions for com.android.support:exifinterface.
> Unable to load Maven meta-data from https://jcenter.bintray.com/com/ ... maven-metadata.xml.
> Could not GET 'https://jcenter.bintray.com/com/android/support/exifinterface/maven-metadata.xml'.
> sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
> Could not resolve com.android.support:exifinterface:25+.
> Failed to list versions for com.android.support:exifinterface.
> Unable to load Maven meta-data from https://dl.google.com/dl/android ... maven-metadata.xml.
> Could not GET 'https://dl.google.com/dl/android/maven2/com/android/support/exifinterface/maven-metadata.xml'.
> sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.