Skip to content

Commit a388c09

Browse files
committed
Add FAQs section for common errors related to app launcher icons
1 parent 4d10adb commit a388c09

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

docs/test-and-publish/publish/pre-checks-publishing.md

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -176,3 +176,27 @@ See the following resources for more information on Android adaptive icons.
176176
- [Designing Adaptive Icons](https://medium.com/google-design/designing-adaptive-icons-515af294c783)
177177
- [Implementing Adaptive Icons](https://medium.com/google-developers/implementing-adaptive-icons-1e4d1795470e)
178178

179+
## FAQs
180+
181+
<details>
182+
<summary> I am getting `✗ ERROR: NoConfigFoundException – No configuration found in flutter_launcher_icons.yaml or in pubspec.yaml`. How do I fix it? </summary>
183+
184+
<p>
185+
This error means the `flutter_launcher_icons` package hasn’t been properly added to your project. To fix this, you can:
186+
187+
- **Add it manually**: Open your `pubspec.yaml`, add the [**`flutter_launcher_icons`**](https://pub.dev/packages/flutter_launcher_icons) dependency with required configuration, then refresh dependencies by clicking **Refresh Dependencies** button at bottom left side. See the detailed guide on [**adding app launcher icon**](#add-app-launcher-icon).
188+
189+
- **Use the Agent**: Click <kbd>Fix with AI</kbd> button when the error appears, and the Agent will add the required configuration for you.
190+
</p>
191+
192+
</details>
193+
194+
195+
<details>
196+
<summary> Why am I seeing this error `PathNotFoundException: Cannot open file, path = 'assets/images/icon.png' (OS Error: No such file or directory, errno = 2)` ? </summary>
197+
198+
<p>
199+
This error occurs because the app icon file could not be found at the specified path. To fix this, make sure you’ve added a launcher icon [**Assets**](../../workspace/modules-panel/assets.md) module. Refer to [**adding app launcher icon**](#add-app-launcher-icon) section for step-by-step instructions.
200+
</p>
201+
202+
</details>

0 commit comments

Comments
 (0)