我是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 ..."(我无法恢复).
我将代码复制到其他计算机,现在它正在工作.