代码之家  ›  专栏  ›  技术社区  ›  Rahul Sainani

尝试添加firebase ml vision图像标签模型时Gradle sync失败

  •  1
  • Rahul Sainani  · 技术社区  · 8 年前

    尝试添加图像标签模型或tensorflow时,Gradle sync失败,并显示以下消息:

    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 services版本3.2.1配合使用。

    1 回复  |  直到 8 年前
        1
  •  1
  •   Ali    8 年前

    使用以下库更改库:

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

    Firebase Android Release Notes

    推荐文章