A collection of sample apps to demonstrate how to use Google's ML Kit APIs on Android and iOS
3.6k
stars
2.94k
forks
source link
[Bug report] On emulator, Document Scanner throws "PlatformException(DocumentScanner, Failed to start document scanner, null, null)" #879
Closed
pamtbaau closed 1 month ago
Describe the bug When calling
final documentScanner = DocumentScanner(options: options);
an Exception is being thrown:To Reproduce Example Steps to reproduce the behavior in sample app:
flutter create test --platform=android
Replace content of
main.dart
with:Expected behavior As on my mobile phone camera should appear and document can be scanned.
SDK Info:
android/app/build.gradle
Smartphone:
Emulator:
SDK installed on Emulator: Android SDK Platform 34
Google APIs Intel x86_64 Atom System Image
System Image: Android 14 (Google APIs)
Android SDK Platform tools 35.0.2
Google Play Services 49
Device: Motorola Moto G13