【发布时间】:2017-07-13 21:02:57
【问题描述】:
我是一名网络开发人员,也是 android 的新手。我刚刚安装了 android studio bundle,2.0 版。在捆绑版本中,它假定所有 SDK 都带有 android studio。但是当我启动程序时,它显示以下错误:
Error:(23, 13) Failed to resolve: com.android.support:appcompat-v7:23.0.1
Install Repository and sync project
Show in File
Show in Project Structure dialog
Error:(24, 13) Failed to resolve: com.android.support:design:23.0.1
Install Repository and sync project
Show in File
Show in Project Structure dialog
知道如何解决吗?
【问题讨论】:
-
我检查了链接。但我真的不知道 android studio 上发生了什么!我已经安装了存储库。那么为什么我会收到这些错误呢?
-
从 sdk manager 下载最新的 sdk 并尝试将 compile 'com.android.support:appcompat-v7:23.0.1' 添加到您的 build.gradle