尝试使用以下消息添加图像标签模型或张量流时,Gradle同步失败:

Failed to resolve: com.google.firebase:firebase-ml-vision-image-label-model:16.0.0
Failed to resolve: com.google.firebase:firebase-ml-tensorflow:16.0.0


有人知道为什么会这样吗?

ML Vision用于文本提取的效果很好:

com.google.firebase:firebase-ml-vision:16.0.0


将AS 3.2 Canary 15与android gradle插件3.2.0-alpha15和Google Play服务3.2.1一起使用。

最佳答案

使用以下库更改您的库:

com.google.firebase:firebase-ml-vision-image-label-model:15.0.0


Firebase Android Release Notes

10-07 19:34
查看更多