Open wolfgang-s opened 3 years ago
I'm using the version from this pull request: https://github.com/arrrrny/tesseract_ocr/pull/35 Maybe it's because of this commit: https://github.com/hasankarli/tesseract_ocr/commit/d7e9cd887eb54ee612c51ab678eaa375682b2ab4
How to fix Error: Unsupported operation: _Namespace
When trying to launch my app an android phone or android simulator it cannot compile.
I found this https://stackoverflow.com/questions/67426655/execution-failed-for-task-tesseract-ocrbundledebugaar and this: https://stackoverflow.com/questions/60878599/error-building-android-library-direct-local-aar-file-dependencies-are-not-supp
It suggest multiple solutions, but I don't know how to apply these and I guess this flutter plugin needs some changes.
Build log:
Launching lib/main.dart on Android SDK built for x86 in debug mode... Running Gradle task 'assembleDebug'...
FAILURE: Build failed with an exception.
What went wrong: Execution failed for task ':tesseract_ocr:bundleDebugAar'.
Try: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
Get more help at https://help.gradle.org
BUILD FAILED in 11s