Error:Failed to resolve: com.android.support:support-annotations:26.0.2
Posted upuptop
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Error:Failed to resolve: com.android.support:support-annotations:26.0.2相关的知识,希望对你有一定的参考价值。
异常信息记录:
Error:Failed to resolve: com.android.support:support-annotations:26.0.2 <a href="install.m2.repo">Install Repository and sync project</a><br><a href="openFile:D:/AndroidStudioProjects/Qsb2/appild.gradle">Open File</a><br><a href="open.dependency.in.project.structure">Show in Project Structure dialog</a> Error:Failed to resolve: com.android.support:support-annotations:26.0.2 <a href="install.m2.repo">Install Repository and sync project</a><br> ? <a href="openFile:D:/AndroidStudioProjects/Qsb2/appild.gradle">Open File</a><br> ? <a href="open.dependency.in.project.structure">Show in Project Structure dialog</a> ?
解决方法:
在项目的build.gradle里面最上层填写这样一句话::::
以上是关于Error:Failed to resolve: com.android.support:support-annotations:26.0.2的主要内容,如果未能解决你的问题,请参考以下文章
Error:Failed to resolve: com.android.support:support-annotations:26.0.2
Error:Failed to resolve: com.android.support:support-annotations:27.0.0
(转)Android Studio Error:Failed to resolve: com.android.support:appcompat-v7:25.1.0解决方案
error: failed to connect to the hypervisor error: Failed to connect socket to '/var/run/libvirt/
Git上传提示error: failed to push some refs to
安装Intel HAXM:"failed to configure driver unknown error. failed to open driver"