You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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'.
Direct local .aar file dependencies are not supported when building an AAR. The resulting AAR would be broken because the classes and Android resources from any local .aar file dependencies would not be packaged in the resulting AAR. Previous versions of the Android Gradle Plugin produce broken AARs in this case too (despite not throwing this error). The following direct local .aar file dependencies of the :tesseract_ocr project caused this error: /Users/wolfgangsteuer/Documents/flutter-app/flutter/.pub-cache/git/tesseract_ocr-d7e9cd887eb54ee612c51ab678eaa375682b2ab4/android/libs/tesseract4android-release.aar
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.
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.
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
The text was updated successfully, but these errors were encountered: