所以我正在尝试运行这个 sample from ML kit . 我刚刚创建了 firebase 项目并添加了 google-services.json 文件。
我收到此错误:
Failed to resolve: com.google.firebase:firebase-ml-model-interpreter:16.2.0
Failed to resolve: com.google.firebase:firebase-ml-vision:17.0.0
Failed to resolve: com.google.firebase:firebase-ml-common:16.1.2
知道为什么吗?
PS:我对此很陌生,所以如果有任何信息我可以添加以提供有关正在发生的事情的线索,请提问,我会编辑问题。
最佳答案
版本号不匹配。 gradle 文件已还原。请再次尝试示例应用程序,它现在应该可以运行了。
关于Android Studio - 无法解析同步 ML 套件示例,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/51687936/