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
[BUG] Unhandled exception: FormatException: Invalid number (at character 1) #333
Comments
Experienced same here |
|
I just got the same error and fixed it by manually setting the
New Flutter projects now have the EDIT: Note, Originally posted by @cklanac in #324 (comment) |
Also important: You can't have the string 'minSdkVersion' anywhere before the actual declaration of the min SDK Version! If you did |
I have the same issue. I think solving it by removing flutter.minSdkVersion goes against having things specified in pubspce.yaml, which is the reason I wanted to use this package in the first place. |
It showing |
The solution was not working for me until I read @harlekintiger 's comment. Removed "minSdkVersion" from the comments and it worked perfectly. |
I got the same issue and fixed by this: |
I also facing this error. Can anyone tell me the solution? |
It is not solved. |
Changed the gradle but error still exists. |
ℹ️ Info
Version:
e.g. v0.9.2
💬 Description
I updated flutter to 2.10.0, I ran the command and it showed successfully " Successfully generated launcher icons" but below the successful sentence I got this below message
Unhandled exception:
FormatException: Invalid number (at character 1)
^
#0 int._handleFormatError (dart:core-patch/integers_patch.dart:129:7)
#1 int.parse (dart:core-patch/integers_patch.dart:55:14)
#2 minSdk (package:flutter_launcher_icons/android.dart:309:18)
#3 createIconsFromConfig (package:flutter_launcher_icons/main.dart:94:47)
#4 createIconsFromArguments (package:flutter_launcher_icons/main.dart:60:7)
#5 main (file:///Users/aoomle/tools/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_launcher_icons-0.9.2/bin/main.dart:6:26)
#6 _delayEntrypointInvocation. (dart:isolate-patch/isolate_patch.dart:295:32)
#7 _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:192:12)
pub finished with exit code 255
The text was updated successfully, but these errors were encountered: