Skip to content
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) #324

Closed
ProgrammingLife opened this issue Jan 5, 2022 · 48 comments · Fixed by #322
Closed

[BUG] Unhandled exception: FormatException: Invalid number (at character 1) #324

ProgrammingLife opened this issue Jan 5, 2022 · 48 comments · Fixed by #322

Comments

@ProgrammingLife
Copy link

ProgrammingLife commented Jan 5, 2022

ℹ️ Info

Flutter 2.8.1
Flutter Launcher Icons: 0.9.2
Dart 2.15.1
Linux

💬 Description

 » flutter pub run flutter_launcher_icons:main
  ════════════════════════════════════════════
     FLUTTER LAUNCHER ICONS (v0.9.1)                               
  ════════════════════════════════════════════
  

✓ Successfully generated launcher icons
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:310:18)
#3      createIconsFromConfig (package:flutter_launcher_icons/main.dart:94:47)
#4      createIconsFromArguments (package:flutter_launcher_icons/main.dart:60:7)
#5      main (file:///home/denis/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_launcher_icons-0.9.2/bin/main.dart:6:26)
#6      _delayEntrypointInvocation.<anonymous closure> (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

📜 Pubspec.yaml

dependencies:
  flutter:
    sdk: flutter
  path_provider: ^2.0.8
  flutter_launcher_icons: ^0.9.2

# ....

flutter_icons:
  android: "launcher_icon"
  ios: true
  # image_path: "assets/icon/icon_512x512.png"
  image_path: "assets/icon/icon.png"
  remove_alpha_ios: true
@ProgrammingLife ProgrammingLife changed the title [BUG] [BUG] Unhandled exception: FormatException: Invalid number (at character 1) Jan 5, 2022
@ProgrammingLife
Copy link
Author

Solved with replacing this line (~/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_launcher_icons-0.9.2/lib/android.dart#308):

      // final String minSdk = line.replaceAll(RegExp(r'[^\d]'), '');
      // To this:
      final String minSdk = "21"; // line.replaceAll(RegExp(r'[^\d]'), '');

That's so stupid I know. But why not? If it's only for the one time of using it.

@cklanac
Copy link

cklanac commented Jan 5, 2022

I just got the same error and fixed it by manually setting the minSdkVersion in android/app/build.gradle

    defaultConfig {
        applicationId "com.example.foo"
        minSdkVersion 16 // <<== set this
        targetSdkVersion flutter.targetSdkVersion
        versionCode flutterVersionCode.toInteger()
        versionName flutterVersionName
    }

New Flutter projects now have the minSdkVersion set to flutter.minSdkVersion which (currently) resolves to 16 but it appears the package does not pick up that value.

EDIT: Note, minSDKVersion 16 is the bare minimum. Some apps may require a higher minimum for like 19 or even 21 depending on what plugins you have installed (e.g. WebView, Google Maps and several FlutterFire plugins etc.)

@bulanni00
Copy link

ndroid.

Good

@bulanni00
Copy link

bulanni00 commented Jan 15, 2022

Solved with replacing this line (~/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_launcher_icons-0.9.2/lib/android.dart#308):

      // final String minSdk = line.replaceAll(RegExp(r'[^\d]'), '');
      // To this:
      final String minSdk = "21"; // line.replaceAll(RegExp(r'[^\d]'), '');

That's so stupid I know. But why not? If it's only for the one time of using it.

Good 这个方法简单有效

@phadtrapong
Copy link

Hi guys, Is there any suggestion for longterm solution ? I would like to help fix this.

@krin-san
Copy link

Since Flutter 2.8 minSdkVersion value is defined local.properties file. Changing the following in constants.dart fixes it:

-const String androidGradleFile = 'android/app/build.gradle';
+const String androidGradleFile = 'android/local.properties';

For the proper fix it'll be better to rename this property as well.

@kiokumicu
Copy link

Still not working for me (

@chrystoffer
Copy link

changing the file "android/app/build.gradle" did not work for me...
changing the file "flutter_launcher_icons-0.9.2/lib/android.dart" worked successfully! 👍 :) tks!

flutter 2.8.1

@RicardoCLake
Copy link

For me, just the "flutter_launcher_icons-0.9.2/lib/android.dart" hint wasn't helpful, but ,when i changed also the "android/app/build.gradle", it worked.

@kiokumicu
Copy link

kiokumicu commented Jan 20, 2022

changing the file "flutter_launcher_icons-0.9.2/lib/android.dart" worked successfully! 👍 :) tks!

Maybe it's good if it's working, but I think it's not a good decision )

@chrystoffer
Copy link

changing the file "flutter_launcher_icons-0.9.2/lib/android.dart" worked successfully! 👍 :) tks!

Maybe it's good if it's working, but I think it's not a good decision )

not the best option but needed to release an app :(

@Areopagitics
Copy link

it would be nice if flutter had the option to set it in the pubspec.yaml, since flutter supports all the way to minSdk 16, and it would be nice to choose.

@cobategit
Copy link

cobategit commented Jan 24, 2022

Solved with replacing this line (~/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_launcher_icons-0.9.2/lib/android.dart#308):

      // final String minSdk = line.replaceAll(RegExp(r'[^\d]'), '');
      // To this:
      final String minSdk = "21"; // line.replaceAll(RegExp(r'[^\d]'), '');

That's so stupid I know. But why not? If it's only for the one time of using it.

its work for me, i just change minSkdVersion.
before : minSdkVersion 21
after : minSdkVersion '21'
and worked.

@manyeagaf
Copy link

Solved with replacing this line (~/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_launcher_icons-0.9.2/lib/android.dart#308):

      // final String minSdk = line.replaceAll(RegExp(r'[^\d]'), '');
      // To this:
      final String minSdk = "21"; // line.replaceAll(RegExp(r'[^\d]'), '');

That's so stupid I know. But why not? If it's only for the one time of using it.

Could you please explain? Where can i locate this path?

@ahzam-shahnil
Copy link

ahzam-shahnil commented Jan 26, 2022

For Upcoming Users, here a simple fix:
If you don't have a flutter.minSdkVersion property, then add it to local.properties file:

flutter.minSdkVersion=21

After That go to app/build.gradle file and add this if not present:

def flutterMinSdkVersion = localProperties.getProperty('flutter.minSdkVersion')
if (flutterMinSdkVersion == null) {
    flutterMinSdkVersion = flutter.minSdkVersion.toString()
}

Then in default config: edit it like this:

 defaultConfig {
        applicationId 'com.example'
        minSdkVersion flutterMinSdkVersion.toString()
        targetSdkVersion flutter.targetSdkVersion
        versionCode flutterVersionCode.toInteger()
        versionName flutterVersionName
    }

Then run :

flutter clean

Then run the flutter launcher icon command:

flutter pub get
flutter pub run flutter_launcher_icons:main

@cacothi
Copy link

cacothi commented Jan 27, 2022

I couldn't still make it work in the new Flutter Version (it did work on the previous version tho)

Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 2.8.1, on macOS 12.0.1 21A559 darwin-arm, locale en-AU)
[✓] Android toolchain - develop for Android devices (Android SDK version 31.0.0)
[✓] Xcode - develop for iOS and macOS (Xcode 13.2.1)
[✓] Chrome - develop for the web
[✓] Android Studio (version 2020.3)
[✓] VS Code (version 1.63.2)
[✓] Connected device (5 available)

flutter pub run flutter_launcher_icons:main
════════════════════════════════════════════
FLUTTER LAUNCHER ICONS (v0.9.1)
════════════════════════════════════════════

✓ Successfully generated launcher icons
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)

@ahzam-shahnil
Copy link

Did you followed exact steps . I would like to see you edited configuration

@ahzam-shahnil
Copy link

Did run flutter clean after you edited the build file. It is important to do that.

@cacothi
Copy link

cacothi commented Jan 27, 2022 via email

@zetsu01
Copy link

zetsu01 commented Jan 28, 2022

Solved with replacing this line (~/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_launcher_icons-0.9.2/lib/android.dart):

From

int minSdk() {
  final File androidGradleFile = File(constants.androidGradleFile);
  final List<String> lines = androidGradleFile.readAsLinesSync();
  for (String line in lines) {
    if (line.contains('minSdkVersion')) {
      // remove anything from the line that is not a digit
      // final String minSdk = '16';
      final String minSdk = line.replaceAll(RegExp(r'[^\d]'), '');
      return int.parse(minSdk);
    }
  }
  return 0; // Didn't find minSdk, assume the worst
}

To

int minSdk() {
  final File androidGradleFile = File(constants.androidGradleFile);
  final List<String> lines = androidGradleFile.readAsLinesSync();
  for (String line in lines) {
    if (line.contains('minSdkVersion')) {
      // remove anything from the line that is not a digit
      // final String minSdk = '16';
      final String minSdk = line.replaceAll(RegExp(r'[^\d]'), '');
       
      // add new code
      try {
        return int.parse(minSdk);
      } on FormatException catch (_) {
        printStatus("minSdk '${minSdk}' cannot be parsed as int...");
      }
    }
  }
  return 0; // Didn't find minSdk, assume the worst
} 

Follow this link to see [PR submited by marcobazzani ](#88 (comment))

@tdkehoe
Copy link

tdkehoe commented Feb 1, 2022

Solved with replacing this line (~/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_launcher_icons-0.9.2/lib/android.dart#308):

Could you please explain? Where can i locate this path?

On my macBook it was in development > flutter > .pub-cache etc. shift-command-. (period) hides and shows files that start with . (period).

@matievisthekat
Copy link

i was also experiencing this error.

version info:

Flutter 2.10.0 • channel stable • https://github.com/flutter/flutter
Framework • revision 5f105a6ca7 (8 days ago) • 2022-02-01 14:15:42 -0800
Engine • revision 776efd2034
Tools • Dart 2.16.0 • DevTools 2.9.2

i fixed it by manually setting minSdkVersion 21 in android/app/build.gradle

@naveenlearner38
Copy link

I just got the same error and fixed it by manually setting the minSdkVersion in android/app/build.gradle

    defaultConfig {
        applicationId "com.example.foo"
        minSdkVersion 16 // <<== set this
        targetSdkVersion flutter.targetSdkVersion
        versionCode flutterVersionCode.toInteger()
        versionName flutterVersionName
    }

New Flutter projects now have the minSdkVersion set to flutter.minSdkVersion which (currently) resolves to 16 but it appears the package does not pick up that value.

EDIT: Note, minSDKVersion 16 is the bare minimum. Some apps may require a higher minimum for like 19 or even 21 depending on what plugins you have installed (e.g. WebView, Google Maps and several FlutterFire plugins etc.)

This is working perfectly. New Version of Flutter there is no sdk mentioned directly. That is the problem here.

@RedMillLtd
Copy link

I managed to make a change that allows me to use the local.properties file still. The problem is the .contains condition, in my case it was picking up the def and so I needed to change it to .startsWith

For example the line below was being caught as the minSDKVersion
def flutterMinSdkVersion = localProperties.getProperty('flutter.minSdkVersion')

Ended up changing the minSdk() method to the following:

/// Retrieves the minSdk value from the Android build.gradle file
int minSdk() {
  final File androidGradleFile = File(constants.androidGradleFile);
  final List<String> lines = androidGradleFile.readAsLinesSync();
  for (String line in lines) {
    if (line.startsWith('minSdkVersion')) {
      // remove anything from the line that is not a digit
      // final String minSdk = '16';
      final String minSdk = line.replaceAll(RegExp(r'[^\d]'), '');
       
      // add new code
      try {
        return int.parse(minSdk);
      } on FormatException catch (_) {
        printStatus("minSdk '${minSdk}' cannot be parsed as int...");
      }
    }
  }
  return 0; // Didn't find minSdk, assume the worst
} 

@jishnutv
Copy link

jishnutv commented Feb 17, 2022

Solved with replacing this line (~/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_launcher_icons-0.9.2/lib/android.dart#308):

      // final String minSdk = line.replaceAll(RegExp(r'[^\d]'), '');
      // To this:
      final String minSdk = "21"; // line.replaceAll(RegExp(r'[^\d]'), '');

That's so stupid I know. But why not? If it's only for the one time of using it.

Could you please explain? Where can i locate this path?

In windows C:\flutter\ .pub-cache\hosted\pub.dartlang.org\flutter_launcher_icons-0.9.2\lib
After editing android.dart file run flutter pub get and flutter pub run flutter_launcher_icons:main

@cacothi
Copy link

cacothi commented Feb 17, 2022 via email

@erlangparasu
Copy link

i got this error too because the plugin read line that contains comment
in my case look like this:

// minSdkVersion flutter.minSdkVersion
// targetSdkVersion flutter.targetSdkVersion
minSdkVersion 21
targetSdkVersion 30

the error trown because the lib still read the commented line because it contains "minSdkVersion" string

so the current solution i just flip it to:

minSdkVersion 21
targetSdkVersion 30
// minSdkVersion flutter.minSdkVersion
// targetSdkVersion flutter.targetSdkVersion

now it read the first line that contains "minSdkVersion" and it works

i also already create a PR to solve the comment problem
#340

@trspsb
Copy link

trspsb commented Feb 25, 2022

Solved with replacing this line (~/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_launcher_icons-0.9.2/lib/android.dart#308):

      // final String minSdk = line.replaceAll(RegExp(r'[^\d]'), '');
      // To this:
      final String minSdk = "21"; // line.replaceAll(RegExp(r'[^\d]'), '');

That's so stupid I know. But why not? If it's only for the one time of using it.

it's work for me. thx

@abakhbakh
Copy link

I just got the same error and fixed it by manually setting the minSdkVersion in android/app/build.gradle

    defaultConfig {
        applicationId "com.example.foo"
        minSdkVersion 16 // <<== set this
        targetSdkVersion flutter.targetSdkVersion
        versionCode flutterVersionCode.toInteger()
        versionName flutterVersionName
    }

New Flutter projects now have the minSdkVersion set to flutter.minSdkVersion which (currently) resolves to 16 but it appears the package does not pick up that value.

EDIT: Note, minSDKVersion 16 is the bare minimum. Some apps may require a higher minimum for like 19 or even 21 depending on what plugins you have installed (e.g. WebView, Google Maps and several FlutterFire plugins etc.)

your solution worked for me, thanks

@hoonblizz
Copy link

// final String minSdk = line.replaceAll(RegExp(r'[^\d]'), '');
// To this:
final String minSdk = "21"; // line.replaceAll(RegExp(r'[^\d]'), '');

This worked perfectly.
For the record, my OSX says .pub-cache is located in <username>/.pub-cache.
Of course "showing hidden files" must be activated by CMD + SHIFT + . (DOT)

@girish54321
Copy link

i got this error too because the plugin read line that contains comment in my case look like this:

// minSdkVersion flutter.minSdkVersion
// targetSdkVersion flutter.targetSdkVersion
minSdkVersion 21
targetSdkVersion 30

the error trown because the lib still read the commented line because it contains "minSdkVersion" string

so the current solution i just flip it to:

minSdkVersion 21
targetSdkVersion 30
// minSdkVersion flutter.minSdkVersion
// targetSdkVersion flutter.targetSdkVersion

now it read the first line that contains "minSdkVersion" and it works

i also already create a PR to solve the comment problem #340

Only this worked for me ❤️ @erlangparasu

@CriandoGames
Copy link

int minSdk() {
final File androidGradleFile = File(constants.androidGradleFile);
final List lines = androidGradleFile.readAsLinesSync();
for (String line in lines) {
if (line.contains('minSdkVersion')) {
// remove anything from the line that is not a digit
final String minSdk = 21.toString();
return int.parse(minSdk);
}
}
return 0; // Didn't find minSdk, assume the worst
}

@YouSour
Copy link

YouSour commented Mar 3, 2022

i fix it by this :

 flutter_launcher_icons:
    git:
      url: https://github.com/Davenchy/flutter_launcher_icons.git
      ref: fixMinSdkParseFlutter2.8

@dthuesen
Copy link

dthuesen commented Mar 4, 2022

flutter_launcher_icons:
git:
url: https://github.com/Davenchy/flutter_launcher_icons.git
ref: fixMinSdkParseFlutter2.8

YAEH!!!!!!! That really worked!!!

@mahanmarwat
Copy link

mahanmarwat commented Mar 6, 2022

I fix it by this:

 flutter_launcher_icons:
    git:
      url: https://github.com/Davenchy/flutter_launcher_icons.git
      ref: fixMinSdkParseFlutter2.8

Yup, Thank you! It worked. <3

@mengtongun
Copy link

flutter pub get
flutter pub run flutter_launcher_icons:main

i got this error too because the plugin read line that contains comment in my case look like this:

// minSdkVersion flutter.minSdkVersion
// targetSdkVersion flutter.targetSdkVersion
minSdkVersion 21
targetSdkVersion 30

the error trown because the lib still read the commented line because it contains "minSdkVersion" string

so the current solution i just flip it to:

minSdkVersion 21
targetSdkVersion 30
// minSdkVersion flutter.minSdkVersion
// targetSdkVersion flutter.targetSdkVersion

now it read the first line that contains "minSdkVersion" and it works

i also already create a PR to solve the comment problem #340

It worked for me Thank you!

@HoangHieuS
Copy link

i fix it by this :

 flutter_launcher_icons:
    git:
      url: https://github.com/Davenchy/flutter_launcher_icons.git
      ref: fixMinSdkParseFlutter2.8

It worked for me Thank you!

@jdemorcy
Copy link

Solved with replacing this line (~/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_launcher_icons-0.9.2/lib/android.dart#308):

      // final String minSdk = line.replaceAll(RegExp(r'[^\d]'), '');
      // To this:
      final String minSdk = "21"; // line.replaceAll(RegExp(r'[^\d]'), '');

That's so stupid I know. But why not? If it's only for the one time of using it.

Could you please explain? Where can i locate this path?

In windows C:\flutter\ .pub-cache\hosted\pub.dartlang.org\flutter_launcher_icons-0.9.2\lib After editing android.dart file run flutter pub get and flutter pub run flutter_launcher_icons:main

Indeed ! don't forget to run 'futter pub get' after editing the file otherwise it won't work ! (took me a while to figure that out...)

@owieth
Copy link

owieth commented Mar 21, 2022

i fix it by this :

 flutter_launcher_icons:
    git:
      url: https://github.com/Davenchy/flutter_launcher_icons.git
      ref: fixMinSdkParseFlutter2.8

Thanks mate :D Works like a charm

@ldurniat
Copy link

i fix it by this :

 flutter_launcher_icons:
    git:
      url: https://github.com/Davenchy/flutter_launcher_icons.git
      ref: fixMinSdkParseFlutter2.8

Why this work and how?:)

@saqibhaneef
Copy link

For Upcoming Users, here a simple fix: If you don't have a flutter.minSdkVersion property, then add it to local.properties file:

flutter.minSdkVersion=21

After That go to app/build.gradle file and add this if not present:

def flutterMinSdkVersion = localProperties.getProperty('flutter.minSdkVersion')
if (flutterMinSdkVersion == null) {
    flutterMinSdkVersion = flutter.minSdkVersion.toString()
}

Then in default config: edit it like this:

 defaultConfig {
        applicationId 'com.example'
        minSdkVersion flutterMinSdkVersion.toString()
        targetSdkVersion flutter.targetSdkVersion
        versionCode flutterVersionCode.toInteger()
        versionName flutterVersionName
    }

Then run :

flutter clean

Then run the flutter launcher icon command:

flutter pub get
flutter pub run flutter_launcher_icons:main

This worked for me

@macro6461
Copy link

macro6461 commented May 2, 2022

i fix it by this :

 flutter_launcher_icons:
    git:
      url: https://github.com/Davenchy/flutter_launcher_icons.git
      ref: fixMinSdkParseFlutter2.8

Why this work and how?:)

It is directly depending on a Git Repository and branch that was forked from the original flutter_launcher_icons. You can find it here.

@kujin521
Copy link

kujin521 commented May 5, 2022

int minSdk() {
final File androidGradleFile = File(constants.androidGradleFile);
final List lines = androidGradleFile.readAsLinesSync();
for (String line in lines) {
if (line.contains('minSdkVersion')) {
// remove anything from the line that is not a digit
//final String minSdk = line.replaceAll(RegExp(r'[^\d]'), '');
//return int.parse(minSdk);
return 21;《《good
}
}
return 0; // Didn't find minSdk, assume the worst
}

@O-sura
Copy link

O-sura commented May 14, 2022

Solved this by changing the minSdkVersion

@mammad-xero
Copy link

Solved with replacing this line (~/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_launcher_icons-0.9.2/lib/android.dart#308):

      // final String minSdk = line.replaceAll(RegExp(r'[^\d]'), '');
      // To this:
      final String minSdk = "21"; // line.replaceAll(RegExp(r'[^\d]'), '');

That's so stupid I know. But why not? If it's only for the one time of using it.

This solution worked for me❤️❤️👌

@edx86
Copy link

edx86 commented May 27, 2022

The reason it fails is because the script just checks the first ocurrence of 'minSdkVersion':

Path <path-to-flutter>/.pub-cache/hosted/pub.dartlang.org/flutter_launcher_icons-0.9.2/lib/android.dart

Excerpt:

/// Retrieves the minSdk value from the Android build.gradle file
int minSdk() {
  final File androidGradleFile = File(constants.androidGradleFile);
  final List<String> lines = androidGradleFile.readAsLinesSync();
  for (String line in lines) {
    if (line.contains('minSdkVersion')) {
      print("line = '$line'");    // <<< [HERE] the output is: line = 'def flutterMinSdkVersion = localProperties.getProperty('flutter.minSdkVersion')'
      // remove anything from the line that is not a digit
      final String minSdk = line.replaceAll(RegExp(r'[^\d]'), '');
      return int.tryParse(minSdk);
    }
  }
  return 0; // Didn't find minSdk, assume the worst
}

So how to make a workaround? See 2 options below:

Option 1 - change in project code

If you have the following code in android/app/build.gradle:

def flutterMinSdkVersion = localProperties.getProperty('flutter.minSdkVersion')
if (flutterMinSdkVersion == null) {
    flutterMinSdkVersion = 21
}

remove it and hardcode minSdkVersion directly in

defaultConfig {
    //...
    minSdkVersion 21     // flutterMinSdkVersion
}

Option 2 - patch cached library

Use power of 'if null' operator?? in Dart like this:

/// Retrieves the minSdk value from the Android build.gradle file
int minSdk() {
  final File androidGradleFile = File(constants.androidGradleFile);
  final List<String> lines = androidGradleFile.readAsLinesSync();
  for (String line in lines) {
    if (line.contains('minSdkVersion')) {
      // remove anything from the line that is not a digit
      final String minSdk = line.replaceAll(RegExp(r'[^\d]'), '');
      return int.tryParse(minSdk) ?? 21;       // <<< [HERE] Change 'int.parse' to 'int.tryParse' and specify minimal version you like
    }
  }
  return 0; // Didn't find minSdk, assume the worst
}

NOTE: I didn't check what's the minimal version of minSdk, but for my project I use version of 21 and it works.

@TheBeachMaster
Copy link

TheBeachMaster commented Aug 4, 2022

None of the above solutions worked for me

For anybody looking for a quick and harmless fix,

Navigate to android/local.properties and add

flutter.minSdkVersion=16

@ged-flod
Copy link

I just changed the package version and that solved the problem for me.

dependencies:
  flutter_launcher_icons: ^0.10.0

RatakondalaArun added a commit that referenced this issue Sep 24, 2022
MarkOSullivan94 pushed a commit that referenced this issue Oct 4, 2022
iamSahdeep added a commit to GoHighLevel/flutter_launcher_icons that referenced this issue Apr 12, 2023
* Allow compatible args dependency

* Upgrade args dependency

* Also update the main message

* Renamed default example -> default_example as you couldn't use default with flutter create . command

* Reduced size of examples

* Update README.md

Added info to handle incompatible dependency versions

* Fix: Success message printed on exception  (fluttercommunity#225)

* Update README.md

* Updated README & changelog

* Update ios.dart

added missing icons sizes

* added missied sizes for iOS

* add: fallback to local.properties

* add: error message if minSdkValue is not found

* fix: Incorrect version number shown

Thanks to build_version and build_runner the version number is automatically generated after running build_runner and should _hopefully_ be easier to update

Refs: fluttercommunity#350

* Update README.md

* fix: ignore commented minSdkVersion

* style(analysis): formatted

* chore(lints): disabled `sort_constructors_first`

* chore(vscode): add vscode workspace config

* vendor(deps): added new dependencies

checked_yaml,json_annotation for typesafe configs,
cli_util for logging

* feat(web): constants for web platform

* feat(logger): added logger

* feat(web): support for web icons

* feat(cli-option): added --prefix option

--prefix Generates icons in the given path. Used for testing in virtual directory.

Only supports web platform for now

* fix(config): type error when invalid config is passed

* vendor(deps): added test dependencies

* test(fli_config): added tests for fli config

* test(utils): added tests for utils

* test(web): added tests for web icon templates

* fix(logging): added verbose logging to platform failure

* vendor(deps): added mokito for tests

* test(icon_generator): added tests for IconGenerator

* test(web): added tests for web icon generator

* test: added common entrypoint to all tests

This can be used to generate code coverage reports

* chore: setting up automatic deployment of newly published github release

* style: add missing space

Co-authored-by: Mark O'Sullivan <mos182@hotmail.co.uk>

* fix(generator):  fixed typo in a method

* fix(lint): filxed lint warnings for `public_member_api_docs`

* fix(lint): filxed lint warnings for `require_trailing_commas`

* style: sorted imports

* style: sort variable order

* chore(lint): fixed Markdown lint warnings

* docs(web): added web documentation

* ci: added workflow for auto running tests and analyzer for newly opened prs to merge into  master

* chore(test): fix duplicate test runs

* fix tests

* feat(windows): add support for windows closes fluttercommunity#380

* test(windows): added tests for windows

* fix: typos

* style: use relative imports

* refactor: `kWindowsIconSize` to `windowsDefaultIconSize`

* test: checking version number is matching one in pubspec.yaml

* Update lib/main.dart

Co-authored-by: Ratakondala Arun <ratakondalaarun@gmail.com>

* docs(windows): added windows docs

* refactor: renaming method to convert pubspec to map

* fix(android): minSdk not found closes fluttercommunity#384

* style: formatted

* docs(android): added `min_sdk_android` config docs

* docs(android): added `remove_alpha_ios` config docs

closes fluttercommunity#386

* docs(android): added `min_sdk_android` config to example

* Update README.md

fluttercommunity#231 (comment)

From the insight given in the issue above

* refactor:  changed functions to private

* feat(configs):  added new configs to `FlutterLauncherIconsConfig`

added `min_sdk_android` and `remove_alpha_ios` to `FlutterLauncherIconsConfig`

* refactor: added 21 as default min_sdk_android

* chore(release): updated docs with `v0.10.0` release

* chore: update default_example's pubspec

* fix loading config from pubspec.yaml

* refactor package to use FlutterLauncherIconsConfig

* test: use matchers instead of actual values

* chore: updated CHANGELOG

* chore: fix markdown lint warnings

* Fix typos

* feat: fli cli improvement

closes fluttercommunity#400

* chore(docs): update docs

* feat(macos): added support for macos icons

closes fluttercommunity#393

* fix: json indentation

closes fluttercommunity#404

* test(windows): rebuild test mocks

* test(macos): added tests

* docs(macos): added macos attributes

* docs: added sections to attributes

* `repository` & `issue_tracker` added to pubspec

* fix the icons 50 and 57 in contents.json

the 50x50 icons are actually meant for ipad, but in our ios.dart they are marked as iphone. while the 57x57 should be 1x and 2x, while in our ios.dart we're using 1x and 3x

* chore: point `issue_tracker` to github issues

* fix(example): added example for pub.dev closes fluttercommunity#402

* Add extra white line at the end of the file as xcode projects favor having an empty line at the end

* test(mocks): rebuild test mocks

* chore(release): updated version to `v0.10.1`

* chore: updated change log

* chore: add change from fluttercommunity#324

* chore(release): update release version to `v0.11.0`

* Update README.md

Co-authored-by: Mark O'Sullivan <mos182@hotmail.co.uk>

* style(format): format sdk version

* remove .DS_Store

* chore: Fixes typo in unit tests

replaces 'invlaidfliConfigTemplate' for 'invalidfliConfigTemplate'

Signed-off-by: Hugo Branco <hugobrancowb@gmail.com>

* chore: ✂️ Remove unused testing code

Signed-off-by: Hugo Branco <hugobrancowb@gmail.com>

* chore: Formats code running `dart format .`

Signed-off-by: Hugo Branco <hugobrancowb@gmail.com>

* add .pubignore

* refactor: updated dependencies

Had to update the mock dependency as @GenerateNiceMock wasn't working with the previous version

* Don't ignore CHANGELOG.md

Should improve score from 135 to 140/140.
https://pub.dev/packages/flutter_launcher_icons/score

* - Upgraded image:^3.0.2 to image:^4.0.10 and fixed breaking changes done by the upgrade.

* - updated other dependencies

* - downgrade path to 1.8.2

* - updated image to 4.0.11

* - upgraded image to 4.0.13 to fix quality bugs and updated json_serializable to 6.6.1

* - updated image to 4.0.15

* chore: updated test package

* docs: added documentation and disabled linter for some files

* Fix remove alpha for iOS

* chore: updated dependencies to latest

* style: formatted code with `dart format .`

* chore: release prep for v0.13.0

* feat: command to generate config file template

* refactor: added exception handling

* feat: display command to run to use config file

If custom file name is used, then only add `-f` flag to keep it clear

* add support for adaptive icon scaling

* remove alpha and add adaptive background color

* v1.0.0

---------

Signed-off-by: Hugo Branco <hugobrancowb@gmail.com>
Co-authored-by: PiN73 <p97p@ya.ru>
Co-authored-by: Edmon Marine Clota <comlaterra@gmail.com>
Co-authored-by: Mark O'Sullivan <markyosullivan@gmail.com>
Co-authored-by: Mark O'Sullivan <mos182@hotmail.co.uk>
Co-authored-by: Harpreet Sangar <happy_san@protonmail.com>
Co-authored-by: Oleg <oleg.baidalka@gmail.com>
Co-authored-by: Ratakondala Arun <ratakondalaarun@gmail.com>
Co-authored-by: Ben Vercammen <benvercammen@gmail.com>
Co-authored-by: Oleg <130861+bossly@users.noreply.github.com>
Co-authored-by: Adeyanju Akorede <53178226+Lone-Wolf17@users.noreply.github.com>
Co-authored-by: p-mazhnik <pavel.mazhnik@gmail.com>
Co-authored-by: Edward Poot <edwardmp@gmail.com>
Co-authored-by: Pathik Patel <patelpathik1995@gmail.com>
Co-authored-by: adnan <adnanfahedhr@gmail.com>
Co-authored-by: Alexander Saelmans <alexander.saelmans@signify.com>
Co-authored-by: Connectety-T <k8ieunomu@mozmail.com>
Co-authored-by: Hugo Branco <hugobrancowb@gmail.com>
Co-authored-by: Seth Westphal <westy92@users.noreply.github.com>
Co-authored-by: Carlos Humberto <carloshumberto1990@gmail.com>
Co-authored-by: mike-500 <69246756+mike-500@users.noreply.github.com>
Co-authored-by: OutdatedGuy <everythingoutdated@gmail.com>
KonstantinKinzel added a commit to phellowseven/flutter_launcher_icons that referenced this issue May 26, 2023
commit f825018
Merge: 335a7f8 02c5d34
Author: Ratakondala Arun <ratakondalaarun@gmail.com>
Date:   Wed May 10 21:34:42 2023 +0530

    Merge pull request fluttercommunity#488 from HaoCherHong/patch-1

    Fix typo in README.md

commit 335a7f8
Merge: 88ab71c cb9eb3e
Author: Ratakondala Arun <ratakondalaarun@gmail.com>
Date:   Wed May 10 21:33:54 2023 +0530

    Merge pull request fluttercommunity#487 from HaoCherHong/chore/readme-background-color-ios

    add `background_color_ios` description to README.md

commit 02c5d34
Author: Hao-Cher Hong <rax333j@gmail.com>
Date:   Wed May 10 18:11:09 2023 +0800

    Fix typo in README.md

    Saw this. I believe this is an typo.

commit cb9eb3e
Author: Hao-Cher Hong <rax333j@gmail.com>
Date:   Wed May 10 16:45:32 2023 +0800

    add exmaple code to example project

commit 71a73ee
Author: Hao-Cher Hong <rax333j@gmail.com>
Date:   Tue May 9 00:13:57 2023 +0800

    refine texts

commit d96c75f
Author: Hao-Cher Hong <rax333j@gmail.com>
Date:   Tue May 9 00:09:07 2023 +0800

    add `background_color_ios` description to README.md

commit 88ab71c
Merge: 45bfbfa 0d2cc40
Author: Ratakondala Arun <ratakondalaarun@gmail.com>
Date:   Sun May 7 20:42:05 2023 +0530

    Merge pull request fluttercommunity#450 from HaoCherHong/feature/ios-icon-bg-color

    support ios icon background color when removing alpha

commit 0d2cc40
Author: Hao-Cher Hong <rax333j@gmail.com>
Date:   Fri May 5 19:00:48 2023 +0800

    ensure color format

commit a1fbcae
Merge: 8769389 45bfbfa
Author: Hao-Cher Hong <rax333j@gmail.com>
Date:   Fri May 5 18:43:47 2023 +0800

    Merge branch 'master' into feature/ios-icon-bg-color

commit 8769389
Author: Hao-Cher Hong <rax333j@gmail.com>
Date:   Fri May 5 18:39:24 2023 +0800

    fix ios.dart error

commit 281edaa
Author: Hao-Cher Hong <rax333j@gmail.com>
Date:   Fri May 5 18:37:57 2023 +0800

    Merge main

commit 45bfbfa
Author: OutdatedGuy <everythingoutdated@gmail.com>
Date:   Thu May 4 16:48:25 2023 +0530

    style: fixed linting warnings on pub website

commit b827871
Author: OutdatedGuy <everythingoutdated@gmail.com>
Date:   Thu May 4 16:42:40 2023 +0530

    docs: data of generate config feature in readme

commit d6a4627
Author: OutdatedGuy <everythingoutdated@gmail.com>
Date:   Thu May 4 16:10:21 2023 +0530

    docs: added generate config feature to changelog

commit 03f2858
Author: Ratakondala Arun <ratakondalaarun@gmail.com>
Date:   Tue May 2 22:30:56 2023 +0530

    Revert "Update README.md"

commit dd35f2d
Merge: 33f4188 e58dbb2
Author: Ratakondala Arun <ratakondalaarun@gmail.com>
Date:   Mon May 1 15:41:44 2023 +0530

    Merge pull request fluttercommunity#483 from malibayram/patch-1

    Update README.md

commit e58dbb2
Author: Mehmet Ali Bayram <malibayram91@gmail.com>
Date:   Fri Apr 28 10:31:26 2023 +0100

    Update README.md

commit 33f4188
Author: Mark O'Sullivan <mos182@hotmail.co.uk>
Date:   Wed Apr 19 15:07:19 2023 -0300

    chore: v0.13.1

commit d314ca8
Author: Mark O'Sullivan <mos182@hotmail.co.uk>
Date:   Sat Apr 15 17:36:02 2023 -0300

    refactor: can now use flutter_launcher_icons key in pubspec instead of flutter_icons

commit f954a34
Author: Mark O'Sullivan <mos182@hotmail.co.uk>
Date:   Sat Apr 15 13:57:32 2023 -0300

    refactor: increased dart version for default_example

commit 683575e
Author: Mark O'Sullivan <mos182@hotmail.co.uk>
Date:   Sat Apr 15 00:23:05 2023 -0300

    fix: no longer printing creating icons message for unused platforms

commit 8394fd6
Author: OutdatedGuy <everythingoutdated@gmail.com>
Date:   Mon Apr 10 02:00:19 2023 +0530

    feat: display command to run to use config file

    If custom file name is used, then only add `-f` flag to keep it clear

commit 027b9ab
Author: OutdatedGuy <everythingoutdated@gmail.com>
Date:   Fri Apr 7 22:08:28 2023 +0530

    refactor: added exception handling

commit 3aa0fe5
Author: OutdatedGuy <everythingoutdated@gmail.com>
Date:   Fri Apr 7 22:02:50 2023 +0530

    feat: command to generate config file template

commit f5c2540
Author: Mark O'Sullivan <mos182@hotmail.co.uk>
Date:   Fri Apr 7 12:05:53 2023 -0300

    chore: release prep for v0.13.0

commit d3bc20f
Author: OutdatedGuy <everythingoutdated@gmail.com>
Date:   Fri Apr 7 19:52:53 2023 +0530

    style: formatted code with `dart format .`

commit 2d0343d
Author: OutdatedGuy <everythingoutdated@gmail.com>
Date:   Fri Apr 7 19:59:37 2023 +0530

    chore: updated dependencies to latest

commit e57229d
Author: mike-500 <69246756+mike-500@users.noreply.github.com>
Date:   Thu Mar 2 20:31:41 2023 +0100

    Fix remove alpha for iOS

commit 323cbff
Author: Mark O'Sullivan <mos182@hotmail.co.uk>
Date:   Fri Feb 24 11:56:59 2023 -0500

    docs: added documentation and disabled linter for some files

commit 1749b94
Author: Mark O'Sullivan <mos182@hotmail.co.uk>
Date:   Fri Feb 24 11:34:46 2023 -0500

    chore: updated test package

commit 2a9185a
Author: Carlos Humberto de Paula Borges <carloshumberto1990@gmail.com>
Date:   Mon Feb 13 13:08:52 2023 -0300

    - updated image to 4.0.15

commit 3a50b14
Author: Carlos Humberto <carloshumberto1990@gmail.com>
Date:   Thu Feb 2 11:33:25 2023 -0300

    - upgraded image to 4.0.13 to fix quality bugs and updated json_serializable to 6.6.1

commit 66c7e0e
Author: Carlos Humberto <carloshumberto1990@gmail.com>
Date:   Mon Jan 23 17:15:59 2023 -0300

    - updated image to 4.0.11

commit 3e7e8a3
Author: Carlos Humberto de Paula Borges <carloshumberto1990@gmail.com>
Date:   Mon Jan 23 12:42:30 2023 -0300

    - downgrade path to 1.8.2

commit 1bf7542
Author: Carlos Humberto <carloshumberto1990@gmail.com>
Date:   Fri Jan 20 13:05:01 2023 -0300

    - updated other dependencies

commit 6c25163
Author: Carlos Humberto <carloshumberto1990@gmail.com>
Date:   Mon Jan 16 15:34:23 2023 -0300

    - Upgraded image:^3.0.2 to image:^4.0.10 and fixed breaking changes done by the upgrade.

commit 397ca81
Author: Hao-Cher Hong <rax333j@gmail.com>
Date:   Wed Jan 18 14:49:19 2023 +0800

    support ios background color when removing alpha

commit 9a48d68
Author: Seth Westphal <westy92@users.noreply.github.com>
Date:   Wed Nov 16 22:50:10 2022 -0600

    Don't ignore CHANGELOG.md

    Should improve score from 135 to 140/140.
    https://pub.dev/packages/flutter_launcher_icons/score

commit 3ed708e
Author: Mark O'Sullivan <mos182@hotmail.co.uk>
Date:   Wed Nov 16 20:57:33 2022 +0100

    refactor: updated dependencies

    Had to update the mock dependency as @GenerateNiceMock wasn't working with the previous version

commit 0d42153
Author: Connectety-T <k8ieunomu@mozmail.com>
Date:   Thu Oct 20 16:51:15 2022 +0200

    add .pubignore

commit 4416dbe
Author: Hugo Branco <hugobrancowb@gmail.com>
Date:   Tue Oct 18 20:02:03 2022 -0300

    chore: Formats code running `dart format .`

    Signed-off-by: Hugo Branco <hugobrancowb@gmail.com>

commit 77d102f
Author: Hugo Branco <hugobrancowb@gmail.com>
Date:   Tue Oct 18 19:36:58 2022 -0300

    chore: :scissors: Remove unused testing code

    Signed-off-by: Hugo Branco <hugobrancowb@gmail.com>

commit 48899bc
Author: Hugo Branco <hugobrancowb@gmail.com>
Date:   Tue Oct 18 19:02:51 2022 -0300

    chore: Fixes typo in unit tests

    replaces 'invlaidfliConfigTemplate' for 'invalidfliConfigTemplate'

    Signed-off-by: Hugo Branco <hugobrancowb@gmail.com>

commit 882ee22
Author: Connectety-T <k8ieunomu@mozmail.com>
Date:   Thu Oct 20 01:13:01 2022 +0200

    remove .DS_Store

commit 5d45f1f
Author: Ratakondala Arun <ratakondalaarun@gmail.com>
Date:   Mon Oct 3 10:28:40 2022 +0530

    style(format): format sdk version

commit 0e07d7c
Author: Ratakondala Arun <ratakondalaarun@gmail.com>
Date:   Sat Oct 1 21:48:50 2022 +0530

    Update README.md

    Co-authored-by: Mark O'Sullivan <mos182@hotmail.co.uk>

commit 1b577cf
Author: Ratakondala Arun <ratakondalaarun@gmail.com>
Date:   Tue Sep 27 11:14:04 2022 +0530

    chore(release): update release version to `v0.11.0`

commit 1fc7887
Author: Ratakondala Arun <ratakondalaarun@gmail.com>
Date:   Sat Sep 24 13:07:14 2022 +0530

    chore: add change from fluttercommunity#324

commit b4e9117
Author: Ratakondala Arun <ratakondalaarun@gmail.com>
Date:   Fri Sep 23 22:46:27 2022 +0530

    chore: updated change log

commit a24471a
Author: Ratakondala Arun <ratakondalaarun@gmail.com>
Date:   Fri Sep 23 22:41:13 2022 +0530

    chore(release): updated version to `v0.10.1`

commit 2cc4176
Author: Ratakondala Arun <ratakondalaarun@gmail.com>
Date:   Fri Sep 23 22:37:07 2022 +0530

    test(mocks): rebuild test mocks

commit e6251ee
Author: Alexander Saelmans <alexander.saelmans@signify.com>
Date:   Thu Jan 6 10:07:54 2022 +0100

    Add extra white line at the end of the file as xcode projects favor having an empty line at the end

commit ea57bf2
Author: Ratakondala Arun <ratakondalaarun@gmail.com>
Date:   Sat Sep 3 11:43:02 2022 +0530

    fix(example): added example for pub.dev closes fluttercommunity#402

commit 07a4bea
Merge: b55dd30 43dbe04
Author: Ratakondala Arun <ratakondalaarun@gmail.com>
Date:   Sat Sep 3 11:21:45 2022 +0530

    Merge pull request fluttercommunity#412 from adnanjpg/fix-ios-icon-sizes

    fix the icons 50 and 57 in contents.json

commit b55dd30
Merge: 29d9535 cee2b28
Author: Ratakondala Arun <ratakondalaarun@gmail.com>
Date:   Sat Sep 3 11:20:18 2022 +0530

    Merge pull request fluttercommunity#411 from patelpathik/pubspec-fix

    `repository` & `issue_tracker` added to pubspec

commit cee2b28
Author: Ratakondala Arun <ratakondalaarun@gmail.com>
Date:   Sat Sep 3 11:18:39 2022 +0530

    chore: point `issue_tracker` to github issues

commit 43dbe04
Author: adnan <adnanfahedhr@gmail.com>
Date:   Fri Sep 2 12:13:36 2022 +0300

    fix the icons 50 and 57 in contents.json

    the 50x50 icons are actually meant for ipad, but in our ios.dart they are marked as iphone. while the 57x57 should be 1x and 2x, while in our ios.dart we're using 1x and 3x

commit 87e50b5
Author: Pathik Patel <patelpathik1995@gmail.com>
Date:   Tue Aug 30 17:05:30 2022 +0530

    `repository` & `issue_tracker` added to pubspec

commit 29d9535
Author: Ratakondala Arun <ratakondalaarun@gmail.com>
Date:   Mon Aug 15 14:53:06 2022 +0530

    docs: added sections to attributes

commit af2c6a9
Author: Ratakondala Arun <ratakondalaarun@gmail.com>
Date:   Mon Aug 15 14:43:14 2022 +0530

    docs(macos): added macos attributes

commit 03f22fc
Author: Ratakondala Arun <ratakondalaarun@gmail.com>
Date:   Mon Aug 15 13:49:09 2022 +0530

    test(macos): added tests

commit 50f31fb
Author: Ratakondala Arun <ratakondalaarun@gmail.com>
Date:   Mon Aug 15 13:44:08 2022 +0530

    test(windows): rebuild test mocks

commit 704a91b
Author: Ratakondala Arun <ratakondalaarun@gmail.com>
Date:   Mon Aug 15 13:34:42 2022 +0530

    fix: json indentation

    closes fluttercommunity#404

commit e1fe1dd
Author: Ratakondala Arun <ratakondalaarun@gmail.com>
Date:   Sun Aug 14 12:18:30 2022 +0530

    feat(macos): added support for macos icons

    closes fluttercommunity#393

commit 768c7d4
Merge: 226b3db 142a6a7
Author: Ratakondala Arun <ratakondalaarun@gmail.com>
Date:   Sat Aug 13 10:54:21 2022 +0530

    Merge pull request fluttercommunity#406 from fluttercommunity/feat/cli-improvement

    feat/cli-improvement

commit 142a6a7
Author: Ratakondala Arun <ratakondalaarun@gmail.com>
Date:   Fri Aug 12 21:04:15 2022 +0530

    chore(docs): update docs

commit 9ad3910
Author: Ratakondala Arun <ratakondalaarun@gmail.com>
Date:   Fri Aug 12 21:02:28 2022 +0530

    feat: fli cli improvement

    closes fluttercommunity#400

commit 226b3db
Author: Edward Poot <edwardmp@gmail.com>
Date:   Tue Aug 9 16:54:46 2022 +0200

    Fix typos

commit b8ad042
Merge: 42fb273 c8dc48b
Author: Ratakondala Arun <ratakondalaarun@gmail.com>
Date:   Thu Aug 4 21:50:27 2022 +0530

    Merge pull request fluttercommunity#397 from fluttercommunity/release/v0.10.0

    Release/v0.10.0

commit c8dc48b
Author: Ratakondala Arun <ratakondalaarun@gmail.com>
Date:   Thu Aug 4 20:58:17 2022 +0530

    chore: fix markdown lint warnings

commit 0de58aa
Author: Ratakondala Arun <ratakondalaarun@gmail.com>
Date:   Thu Aug 4 20:56:32 2022 +0530

    chore: updated CHANGELOG

commit 42fb273
Merge: 4ffd0f5 e2a077a
Author: Ratakondala Arun <ratakondalaarun@gmail.com>
Date:   Thu Aug 4 20:49:03 2022 +0530

    Merge pull request fluttercommunity#398 from p-mazhnik/pavel/fix-config

    fix loading config from pubspec.yaml

commit e2a077a
Author: p-mazhnik <pavel.mazhnik@gmail.com>
Date:   Wed Aug 3 20:35:44 2022 +0300

    test: use matchers instead of actual values

commit 284d0b5
Author: p-mazhnik <pavel.mazhnik@gmail.com>
Date:   Wed Aug 3 13:13:06 2022 +0300

    refactor package to use FlutterLauncherIconsConfig

commit 267737a
Author: p-mazhnik <pavel.mazhnik@gmail.com>
Date:   Tue Aug 2 21:14:40 2022 +0300

    fix loading config from pubspec.yaml

commit edbc2eb
Author: Ratakondala Arun <ratakondalaarun@gmail.com>
Date:   Tue Aug 2 20:47:51 2022 +0530

    chore: update default_example's pubspec

commit a766119
Author: Ratakondala Arun <ratakondalaarun@gmail.com>
Date:   Tue Aug 2 20:43:10 2022 +0530

    chore(release): updated docs with `v0.10.0` release

commit 4ffd0f5
Merge: f3a811e f58fdce
Author: Ratakondala Arun <ratakondalaarun@gmail.com>
Date:   Tue Aug 2 12:10:57 2022 +0530

    Merge pull request fluttercommunity#392 from fluttercommunity/RatakondalaArun/min-sdk-not-found-384

    RatakondalaArun/min-sdk-not-found-384

commit f58fdce
Author: Ratakondala Arun <ratakondalaarun@gmail.com>
Date:   Mon Aug 1 20:46:10 2022 +0530

    refactor: added 21 as default min_sdk_android

commit 0f3ad18
Author: Ratakondala Arun <ratakondalaarun@gmail.com>
Date:   Mon Aug 1 20:43:32 2022 +0530

    feat(configs):  added new configs to `FlutterLauncherIconsConfig`

    added `min_sdk_android` and `remove_alpha_ios` to `FlutterLauncherIconsConfig`

commit 7e3b5a4
Author: Ratakondala Arun <ratakondalaarun@gmail.com>
Date:   Mon Aug 1 15:12:45 2022 +0530

    refactor:  changed functions to private

commit f3a811e
Author: Adeyanju Akorede <53178226+Lone-Wolf17@users.noreply.github.com>
Date:   Mon Oct 18 12:09:52 2021 +0100

    Update README.md

    fluttercommunity#231 (comment)

    From the insight given in the issue above

commit f2ae2d9
Author: Ratakondala Arun <ratakondalaarun@gmail.com>
Date:   Sun Jul 31 14:05:08 2022 +0530

    docs(android): added `min_sdk_android` config to example

commit 0e3ef1f
Author: Ratakondala Arun <ratakondalaarun@gmail.com>
Date:   Sun Jul 31 13:55:09 2022 +0530

    docs(android): added `remove_alpha_ios` config docs

    closes fluttercommunity#386

commit 36793cb
Author: Ratakondala Arun <ratakondalaarun@gmail.com>
Date:   Sun Jul 31 13:54:21 2022 +0530

    docs(android): added `min_sdk_android` config docs

commit 6222def
Author: Ratakondala Arun <ratakondalaarun@gmail.com>
Date:   Sun Jul 31 13:35:54 2022 +0530

    style: formatted

commit 208a070
Author: Ratakondala Arun <ratakondalaarun@gmail.com>
Date:   Sun Jul 31 13:35:24 2022 +0530

    fix(android): minSdk not found closes fluttercommunity#384

commit 34c7d2c
Merge: f86452b 9d088cc
Author: Ratakondala Arun <ratakondalaarun@gmail.com>
Date:   Thu Jul 28 11:32:11 2022 +0530

    Merge pull request fluttercommunity#389 from fluttercommunity/mos/338-test-check-version-number

    test: checking version number is matching one in pubspec.yaml

commit 9d088cc
Author: Mark O'Sullivan <mos182@hotmail.co.uk>
Date:   Thu Jul 28 13:48:41 2022 +0800

    refactor: renaming method to convert pubspec to map

commit f86452b
Author: Ratakondala Arun <ratakondalaarun@gmail.com>
Date:   Tue Jul 26 21:37:59 2022 +0530

    docs(windows): added windows docs

commit 3a2fe32
Author: Mark O'Sullivan <mos182@hotmail.co.uk>
Date:   Wed Jul 27 15:26:32 2022 +0100

    Update lib/main.dart

    Co-authored-by: Ratakondala Arun <ratakondalaarun@gmail.com>

commit 2713188
Author: Mark O'Sullivan <mos182@hotmail.co.uk>
Date:   Tue Jul 26 22:01:42 2022 +0800

    test: checking version number is matching one in pubspec.yaml

commit 3f30632
Author: Ratakondala Arun <ratakondalaarun@gmail.com>
Date:   Tue Jul 26 14:58:58 2022 +0530

    refactor: `kWindowsIconSize` to `windowsDefaultIconSize`

commit 645dc67
Author: Ratakondala Arun <ratakondalaarun@gmail.com>
Date:   Tue Jul 26 14:56:58 2022 +0530

    style: use relative imports

commit 4eb502d
Author: Mark O'Sullivan <mos182@hotmail.co.uk>
Date:   Tue Jul 26 17:11:00 2022 +0800

    fix: typos

commit 6329b7a
Author: Ratakondala Arun <ratakondalaarun@gmail.com>
Date:   Sat Jul 23 23:35:31 2022 +0530

    test(windows): added tests for windows

commit 9a35e23
Author: Ratakondala Arun <ratakondalaarun@gmail.com>
Date:   Sat Jul 23 19:58:18 2022 +0530

    feat(windows): add support for windows closes fluttercommunity#380

commit 8affb1f
Merge: dcc1c62 e9d1417
Author: Ratakondala Arun <ratakondalaarun@gmail.com>
Date:   Tue Jul 26 16:16:23 2022 +0530

    Merge pull request fluttercommunity#298 from bossly/master

    Added missed icon sizes for iOS

commit e9d1417
Author: Oleg <130861+bossly@users.noreply.github.com>
Date:   Tue Jul 26 13:08:07 2022 +0300

    fix tests

commit dcc1c62
Author: Ratakondala Arun <ratakondalaarun@gmail.com>
Date:   Tue Jul 26 10:53:34 2022 +0530

    chore(test): fix duplicate test runs

commit dc3bca6
Author: Mark O'Sullivan <mos182@hotmail.co.uk>
Date:   Tue Jul 26 13:05:40 2022 +0800

    ci: added workflow for auto running tests and analyzer for newly opened prs to merge into  master

commit 7850064
Author: Ratakondala Arun <ratakondalaarun@gmail.com>
Date:   Sat Jul 23 17:36:09 2022 +0530

    docs(web): added web documentation

commit 168b0b8
Author: Ratakondala Arun <ratakondalaarun@gmail.com>
Date:   Sat Jul 23 17:23:28 2022 +0530

    chore(lint): fixed Markdown lint warnings

commit a69a4e9
Merge: d2c493d 3a5822e
Author: Ratakondala Arun <ratakondalaarun@gmail.com>
Date:   Sat Jul 23 15:41:40 2022 +0530

    Merge pull request fluttercommunity#374 from fluttercommunity/RatakondalaArun/web-support

    RatakondalaArun/web-support

commit 3a5822e
Author: Ratakondala Arun <ratakondalaarun@gmail.com>
Date:   Wed Jul 20 16:19:48 2022 +0530

    style: sort variable order

commit 6713bd4
Author: Ratakondala Arun <ratakondalaarun@gmail.com>
Date:   Wed Jul 20 16:14:04 2022 +0530

    style: sorted imports

commit 610fcb8
Author: Ratakondala Arun <ratakondalaarun@gmail.com>
Date:   Wed Jul 20 16:12:44 2022 +0530

    fix(lint): filxed lint warnings for `require_trailing_commas`

commit af10715
Author: Ratakondala Arun <ratakondalaarun@gmail.com>
Date:   Wed Jul 20 16:09:53 2022 +0530

    fix(lint): filxed lint warnings for `public_member_api_docs`

commit 4aa4162
Author: Ratakondala Arun <ratakondalaarun@gmail.com>
Date:   Wed Jul 20 15:31:13 2022 +0530

    fix(generator):  fixed typo in a method

commit 4fac239
Author: Ratakondala Arun <ratakondalaarun@gmail.com>
Date:   Wed Jul 20 11:46:03 2022 +0530

    style: add missing space

    Co-authored-by: Mark O'Sullivan <mos182@hotmail.co.uk>

commit d2c493d
Author: Mark O'Sullivan <mos182@hotmail.co.uk>
Date:   Sun Jul 10 20:25:36 2022 +0800

    chore: setting up automatic deployment of newly published github release

commit 24bc6e7
Author: Ratakondala Arun <ratakondalaarun@gmail.com>
Date:   Sun Jul 10 20:38:01 2022 +0530

    test: added common entrypoint to all tests

    This can be used to generate code coverage reports

commit 96a54a5
Author: Ratakondala Arun <ratakondalaarun@gmail.com>
Date:   Sun Jul 10 20:36:49 2022 +0530

    test(web): added tests for web icon generator

commit 3e2578e
Author: Ratakondala Arun <ratakondalaarun@gmail.com>
Date:   Sun Jul 10 20:29:17 2022 +0530

    test(icon_generator): added tests for IconGenerator

commit 12da70f
Author: Ratakondala Arun <ratakondalaarun@gmail.com>
Date:   Sun Jul 10 20:29:06 2022 +0530

    vendor(deps): added mokito for tests

commit a769629
Author: Ratakondala Arun <ratakondalaarun@gmail.com>
Date:   Sun Jul 10 17:05:56 2022 +0530

    fix(logging): added verbose logging to platform failure

commit bae9be2
Author: Ratakondala Arun <ratakondalaarun@gmail.com>
Date:   Sun Jul 10 14:39:58 2022 +0530

    test(web): added tests for web icon templates

commit c2aaaa8
Author: Ratakondala Arun <ratakondalaarun@gmail.com>
Date:   Sun Jul 10 14:39:17 2022 +0530

    test(utils): added tests for utils

commit d3c061d
Author: Ratakondala Arun <ratakondalaarun@gmail.com>
Date:   Sun Jul 10 12:54:04 2022 +0530

    test(fli_config): added tests for fli config

commit 542e7fe
Author: Ratakondala Arun <ratakondalaarun@gmail.com>
Date:   Sun Jul 10 12:53:05 2022 +0530

    vendor(deps): added test dependencies

commit 9a1f828
Author: Ratakondala Arun <ratakondalaarun@gmail.com>
Date:   Sun Jul 10 12:09:25 2022 +0530

    fix(config): type error when invalid config is passed

commit b2b8982
Author: Ratakondala Arun <ratakondalaarun@gmail.com>
Date:   Sun Jul 10 10:43:42 2022 +0530

    feat(cli-option): added --prefix option

    --prefix Generates icons in the given path. Used for testing in virtual directory.

    Only supports web platform for now

commit 4a49ff8
Author: Ratakondala Arun <ratakondalaarun@gmail.com>
Date:   Fri Jul 8 21:49:11 2022 +0530

    feat(web): support for web icons

commit e597498
Author: Ratakondala Arun <ratakondalaarun@gmail.com>
Date:   Fri Jul 8 19:28:13 2022 +0530

    feat(logger): added logger

commit 3a5cbff
Author: Ratakondala Arun <ratakondalaarun@gmail.com>
Date:   Fri Jul 8 19:26:49 2022 +0530

    feat(web): constants for web platform

commit 9087923
Author: Ratakondala Arun <ratakondalaarun@gmail.com>
Date:   Fri Jul 8 19:13:24 2022 +0530

    vendor(deps): added new dependencies

    checked_yaml,json_annotation for typesafe configs,
    cli_util for logging

commit 2db23d4
Author: Ratakondala Arun <ratakondalaarun@gmail.com>
Date:   Fri Jul 8 18:09:28 2022 +0530

    chore(vscode): add vscode workspace config

commit 8b925d0
Author: Ratakondala Arun <ratakondalaarun@gmail.com>
Date:   Fri Jul 8 18:08:59 2022 +0530

    chore(lints): disabled `sort_constructors_first`

commit 180a0a5
Author: Ratakondala Arun <ratakondalaarun@gmail.com>
Date:   Fri Jul 8 18:07:38 2022 +0530

    style(analysis): formatted

commit 4d379de
Merge: e420c33 11adaa9
Author: Ratakondala Arun <ratakondalaarun@gmail.com>
Date:   Thu Jun 23 20:30:49 2022 +0530

    Merge pull request fluttercommunity#365 from BenVercammen/android-mipmap-bg

    fix: ignore commented minSdkVersion

commit 11adaa9
Author: Ben Vercammen <benvercammen@gmail.com>
Date:   Tue Jun 7 09:27:40 2022 +0200

    fix: ignore commented minSdkVersion

commit e420c33
Author: Mark O'Sullivan <mos182@hotmail.co.uk>
Date:   Mon Jun 6 23:39:51 2022 +0100

    Update README.md

commit 73750cc
Merge: cae647e 79b5f6e
Author: Mark O'Sullivan <mos182@hotmail.co.uk>
Date:   Mon Jun 6 22:43:26 2022 +0100

    Merge pull request fluttercommunity#364 from fluttercommunity/feature/auto-generation-of-version

    fix: Incorrect version number shown

commit 79b5f6e
Author: Mark O'Sullivan <mos182@hotmail.co.uk>
Date:   Mon Jun 6 09:59:36 2022 +0100

    fix: Incorrect version number shown

    Thanks to build_version and build_runner the version number is automatically generated after running build_runner and should _hopefully_ be easier to update

    Refs: fluttercommunity#350

commit cae647e
Merge: fbbdadc 6915e2f
Author: Mark O'Sullivan <mos182@hotmail.co.uk>
Date:   Sun Jun 5 13:42:36 2022 +0100

    Merge pull request fluttercommunity#322 from RatakondalaArun/fix/flutter-v2.8.0-support-321

    Fix/flutter v2.8.0 support 321

commit 6915e2f
Author: Ratakondala Arun <ratakondalaarun@gmail.com>
Date:   Sun Jan 2 17:26:17 2022 +0530

    add: error message if minSdkValue is not found

commit cf0d068
Author: Ratakondala Arun <ratakondalaarun@gmail.com>
Date:   Sun Jan 2 17:24:16 2022 +0530

    add: fallback to local.properties

commit 1551a8a
Author: Oleg <oleg.baidalka@gmail.com>
Date:   Fri Nov 5 14:21:54 2021 +0200

    added missied sizes for iOS

commit 3ed1642
Author: Oleg <oleg.baidalka@gmail.com>
Date:   Fri Nov 5 14:16:49 2021 +0200

    Update ios.dart

    added missing icons sizes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.