Skip to content

DevFs takes too long time [29916ms] to create new filesystem #123456

@MinJun-chl

Description

@MinJun-chl

Steps to Reproduce

  1. When I run my app on Android, it takes too long time in launch
  2. The first run is fine, but it seems to be slow from the second run.

so i run with -v command, i found specific code

[  +24 ms] Successfully connected to service protocol: http://127.0.0.1:59110/fJZdYv0sz2k=/
[+29916 ms] DevFS: Creating new filesystem on the device (null)
[  +24 ms] DevFS: Created new filesystem on the device (file:///data/user/0/com.chainlightning.oh_flutter_app/code_cache/oh-app-flutter-v2KDNSPQ/oh-app-flutter-v2/)
[        ] Updating assets

how can i launch faster?

here is my flutter doctor -v

[✓] Flutter (Channel stable, 3.7.7, on macOS 12.6.1 21G217 darwin-arm64, locale ko-KR)
    • Flutter version 3.7.7 on channel stable at /Users/mj/Documents/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 2ad6cd72c0 (2주 전), 2023-03-08 09:41:59 -0800
    • Engine revision 1837b5be5f
    • Dart version 2.19.4
    • DevTools version 2.20.1

[✓] Android toolchain - develop for Android devices (Android SDK version 33.0.1)
    • Android SDK at /Users/mj/Library/Android/sdk
    • Platform android-33, build-tools 33.0.1
    • Java binary at: /Applications/Android Studio.app/Contents/jre/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.13+0-b1751.21-8125866)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 14.2)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 14C18
    • CocoaPods version 1.11.3

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2021.3)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.13+0-b1751.21-8125866)

[✓] Connected device (5 available)
    • SM N971N (mobile)          • R3CM80T1RRJ                          • android-arm64  • Android 12 (API 31)
    • iPhone (mobile)            • 00008030-000571843438802E            • ios            • iOS 16.1.2 20B110
    • iPhone 14 Pro Max (mobile) • 2A88B362-7B28-4A01-AFC9-65ACD776B868 • ios            •
      com.apple.CoreSimulator.SimRuntime.iOS-16-2 (simulator)
    • macOS (desktop)            • macos                                • darwin-arm64   • macOS 12.6.1 21G217 darwin-arm64
    • Chrome (web)               • chrome                               • web-javascript • Google Chrome 111.0.5563.110

[✓] HTTP Host Availability
    • All required HTTP hosts are available

• No issues found!

Metadata

Metadata

Assignees

No one assigned

    Labels

    r: solvedIssue is closed as solved

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions