FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':app:preDebugBuild'.
> Could not resolve all files for configuration ':app:debugCompileClasspath'.
> Could not resolve com.android.support:recyclerview-v7:23+.
Required by:
project :app
> Failed to list versions for com.android.support:recyclerview-v7.
> Unable to load Maven meta-data from https://jcenter.bintray.com/com/android/support/recyclerview-v7/maven-metadata.xml.
> Could not get resource 'https://jcenter.bintray.com/com/android/support/recyclerview-v7/maven-metadata.xml'.
> Could not GET 'https://jcenter.bintray.com/com/android/support/recyclerview-v7/maven-metadata.xml'.
> Certificate for <jcenter.bintray.com> doesn't match any of the subject alternative names: [api.farmathand.com]
> Failed to list versions for com.android.support:recyclerview-v7.
> Unable to load Maven meta-data from https://dl.bintray.com/umsdk/release/com/android/support/recyclerview-v7/maven-metadata.xml.
> Could not get resource 'https://dl.bintray.com/umsdk/release/com/android/support/recyclerview-v7/maven-metadata.xml'.
> Could not GET 'https://dl.bintray.com/umsdk/release/com/android/support/recyclerview-v7/maven-metadata.xml'.
> Certificate for <dl.bintray.com> doesn't match any of the subject alternative names: [api.farmathand.com]
> Failed to list versions for com.android.support:recyclerview-v7.
> Unable to load Maven meta-data from https://dl.bintray.com/jetbrains/anko/com/android/support/recyclerview-v7/maven-metadata.xml.
> Could not get resource 'https://dl.bintray.com/jetbrains/anko/com/android/support/recyclerview-v7/maven-metadata.xml'.
> Could not GET 'https://dl.bintray.com/jetbrains/anko/com/android/support/recyclerview-v7/maven-metadata.xml'.
> Certificate for <dl.bintray.com> doesn't match any of the subject alternative names: [api.farmathand.com]
> Failed to list versions for com.android.support:recyclerview-v7.
> Unable to load Maven meta-data from https://jcenter.bintray.com/com/android/support/recyclerview-v7/maven-metadata.xml.
> Could not get resource 'https://jcenter.bintray.com/com/android/support/recyclerview-v7/maven-metadata.xml'.
> Could not GET 'https://jcenter.bintray.com/com/android/support/recyclerview-v7/maven-metadata.xml'.
> Certificate for <jcenter.bintray.com> doesn't match any of the subject alternative names: [api.farmathand.com]
> Failed to list versions for com.android.support:recyclerview-v7.
> Unable to load Maven meta-data from https://dl.bintray.com/jetbrains/anko/com/android/support/recyclerview-v7/maven-metadata.xml.
> Could not get resource 'https://dl.bintray.com/jetbrains/anko/com/android/support/recyclerview-v7/maven-metadata.xml'.
> Could not GET 'https://dl.bintray.com/jetbrains/anko/com/android/support/recyclerview-v7/maven-metadata.xml'.
> Certificate for <dl.bintray.com> doesn't match any of the subject alternative names: [api.farmathand.com]
> Could not resolve com.android.support:appcompat-v7:23+.
Required by:
project :app > com.youth.banner:banner:1.1.5
> Failed to list versions for com.android.support:appcompat-v7.
> Unable to load Maven meta-data from https://jcenter.bintray.com/com/android/support/appcompat-v7/maven-metadata.xml.
> Could not get resource 'https://jcenter.bintray.com/com/android/support/appcompat-v7/maven-metadata.xml'.
> Could not GET 'https://jcenter.bintray.com/com/android/support/appcompat-v7/maven-metadata.xml'.
> Certificate for <jcenter.bintray.com> doesn't match any of the subject alternative names: [api.farmathand.com]
> Failed to list versions for com.android.support:appcompat-v7.
> Unable to load Maven meta-data from https://dl.bintray.com/umsdk/release/com/android/support/appcompat-v7/maven-metadata.xml.
> Could not get resource 'https://dl.bintray.com/umsdk/release/com/android/support/appcompat-v7/maven-metadata.xml'.
> Could not GET 'https://dl.bintray.com/umsdk/release/com/android/support/appcompat-v7/maven-metadata.xml'.
> Certificate for <dl.bintray.com> doesn't match any of the subject alternative names: [api.farmathand.com]
> Failed to list versions for com.android.support:appcompat-v7.
> Unable to load Maven meta-data from https://dl.bintray.com/jetbrains/anko/com/android/support/appcompat-v7/maven-metadata.xml.
> Could not get resource 'https://dl.bintray.com/jetbrains/anko/com/android/support/appcompat-v7/maven-metadata.xml'.
> Could not GET 'https://dl.bintray.com/jetbrains/anko/com/android/support/appcompat-v7/maven-metadata.xml'.
> Certificate for <dl.bintray.com> doesn't match any of the subject alternative names: [api.farmathand.com]
> Failed to list versions for com.android.support:appcompat-v7.
> Unable to load Maven meta-data from https://jcenter.bintray.com/com/android/support/appcompat-v7/maven-metadata.xml.
> Could not get resource 'https://jcenter.bintray.com/com/android/support/appcompat-v7/maven-metadata.xml'.
> Could not GET 'https://jcenter.bintray.com/com/android/support/appcompat-v7/maven-metadata.xml'.
> Certificate for <jcenter.bintray.com> doesn't match any of the subject alternative names: [api.farmathand.com]
> Failed to list versions for com.android.support:appcompat-v7.
> Unable to load Maven meta-data from https://dl.bintray.com/jetbrains/anko/com/android/support/appcompat-v7/maven-metadata.xml.
> Could not get resource 'https://dl.bintray.com/jetbrains/anko/com/android/support/appcompat-v7/maven-metadata.xml'.
> Could not GET 'https://dl.bintray.com/jetbrains/anko/com/android/support/appcompat-v7/maven-metadata.xml'.
> Certificate for <dl.bintray.com> doesn't match any of the subject alternative names: [api.farmathand.com]
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
* Get more help at https://help.gradle.org
Deprecated Gradle features were used in this build, making it incompatible with Gradle 6.0.
Use '--warning-mode all' to show the individual deprecation warnings.
See https://docs.gradle.org/5.1.1/userguide/command_line_interface.html#sec:command_line_warnings
BUILD FAILED in 5m 23s
31 actionable tasks: 23 executed, 8 up-to-date
Could not resolve all files for configuration ':app:debugCompileClasspath'.
©著作权归作者所有,转载或内容合作请联系作者
- 文/潘晓璐 我一进店门,熙熙楼的掌柜王于贵愁眉苦脸地迎上来,“玉大人,你说我怎么就摊上这事。” “怎么了?”我有些...
- 文/花漫 我一把揭开白布。 她就那样静静地躺着,像睡着了一般。 火红的嫁衣衬着肌肤如雪。 梳的纹丝不乱的头发上,一...
- 文/苍兰香墨 我猛地睁开眼,长吁一口气:“原来是场噩梦啊……” “哼!你这毒妇竟也来了?” 一声冷哼从身侧响起,我...
推荐阅读更多精彩内容
- 版本不一致 buildToolsVersion: "28.0.3", 版本和 compileSdkVersi...
- 升级AndroidStudio到最新版时,编译旧项目遇到此问题,解决办法为修改项目 根目录下的build.grad...
- 解决方案: 在/android/app/build.gradle内编辑新增mavenLocal() google(...