Code: Select all
flutter pub get
flutter pub run flutter_launcher_icons
< /code>
Als ich diesen Code auf dem Terminal ausgeführt habe, war dies das Ergebnis: < /p>
Warning: flutter_icons has been deprecated please use flutter_launcher_icons instead in your yaml files
• Creating default icons Android
✕ Could not generate launcher icons
PathNotFoundException: Cannot open file, path = 'assets/app_logo.png' (OS Error: The system cannot find the file specified.
, errno = 2)
< /code>
Ich habe den Icon -Launcher -Paketcode bereits auf meinem PubSec.yaml hinzugefügt: < /p>
dev_dependencies:
flutter_test:
sdk: flutter
flutter_launcher_icons: ^0.13.1
flutter_icons:
android: true
ios: true
image_path: "assets/app_logo.png"
(https:/i.sstatic.net/wxdds. Kann mir jemand bitte helfen, damit ich dies richtig beheben kann.>