无法解析配置的所有依赖项':app:_debugApkCopy'

Yar*_*ein 8 java sdk android android-studio

我是Android Studio的新手,我曾尝试写过fire base,当android提供了我接受的东西,然后一切都停止工作,他不认识任何对象.

我收到此错误:

**Error: A problem occurred configuring project ':app'.**
> Could not resolve all dependencies for configuration ':app:_debugApkCopy'.
   > Could not find com.google.android.gms:play-services-appindexing:10.0.1.
Run Code Online (Sandbox Code Playgroud)

我已经更新了SDK,我认为我的依赖项很好.还有其他建议吗?

编辑:我发现它发生在我从某处复制代码后点击"alt + enter"然后不小心点击了一些选项whit"... api ..."(我无法恢复).

我将代码复制到其他计算机,现在它正在工作.

依赖关系: 依赖

小智 15

尝试删除您的依赖项并再次重建应用程序.尝试清理并重建.


归档时间:

查看次数:

31344 次

最近记录:

7 年,8 月 前