-
Notifications
You must be signed in to change notification settings - Fork 408
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
FormatException: Invalid number (at character 1) #345
Comments
Thers's another issue open about this and probably this is going to be fixed. At least you can solve that issue following this solution: https://stackoverflow.com/questions/70580684/flutter-launcher-icons-not-working-unhandled-exception-formatexception-invalid |
Thank you @eilgug but this is not a practical solution. |
I get a same error. |
+1 |
I have an easy fix:
It just skips the parsing of the manifest file directly to get the minSDK version line. |
The last package didn't work as well (Flutter 2.10.5). The problem is that build.gradle has now a variable instead of a number for minSdkVersion and this package cannot deal with that.
To make it work locally you can simply replace the flutter.minSdkVersion for a number (21 for example). That will make it work. Not ideal but it works. I don't think you will generate the icons often so it should be fine. |
fixed in #322 |
No description provided.
The text was updated successfully, but these errors were encountered: