Skip to content

Tutorial is missing flutter.yaml leading to missing assets #330

Closed

Description

@josephburnett

While doing the Tutorial I was unable to start the first code snippet (https://github.com/flutter/flutter.github.io/blob/master/tutorial.md#basic-widgets)

$ flutter start
$ flutter logs

android: I/chromium: [INFO:SkFontMgr_android_parser.cpp(595)] [SkFontMgr Android Parser] '/system/etc/fonts.xml' could not be opened
android: I/chromium: 
android: I/chromium: [INFO:SkFontMgr_android_parser.cpp(595)] [SkFontMgr Android Parser] '/vendor/etc/fallback_fonts.xml' could not be opened
android: I/chromium: 
android: W/chromium: [WARNING:asset_bundle_impl.cc(45)] Requested asset 'action/drawable-xxhdpi/ic_search_black_24dp.png' does not exist.
android: W/chromium: [WARNING:asset_bundle_impl.cc(45)] Requested asset 'navigation/drawable-xxhdpi/ic_menu_black_24dp.png' does not exist.
android: F/libc    : Fatal signal 11 (SIGSEGV) at 0x00000028 (code=1), thread 4269 (io_thread)
android: W/ActivityManager:   Force finishing activity org.domokit.sky.shell/.SkyActivity

Running Android 4.4.2 and Flutter at commit 778289f on Ubuntu 14.04.

Activity

  1. josephburnett commented on Nov 12, 2015

    @josephburnett
    Author

    Phone is a Samsung Galaxy SIII

  2. IvBaranov commented on Nov 12, 2015

    @IvBaranov
    Contributor

    Didn't you try to update Flutter and dependencies?

  3. changed the title [-]Required asset does not exist[/-] [+]Tutorial is missing flutter.yaml leading to missing assets[/+] on Nov 12, 2015
  4. abarth commented on Nov 12, 2015

    @abarth
    Contributor

    Yes, the tutorial is missing information about flutter.yaml. We recently started requiring a flutter.yaml to list the assets used by your app but we haven't updated the tutorial.

    If you take a look at https://github.com/flutter/flutter/blob/master/examples/stocks/flutter.yaml you can see an example of such a file. We need to add it to the tutorial.

    Thanks!

  5. self-assigned this
    on Nov 12, 2015
  6. josephburnett commented on Nov 15, 2015

    @josephburnett
    Author
  7. github-actions commented on Sep 7, 2021

    @github-actions

    This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of flutter doctor -v and a minimal reproduction of the issue.

  8. locked as resolved and limited conversation to collaborators on Sep 7, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions