【问题标题】:Android Mobile Vision API and ML Kit installed without Google Play Services未安装 Google Play 服务的 Android Mobile Vision API 和 ML Kit
【发布时间】:2019-04-05 10:27:47
【问题描述】:

我有一个使用 Android Mobile Vision API 识别文本 (OCR) 的 Android 应用。但是,安装该应用程序的设备没有安装 Google Play 服务。

我想知道是否可以只安装 Mobile Vision API 或 ML Kit 而无需安装 Google Play 服务。

操作系统:棒棒糖

Android Mobile Vision API

ML Kit

【问题讨论】:

    标签: android xamarin google-play-services google-vision firebase-mlkit


    【解决方案1】:

    TL;DR: 两者都需要播放服务

    Firebase ML Kit,无论是离线拉丁版还是在线版本,都需要具备 firebase-core 和 google-services(Google Play Services 15.0.0 或更高版本)的先决条件。

    |-com.google.firebase:firebase-ml-vision
      |-com.google.firebase:firebase-core
        |-com.google.gms:google-services
    

    先决条件

    • 运行 Android 4.0(冰淇淋三明治)或更高版本以及 Google Play 服务 15.0.0 或更高版本的设备。

    回复:https://firebase.google.com/docs/android/setup

    被 ML Kit 取代的 Google 的 Mobile Vision API 也需要 Play Services。

    • 拥有一台运行 Android 2.3 (Gingerbread) 或更高版本并包含 Google Play 商店的 Android 设备进行测试。

    【讨论】:

      猜你喜欢
      • 2021-10-18
      • 2021-07-18
      • 2015-12-04
      • 2014-03-13
      • 2021-12-13
      • 2021-11-10
      • 1970-01-01
      • 2023-03-17
      • 2021-11-09
      相关资源
      最近更新 更多