Google Vision barcode library not found

后端 未结 7 1816
失恋的感觉
失恋的感觉 2020-12-03 14:24

I\'m trying to use the new feature in Google Play Services (Vision) to add QR code scanning to my application. But when I run my app I get this:

I/Vision﹕ Su         


        
相关标签:
7条回答
  • 2020-12-03 15:08

    Google has confirmed a bug that they will fix soon, which prevents you in some cases to use this library of barcode/face-detection (link here) :

    • A service required by Mobile Vision is now disabled due to a serious bug in that service. This will prevent users who have not already used face or barcode detection from using those features. We do not recommend adding new Mobile Vision features to your app until this issue is fixed.
    • For apps that already use Mobile Vision features, check FaceDetector.isOperational() or BarcodeDetector.isOperational() to confirm detector readiness before using the face or barcode detector.

    It's also written in some issues reported on Google's github sample repo:

    https://github.com/googlesamples/android-vision/issues

    Example (here) :

    There is a known issue with the new version of GMSCore (v9) that was just released today.

    0 讨论(0)
提交回复
热议问题