简体   繁体   中英

I am new in flutter and trying to change my app icon with Flutter Launcher Icons and getting error 'ERROR: InvalidConfigException' how i can fix this?

pubspec.yaml

pubspec.yaml

icon location

How I fix this error??

Yo can do following:

Goto projectroot/android/app/build.gradle file

inside andorid tag inside that defaultConfig tag you can write this

在此处输入图像描述

minSdk   17

then after you can check by flutter clean and flutter pub ge t and run again.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM