Skip to content

flutter create results in error "Image File not found" #171228

@smoak

Description

@smoak

Steps to reproduce

  1. $ flutter create --template app --overwrite --empty flutter_application_1

Expected results

For flutter create to successfully finish.

Actual results

See error "Image File not found"
flutter_application_1/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@1x.png

However, the file does indeed exist:

$ cd flutter_application_1
$ tree .
.
└── ios
    ├── Flutter
    │   ├── AppFrameworkInfo.plist
    │   ├── Debug.xcconfig
    │   └── Release.xcconfig
    ├── Runner
    │   └── Assets.xcassets
    │       └── AppIcon.appiconset
    │           └── Icon-App-76x76@1x.png
    ├── Runner.xcodeproj
    │   └── project.xcworkspace
    │       ├── contents.xcworkspacedata
    │       └── xcshareddata
    │           ├── IDEWorkspaceChecks.plist
    │           └── WorkspaceSettings.xcsettings
    └── Runner.xcworkspace
        ├── contents.xcworkspacedata
        └── xcshareddata
            ├── IDEWorkspaceChecks.plist
            └── WorkspaceSettings.xcsettings

11 directories, 10 files

Code sample

Same "Image File not found" error when using flutter create bug

$ flutter create bug
Creating project bug...
Image File not found

Screenshots or Video

Screenshots / Video demonstration

[Upload media here]

Logs

Logs
[Paste your logs here]

Flutter Doctor output

Doctor output
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 3.32.4, on Arch Linux 6.12.34-1-lts, locale en_US.UTF-8)
[✓] Android toolchain - develop for Android devices (Android SDK version 35.0.0)
[✓] Chrome - develop for the web
[✓] Linux toolchain - develop for Linux desktop
    ! Unable to access driver information using 'eglinfo'.
      It is likely available from your distribution (e.g.: apt install mesa-utils)
[!] Android Studio (not installed)
[✓] Connected device (2 available)
[✓] Network resources

! Doctor found issues in 1 category.

Metadata

Metadata

Assignees

No one assigned

    Labels

    r: fixedIssue is closed as already fixed in a newer version

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      pFad - Phonifier reborn

      Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

      Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


      Alternative Proxies:

      Alternative Proxy

      pFad Proxy

      pFad v3 Proxy

      pFad v4 Proxy