-
Notifications
You must be signed in to change notification settings - Fork 764
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to build TextRecognition in release mode on Android when targeting API 34 without adding all langages #528
Comments
I'm getting this one too. Using latest version |
@Tom3652 Adding the following to
|
finding a solution to this. 💡 |
@IAmJulianAcosta thanks this is working ! |
@IAmJulianAcosta |
@gerken-tss I don't remember where did I get it, IIRC, what it does is telling the compiler? that it's fine if it doesn't find the files so the build doesn't break |
Is there an alternative solution? |
Faced this issue. Without adding those languages it should compile. For now adding the dontwarn in progruard works, but we do need a fix for this. |
after applying @IAmJulianAcosta 's steps, it still gave the error for me. Adding
|
PLEASE FILL THIS before submitting your issue. We have noticed that many people do NOT know how to report an issue, please follow this guide to report your issue, otherwise we wont be able to help you.
NOTE: Did you try our example app? If not, then stop try our example app and try to reproduce with it? If your app is failing and not the example app then it might be something related to your app. If the example app also fails then it is more likely for us to help you.
Title: In a few words summarize your issue. This is a short title.
Describe the bug
As the title said :
To Reproduce
Use
targetSdkVersion 34
in yourapp/build.gradle
file and runflutter build apk
NOTE: Did you try our example app? If not, then stop try our example app and try to reproduce with it? If your app is failing and not the example app then it might be something related to your app. If the example app also fails then it is more likely for us to help you.
Expected behavior
The app should build without requiring to add :
Note : adding the above lines allow me to build with API 34, but also add an extra 30MB size to the app that i don't need.
Platform (please complete the following information):
google_mlkit_text_recognition: 0.10.0
The text was updated successfully, but these errors were encountered: