簡體   English   中英

我是 Flutter 的新手,並試圖用 Flutter Launcher Icons 更改我的應用程序圖標並收到錯誤“錯誤:InvalidConfigException”我該如何解決這個問題?

[英]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?

發布規范.yaml

發布規范.yaml

圖標位置

我如何解決這個錯誤?

喲可以做到以下幾點:

轉到projectroot/android/app/build.gradle文件

在該defaultConfig標記內的andorid標記內你可以寫這個

在此處輸入圖像描述

minSdk   17

然后你可以通過flutter cleanflutter pub ge檢查並再次運行。

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM