fluttercommunity / flutter_launcher_icons

Flutter Launcher Icons - A package which simplifies the task of updating your Flutter app's launcher icon. Fully flexible, allowing you to choose what platform you wish to update the launcher icon for and if you want, the option to keep your old launcher icon in case you want to revert back sometime in the future. Maintainer: @MarkOSullivan94
https://pub.dev/packages/flutter_launcher_icons
MIT License
1.99k stars 396 forks source link

Could not generate launcher icons #452

Closed PonchoTSG closed 1 year ago

PonchoTSG commented 1 year ago

I have this error and i can't resolve any ideas?

════════════════════════════════════════════ FLUTTER LAUNCHER ICONS (v0.11.0) ════════════════════════════════════════════

• Creating default icons Android • Overwriting the default Android launcher icon with a new icon • Overwriting default iOS launcher icon with new icon

✕ Could not generate launcher icons FileSystemException: Cannot open file, path = 'ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@1x.png' (OS Error: El sistema no puede encontrar la ruta especificada. , errno = 3) pub finished with exit code 2

:scroll: Pubspec.yaml

name: app_graficas description: A new Flutter module project.

version: 1.0.0+1

environment: sdk: '>=2.18.5 <3.0.0'

dependencies: cloud_firestore: ^4.3.1 cupertino_icons: ^1.0.2 firebase_analytics: ^10.1.0 firebase_core: ^2.4.1 firebase_messaging: ^14.2.1 fl_chart: ^0.60.0 flutter: sdk: flutter flutter_intl: ^0.0.1

flutter_picker: ^2.0.5 intl: ^0.18.0 provider: ^6.0.5

dev_dependencies: flutter_lints: ^2.0.0 flutter_test: sdk: flutter flutter_launcher_icons: "^0.11.0"

flutter_icons: image_path: "assets/icon/graf-icon.png"

android: true

ios: true remove_alpha_ios: true

flutter:

uses-material-design: true

module: androidX: true androidPackage: com.example.app_graficas iosBundleIdentifier: com.example.appGraficas

KristijanZic commented 1 year ago

Same here

PonchoTSG commented 1 year ago

Same here

I resolve make another project and start with the icons

faldado82 commented 1 year ago

Same here...

flutter pub run flutter_launcher_icons      
Deprecated. Use `dart run` instead.
  ════════════════════════════════════════════
     FLUTTER LAUNCHER ICONS (v0.13.1)
  ════════════════════════════════════════════

• Creating default icons Android

✕ Could not generate launcher icons
PathNotFoundException: Cannot open file, path = 'assets/icon/icon.png' (OS Error: El sistema 
no puede encontrar la ruta especificada.
, errno = 3)
dev_dependencies:
  flutter_test:
    sdk: flutter
  flutter_lints: ^2.0.0
  flutter_launcher_icons: ^0.13.1

flutter_launcher_icons:
  android: "launcher_icon"
  ios: true
  image_path: "assets/icon/icon.png"
  min_sdk_android: 21
  adaptive_icon_background: "assets/icon/icon.png"
RatakondalaArun commented 1 year ago

@PonchoTSG @faldado82 Is it possible to share the output of below two commands for debug ?

faldado82 commented 1 year ago

dart pub run flutter_launcher_icons -v

FINE: Pub 3.0.2
MSG : Deprecated. Use `dart run` instead.
FINE: Package Config up to date.
FINE: Package Config up to date.
MSG : Building package executable...
IO  : Created temp directory .\.dart_tool/pub\incremental\flutter_launcher_icons\tmp2aeeb79e
MSG : Built flutter_launcher_icons:flutter_launcher_icons.
IO  : Renaming ".\.dart_tool/pub\incremental\flutter_launcher_icons\tmp2aeeb79e\flutter_launcher_icons.dart.incremental.dill.temp" to ".\.dart_tool/pub\bin\flutter_launcher_icons\flutter_launcher_icons.dart-3.0.2.snapshot".
IO  : Deleting directory .\.dart_tool/pub\incremental\flutter_launcher_icons\tmp2aeeb79e.
FINE: Building package executable finished (7.142s).
  ════════════════════════════════════════════
     FLUTTER LAUNCHER ICONS (v0.13.1)
  ════════════════════════════════════════════

[     0.001s] Received args [-v]
• Creating default icons Android

✕ Could not generate launcher icons
PathNotFoundException: Cannot open file, path = 'assets/icon/icon.png' (OS Error: El sistema no puede encontrar la ruta especificada.
, errno = 3)
IO  : Writing 10410 characters to text file C:\Users\Fran\AppData\Local\Pub\Cache\log\pub_log.txt.   
MSG : Logs written to C:\Users\Fran\AppData\Local\Pub\Cache\log\pub_log.txt.

flutter pub run flutter_launcher_icons -v

[   +2 ms] executing: [C:\tools\flutter/] git -c log.showSignature=false log -n 1 --pretty=format:%H
[  +59 ms] Exit code 0 from: git -c log.showSignature=false log -n 1 --pretty=format:%H
[        ] 9cd3d0d9ff05768afa249e036acc66e8abe93bff
[        ] executing: [C:\tools\flutter/] git tag --points-at
9cd3d0d9ff05768afa249e036acc66e8abe93bff
[  +77 ms] Exit code 0 from: git tag --points-at 9cd3d0d9ff05768afa249e036acc66e8abe93bff
[        ] 3.10.2
[   +2 ms] executing: [C:\tools\flutter/] git rev-parse --abbrev-ref HEAD
[  +55 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD
[        ] stable
[  +31 ms] executing: [C:\tools\flutter/] git rev-parse --abbrev-ref --symbolic @{upstream}
[  +57 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{upstream}
[        ] origin/stable
[        ] executing: [C:\tools\flutter/] git ls-remote --get-url origin
[  +56 ms] Exit code 0 from: git ls-remote --get-url origin
[        ] https://github.com/flutter/flutter.git
[  +91 ms] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterWebSdk' is not required, skipping update.
[   +2 ms] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update.
[   +1 ms] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.        
[        ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.        
[  +36 ms] Artifact Instance of 'MaterialFonts' is not required, skipping update.
[        ] Artifact Instance of 'GradleWrapper' is not required, skipping update.
[        ] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update.      
[        ] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.    
[        ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterWebSdk' is not required, skipping update.
[        ] Artifact Instance of 'FlutterSdk' is not required, skipping update.
[        ] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.        
[        ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.        
[        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FontSubsetArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'PubDependencies' is not required, skipping update.
[  +77 ms] executing: [C:\Users\Fran\OneDrive\Escritorio\FLUTTER_DART\Fernando Herrera\FH - 02 -
Flutter\movies_app/] C:\tools\flutter\bin\cache\dart-sdk\bin\dart pub --suppress-analytics run       
flutter_launcher_icons -v
FINE: Pub 3.0.2
MSG : Deprecated. Use `dart run` instead.
FINE: Package Config up to date.
FINE: Package Config up to date.
  ════════════════════════════════════════════
     FLUTTER LAUNCHER ICONS (v0.13.1)
  ════════════════════════════════════════════

[     0.001s] Received args [-v]
• Creating default icons Android

✕ Could not generate launcher icons
PathNotFoundException: Cannot open file, path = 'assets/icon/icon.png' (OS Error: El sistema no puede encontrar la ruta especificada.
, errno = 3)
IO  : Writing 9867 characters to text file C:\Users\Fran\AppData\Local\Pub\Cache\log\pub_log.txt.    
MSG : Logs written to C:\Users\Fran\AppData\Local\Pub\Cache\log\pub_log.txt.
[ +456 ms] pub failed
                    command: "C:\tools\flutter\bin\cache\dart-sdk\bin\dart pub --suppress-analytics  
                    run flutter_launcher_icons -v"
                    pub env: {
                      "FLUTTER_ROOT": "C:\tools\flutter",
                      "PUB_ENVIRONMENT": "flutter_cli:forward",
                    }
                    exit code: 2

[  +12 ms] "flutter run" took 603ms.
[   +3 ms] 
           #0      throwToolExit (package:flutter_tools/src/base/common.dart:10:3)
           #1      _DefaultPub._runWithStdioInherited (package:flutter_tools/src/dart/pub.dart:447:7)           <asynchronous suspension>
           #2      _DefaultPub.interactively (package:flutter_tools/src/dart/pub.dart:530:5)
           <asynchronous suspension>
           #3      PackagesForwardCommand.runCommand
(package:flutter_tools/src/commands/packages.dart:122:5)
           <asynchronous suspension>
           #4      FlutterCommand.run.<anonymous closure>
           (package:flutter_tools/src/runner/flutter_command.dart:1336:27)
           <asynchronous suspension>
           #5      AppContext.run.<anonymous closure>
(package:flutter_tools/src/base/context.dart:150:19)
           <asynchronous suspension>
           #6      CommandRunner.runCommand (package:args/command_runner.dart:212:13)
           <asynchronous suspension>
           #7      FlutterCommandRunner.runCommand.<anonymous closure>
           (package:flutter_tools/src/runner/flutter_command_runner.dart:296:9)
           <asynchronous suspension>
           #8      AppContext.run.<anonymous closure>
(package:flutter_tools/src/base/context.dart:150:19)
           <asynchronous suspension>
           #9      FlutterCommandRunner.runCommand
           (package:flutter_tools/src/runner/flutter_command_runner.dart:244:5)
           <asynchronous suspension>
           #10     run.<anonymous closure>.<anonymous closure>
(package:flutter_tools/runner.dart:91:9)
           <asynchronous suspension>
           #11     AppContext.run.<anonymous closure>
(package:flutter_tools/src/base/context.dart:150:19)
           <asynchronous suspension>
           #12     main (package:flutter_tools/executable.dart:91:3)
           <asynchronous suspension>

[ +100 ms] ensureAnalyticsSent: 89ms
[   +1 ms] Running 0 shutdown hooks
[        ] Shutdown hooks complete
[        ] exiting with code 2

tree

Listado de rutas de carpetas
El número de serie del volumen es B64D-19FD
C:.
├───.dart_tool
│   ├───dartpad
│   ├───flutter_build
│   │   └───5a4bffa040e0ec8373364729a2a0c6c2
│   └───pub
│       ├───bin
│       │   └───flutter_launcher_icons
│       └───incremental
│           └───flutter_launcher_icons
├───.idea
│   ├───libraries
│   └───runConfigurations
├───android
│   ├───.gradle
│   │   ├───7.5
│   │   │   ├───checksums
│   │   │   ├───dependencies-accessors
│   │   │   ├───executionHistory
│   │   │   ├───fileChanges
│   │   │   ├───fileHashes
│   │   │   └───vcsMetadata
│   │   ├───buildOutputCleanup
│   │   └───vcs-1
│   ├───app
│   │   └───src
│   │       ├───debug
│   │       ├───main
│   │       │   ├───java
│   │       │   │   └───io
│   │       │   │       └───flutter
│   │       │   │           └───plugins
│   │       │   ├───kotlin
│   │       │   │   └───com
│   │       │   │       └───example
│   │       │   │           └───movies_app
│   │       │   └───res
│   │       │       ├───drawable
│   │       │       ├───drawable-v21
│   │       │       ├───mipmap-hdpi
│   │       │       ├───mipmap-mdpi
│   │       │       ├───mipmap-xhdpi
│   │       │       ├───mipmap-xxhdpi
│   │       │       ├───mipmap-xxxhdpi
│   │       │       ├───values
│   │       │       └───values-night
│   │       └───profile
│   └───gradle
│       └───wrapper
├───build
│   ├───1c0e2da943754710795c25dc7d481b85
│   ├───app
│   │   ├───generated
│   │   │   ├───ap_generated_sources
│   │   │   │   └───debug
│   │   │   │       └───out
│   │   │   ├───res
│   │   │   │   ├───pngs
│   │   │   │   │   └───debug
│   │   │   │   └───resValues
│   │   │   │       └───debug
│   │   │   └───source
│   │   │       └───buildConfig
│   │   │           └───debug
│   │   │               └───com
│   │   │                   └───example
│   │   │                       └───movies_app
│   │   ├───intermediates
│   │   │   ├───aar_metadata_check
│   │   │   │   └───debug
│   │   │   ├───annotation_processor_list
│   │   │   │   └───debug
│   │   │   ├───apk_ide_redirect_file
│   │   │   │   └───debug
│   │   │   ├───app_metadata
│   │   │   │   └───debug
│   │   │   ├───assets
│   │   │   │   └───debug
│   │   │   │       └───mergeDebugAssets
│   │   │   │           └───flutter_assets
│   │   │   │               ├───fonts
│   │   │   │               ├───lib
│   │   │   │               │   └───assets
│   │   │   │               ├───packages
│   │   │   │               │   └───cupertino_icons
│   │   │   │               │       └───assets
│   │   │   │               └───shaders
│   │   │   ├───compatible_screen_manifest
│   │   │   │   └───debug
│   │   │   ├───compile_and_runtime_not_namespaced_r_class_jar
│   │   │   │   └───debug
│   │   │   ├───compressed_assets
│   │   │   │   └───debug
│   │   │   │       └───out
│   │   │   │           └───assets
│   │   │   │               └───flutter_assets
│   │   │   │                   ├───fonts
│   │   │   │                   ├───lib
│   │   │   │                   │   └───assets
│   │   │   │                   ├───packages
│   │   │   │                   │   └───cupertino_icons
│   │   │   │                   │       └───assets
│   │   │   │                   └───shaders
│   │   │   ├───data_binding_layout_info_type_merge
│   │   │   │   └───debug
│   │   │   │       └───out
│   │   │   ├───desugar_graph
│   │   │   │   └───debug
│   │   │   │       └───out
│   │   │   │           ├───currentProject
│   │   │   │           │   ├───dirs_bucket_0
│   │   │   │           │   ├───dirs_bucket_1
│   │   │   │           │   ├───dirs_bucket_2
│   │   │   │           │   ├───dirs_bucket_3
│   │   │   │           │   ├───dirs_bucket_4
│   │   │   │           │   ├───dirs_bucket_5
│   │   │   │           │   ├───jar_0371541c016f2c54a7489b6529ac313655e2e68da560ea97449ac94e3777e920_bucket_0
│   │   │   │           │   ├───jar_0371541c016f2c54a7489b6529ac313655e2e68da560ea97449ac94e3777e920_bucket_1
│   │   │   │           │   ├───jar_0371541c016f2c54a7489b6529ac313655e2e68da560ea97449ac94e3777e920_bucket_2
│   │   │   │           │   ├───jar_0371541c016f2c54a7489b6529ac313655e2e68da560ea97449ac94e3777e920_bucket_3
│   │   │   │           │   ├───jar_0371541c016f2c54a7489b6529ac313655e2e68da560ea97449ac94e3777e920_bucket_4
│   │   │   │           │   └───jar_0371541c016f2c54a7489b6529ac313655e2e68da560ea97449ac94e3777e920_bucket_5
│   │   │   │           ├───externalLibs
│   │   │   │           ├───mixedScopes
│   │   │   │           └───otherProjects
│   │   │   ├───dex
│   │   │   │   └───debug
│   │   │   │       └───mergeDexDebug
│   │   │   ├───dex_archive_input_jar_hashes
│   │   │   │   └───debug
│   │   │   ├───dex_number_of_buckets_file
│   │   │   │   └───debug
│   │   │   ├───duplicate_classes_check
│   │   │   │   └───debug
│   │   │   ├───external_file_lib_dex_archives
│   │   │   │   └───debug
│   │   │   ├───external_libs_dex
│   │   │   │   └───debug
│   │   │   │       └───mergeExtDexDebug
│   │   │   ├───external_libs_dex_archive
│   │   │   │   └───debug
│   │   │   │       └───out
│   │   │   ├───external_libs_dex_archive_with_artifact_transforms
│   │   │   │   └───debug
│   │   │   │       └───out
│   │   │   ├───flutter
│   │   │   │   └───debug
│   │   │   │       └───flutter_assets
│   │   │   │           ├───fonts
│   │   │   │           ├───lib
│   │   │   │           │   └───assets
│   │   │   │           ├───packages
│   │   │   │           │   └───cupertino_icons
│   │   │   │           │       └───assets
│   │   │   │           └───shaders
│   │   │   ├───incremental
│   │   │   │   ├───debug
│   │   │   │   │   └───mergeDebugResources
│   │   │   │   │       ├───merged.dir
│   │   │   │   │       │   ├───values
│   │   │   │   │       │   ├───values-af
│   │   │   │   │       │   ├───values-am
│   │   │   │   │       │   ├───values-ar
│   │   │   │   │       │   ├───values-as
│   │   │   │   │       │   ├───values-az
│   │   │   │   │       │   ├───values-b+sr+Latn
│   │   │   │   │       │   ├───values-be
│   │   │   │   │       │   ├───values-bg
│   │   │   │   │       │   ├───values-bn
│   │   │   │   │       │   ├───values-bs
│   │   │   │   │       │   ├───values-ca
│   │   │   │   │       │   ├───values-cs
│   │   │   │   │       │   ├───values-da
│   │   │   │   │       │   ├───values-de
│   │   │   │   │       │   ├───values-el
│   │   │   │   │       │   ├───values-en-rAU
│   │   │   │   │       │   ├───values-en-rCA
│   │   │   │   │       │   ├───values-en-rGB
│   │   │   │   │       │   ├───values-en-rIN
│   │   │   │   │       │   ├───values-en-rXC
│   │   │   │   │       │   ├───values-es
│   │   │   │   │       │   ├───values-es-rUS
│   │   │   │   │       │   ├───values-et
│   │   │   │   │       │   ├───values-eu
│   │   │   │   │       │   ├───values-fa
│   │   │   │   │       │   ├───values-fi
│   │   │   │   │       │   ├───values-fr
│   │   │   │   │       │   ├───values-fr-rCA
│   │   │   │   │       │   ├───values-gl
│   │   │   │   │       │   ├───values-gu
│   │   │   │   │       │   ├───values-hi
│   │   │   │   │       │   ├───values-hr
│   │   │   │   │       │   ├───values-hu
│   │   │   │   │       │   ├───values-hy
│   │   │   │   │       │   ├───values-in
│   │   │   │   │       │   ├───values-is
│   │   │   │   │       │   ├───values-it
│   │   │   │   │       │   ├───values-iw
│   │   │   │   │       │   ├───values-ja
│   │   │   │   │       │   ├───values-ka
│   │   │   │   │       │   ├───values-kk
│   │   │   │   │       │   ├───values-km
│   │   │   │   │       │   ├───values-kn
│   │   │   │   │       │   ├───values-ko
│   │   │   │   │       │   ├───values-ky
│   │   │   │   │       │   ├───values-lo
│   │   │   │   │       │   ├───values-lt
│   │   │   │   │       │   ├───values-lv
│   │   │   │   │       │   ├───values-mk
│   │   │   │   │       │   ├───values-ml
│   │   │   │   │       │   ├───values-mn
│   │   │   │   │       │   ├───values-mr
│   │   │   │   │       │   ├───values-ms
│   │   │   │   │       │   ├───values-my
│   │   │   │   │       │   ├───values-nb
│   │   │   │   │       │   ├───values-ne
│   │   │   │   │       │   ├───values-night-v8
│   │   │   │   │       │   ├───values-nl
│   │   │   │   │       │   ├───values-or
│   │   │   │   │       │   ├───values-pa
│   │   │   │   │       │   ├───values-pl
│   │   │   │   │       │   ├───values-pt
│   │   │   │   │       │   ├───values-pt-rBR
│   │   │   │   │       │   ├───values-pt-rPT
│   │   │   │   │       │   ├───values-ro
│   │   │   │   │       │   ├───values-ru
│   │   │   │   │       │   ├───values-si
│   │   │   │   │       │   ├───values-sk
│   │   │   │   │       │   ├───values-sl
│   │   │   │   │       │   ├───values-sq
│   │   │   │   │       │   ├───values-sr
│   │   │   │   │       │   ├───values-sv
│   │   │   │   │       │   ├───values-sw
│   │   │   │   │       │   ├───values-ta
│   │   │   │   │       │   ├───values-te
│   │   │   │   │       │   ├───values-th
│   │   │   │   │       │   ├───values-tl
│   │   │   │   │       │   ├───values-tr
│   │   │   │   │       │   ├───values-uk
│   │   │   │   │       │   ├───values-ur
│   │   │   │   │       │   ├───values-uz
│   │   │   │   │       │   ├───values-v16
│   │   │   │   │       │   ├───values-v21
│   │   │   │   │       │   ├───values-vi
│   │   │   │   │       │   ├───values-zh-rCN
│   │   │   │   │       │   ├───values-zh-rHK
│   │   │   │   │       │   ├───values-zh-rTW
│   │   │   │   │       │   └───values-zu
│   │   │   │   │       └───stripped.dir
│   │   │   │   ├───debug-mergeJavaRes
│   │   │   │   │   └───zip-cache
│   │   │   │   ├───mergeDebugAssets
│   │   │   │   ├───mergeDebugJniLibFolders
│   │   │   │   ├───mergeDebugShaders
│   │   │   │   ├───packageDebug
│   │   │   │   │   └───tmp
│   │   │   │   │       └───debug
│   │   │   │   │           └───zip-cache
│   │   │   │   └───processDebugResources
│   │   │   ├───javac
│   │   │   │   └───debug
│   │   │   │       └───classes
│   │   │   │           ├───com
│   │   │   │           │   └───example
│   │   │   │           │       └───movies_app
│   │   │   │           └───io
│   │   │   │               └───flutter
│   │   │   │                   └───plugins
│   │   │   ├───manifest_merge_blame_file
│   │   │   │   └───debug
│   │   │   ├───merged_java_res
│   │   │   │   └───debug
│   │   │   ├───merged_jni_libs
│   │   │   │   └───debug
│   │   │   │       └───out
│   │   │   ├───merged_manifest
│   │   │   │   └───debug
│   │   │   ├───merged_manifests
│   │   │   │   └───debug
│   │   │   ├───merged_native_libs
│   │   │   │   └───debug
│   │   │   │       └───out
│   │   │   │           └───lib
│   │   │   │               ├───x86
│   │   │   │               └───x86_64
│   │   │   ├───merged_res
│   │   │   │   └───debug
│   │   │   ├───merged_res_blame_folder
│   │   │   │   └───debug
│   │   │   │       └───out
│   │   │   │           ├───multi-v2
│   │   │   │           └───single
│   │   │   ├───merged_shaders
│   │   │   │   └───debug
│   │   │   │       └───out
│   │   │   ├───mixed_scope_dex_archive
│   │   │   │   └───debug
│   │   │   │       └───out
│   │   │   ├───navigation_json
│   │   │   │   └───debug
│   │   │   ├───packaged_manifests
│   │   │   │   └───debug
│   │   │   ├───processed_res
│   │   │   │   └───debug
│   │   │   │       └───out
│   │   │   ├───project_dex_archive
│   │   │   │   └───debug
│   │   │   │       └───out
│   │   │   │           ├───com
│   │   │   │           │   └───example
│   │   │   │           │       └───movies_app
│   │   │   │           └───io
│   │   │   │               └───flutter
│   │   │   │                   └───plugins
│   │   │   ├───runtime_symbol_list
│   │   │   │   └───debug
│   │   │   ├───signing_config_versions
│   │   │   │   └───debug
│   │   │   ├───source_set_path_map
│   │   │   │   └───debug
│   │   │   ├───stripped_native_libs
│   │   │   │   └───debug
│   │   │   │       └───out
│   │   │   │           └───lib
│   │   │   │               ├───x86
│   │   │   │               └───x86_64
│   │   │   ├───sub_project_dex_archive
│   │   │   │   └───debug
│   │   │   │       └───out
│   │   │   ├───symbol_list_with_package_name
│   │   │   │   └───debug
│   │   │   └───validate_signing_config
│   │   │       └───debug
│   │   ├───kotlin
│   │   │   └───compileDebugKotlin
│   │   │       ├───cacheable
│   │   │       │   └───caches-jvm
│   │   │       │       ├───inputs
│   │   │       │       ├───jvm
│   │   │       │       │   └───kotlin
│   │   │       │       └───lookups
│   │   │       └───local-state
│   │   ├───outputs
│   │   │   ├───apk
│   │   │   │   └───debug
│   │   │   ├───flutter-apk
│   │   │   └───logs
│   │   └───tmp
│   │       ├───compileDebugJavaWithJavac
│   │       ├───kotlin-classes
│   │       │   └───debug
│   │       │       ├───com
│   │       │       │   └───example
│   │       │       │       └───movies_app
│   │       │       └───META-INF
│   │       └───packLibsflutterBuildDebug
│   └───kotlin
│       └───sessions
├───ios
│   ├───Flutter
│   ├───Runner
│   │   ├───Assets.xcassets
│   │   │   ├───AppIcon.appiconset
│   │   │   └───LaunchImage.imageset
│   │   └───Base.lproj
│   ├───Runner.xcodeproj
│   │   ├───project.xcworkspace
│   │   │   └───xcshareddata
│   │   └───xcshareddata
│   │       └───xcschemes
│   └───Runner.xcworkspace
│       └───xcshareddata
├───lib
│   ├───assets
│   │   └───icon
│   ├───helpers
│   ├───models
│   ├───providers
│   ├───screens
│   ├───search
│   └───widgets
├───linux
│   └───flutter
├───macos
│   ├───Flutter
│   │   └───ephemeral
│   ├───Runner
│   │   ├───Assets.xcassets
│   │   │   └───AppIcon.appiconset
│   │   ├───Base.lproj
│   │   └───Configs
│   ├───Runner.xcodeproj
│   │   ├───project.xcworkspace
│   │   │   └───xcshareddata
│   │   └───xcshareddata
│   │       └───xcschemes
│   └───Runner.xcworkspace
│       └───xcshareddata
├───test
├───web
│   └───icons
└───windows
    ├───flutter
    └───runner
        └───resources
OutdatedGuy commented 1 year ago

@faldado82, from the tree given by you, it seems that your path is incorrect.

Your assets folder is inside your lib folder. Either it should be at the root of your project or you should update your icon path to lib/assets/icon/icon.png.

leongiscoding commented 4 months ago

i changed this statement to false "ios: false" and it works. Felt strange

sneezeontoast commented 1 month ago

I ran flutter create . and it worked