我是 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.
我已经更新了 ths SDK,我认为我的依赖关系很好。还有其他建议吗?
编辑:我发现它发生在我从某个地方复制代码并单击“alt + enter”然后不小心单击了一些选项“…api …”(我无法恢复)。
我将代码复制到另一台计算机,现在可以正常工作了。
原文由 Yaron Goldshtein 发布,翻译遵循 CC BY-SA 4.0 许可协议
尝试删除您的依赖项并再次重建应用程序。尝试清理并重建。