Error: Cannot rename file to './.dart_tool/pub/bin/flutter_launcher_icons/flutter_launcher_icons.dart-3.0.6.snapshot'
miikhaaeel opened this issue · comments
ℹ️ Info
Version: flutter_launcher_icons: ^0.12.0
💬 Description
Cannot rename file to './.dart_tool/pub/bin/flutter_launcher_icons/flutter_launcher_icons.dart-3.0.6.snapshot', path = './.dart_tool/pub/incremental/flutter_launcher_icons/tmpMOFRGX/flutter_launcher_icons.dart.incremental.dill.temp' (OS Error: No such file or directory, errno = 2)
📜 Pubspec.yaml
name: homepage
description: A new Flutter project.
publish_to: "none" # Remove this line if you wish to publish to pub.dev
version: 1.0.0+1
environment:
sdk: ">=2.17.6 <3.0.0"
dependencies:
another_flushbar: ^1.12.29
async: ^2.10.0
auto_size_text: ^3.0.0
awesome_select: ^6.0.0
cached_network_image: ^3.2.3
calendar_date_picker2: ^0.4.5
checkbox_grouped: ^1.8.2
clipboard: ^0.1.3
cupertino_icons: ^1.0.2
dio: ^5.0.1
dropdown_search: ^5.0.6
firebase_core: ^2.10.0
firebase_messaging: ^14.4.1
flutter:
sdk: flutter
flutter_dotenv: ^5.0.2
flutter_launcher_icons: ^0.12.0
flutter_screenutil: ^5.8.4
flutter_secure_storage: ^8.0.0
flutter_slidable: ^2.0.0
flutter_spinkit: ^5.1.0
flutter_svg: ^2.0.2
font_awesome_flutter: ^10.4.0
form_field_validator: ^1.1.0
get: ^4.6.5
google_maps_flutter: ^2.2.5
grouped_list: ^5.1.2
http_parser: ^4.0.2
image_picker: ^0.8.7+3
image_stack: ^2.1.1
intl: ^0.17.0
local_auth: ^2.1.5
mobile_scanner: ^3.1.0
overlay_loading_progress: ^1.0.1
path_provider: ^2.0.15
pattern_formatter: ^2.0.0
pin_code_fields: ^7.4.0
qr_flutter: ^4.0.0
shared_preferences: ^2.0.18
sliding_up_panel: ^2.0.0+1
syncfusion_flutter_barcodes: ^20.4.53
dev_dependencies:
flutter_lints: ^2.0.0
flutter_native_splash: ^2.2.18
flutter_test:
sdk: flutter
flutter_icons:
image_path: "assets/images/logo.png"
android: "launcher_icon"
ios: true
flutter_native_splash:
color: "#803CE0"
image: assets/images/logo.png
android: true
ios: true
any news ?
I got the same problem
I have solved the problem by flutter clean
use dart run flutter_launcher_icons
instead of flutter pub run flutter_launcher_icons