Skip to content

Directory.listSync does not return files #75268

@wim07101993

Description

@wim07101993

While building an application which needs to be able to browse through local files. I think I stumped on a bug. The Direcotry.listSync (and also the Directory.list) methods do not return any files.

I have checked, there are files in the Download folder and I have tried in other directories as well.

Directories are listed, but files are not.

Steps to Reproduce

import 'dart:io';

import 'package:flutter/material.dart';

void main() => runApp(MyApp());

class MyApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    final files = Directory('/storage/emulated/0/Download').listSync();
    print(files);
    return MaterialApp(
      home: Scaffold(
        body: ListView.builder(
          itemCount: files.length,
          itemBuilder: (context, i) => Text(files[i].path),
        ),
      ),
    );
  }
}
Logs
[ +164 ms] executing: [C:\tools\flutter/] git -c log.showSignature=false log -n 1 --pretty=format:%H
[ +108 ms] Exit code 0 from: git -c log.showSignature=false log -n 1 --pretty=format:%H
[   +1 ms] 9b2d32b605630f28625709ebd9d78ab3016b2bf6
[   +1 ms] executing: [C:\tools\flutter/] git tag --points-at HEAD
[  +94 ms] Exit code 0 from: git tag --points-at HEAD
[        ] 1.22.6
[  +14 ms] executing: [C:\tools\flutter/] git rev-parse --abbrev-ref --symbolic @{u}
[  +72 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{u}
[        ] origin/stable
[        ] executing: [C:\tools\flutter/] git ls-remote --get-url origin
[  +61 ms] Exit code 0 from: git ls-remote --get-url origin
[   +1 ms] https://github.com/flutter/flutter.git
[ +123 ms] executing: [C:\tools\flutter/] git rev-parse --abbrev-ref HEAD
[  +68 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD
[        ] stable
[  +99 ms] Artifact Instance of 'AndroidMavenArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[   +1 ms] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[   +1 ms] Artifact Instance of 'FlutterWebSdk' is not required, skipping update.
[  +10 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.
[        ] 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.
[  +41 ms] executing: C:\Users\wvl\AppData\Local\Android\sdk\platform-tools\adb.exe devices -l
[  +81 ms] List of devices attached
           0B211JEC200481         device product:sunfish model:Pixel_4a device:sunfish transport_id:8
[  +10 ms] C:\Users\wvl\AppData\Local\Android\sdk\platform-tools\adb.exe -s 0B211JEC200481 shell getprop
[  +90 ms] Artifact Instance of 'AndroidMavenArtifacts' is not required, skipping update.
[   +8 ms] 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.
[   +6 ms] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[   +1 ms] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[   +1 ms] 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.
[   +1 ms] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[   +1 ms] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[ +399 ms] Generating C:\Users\wvl\source\file_browser\bug\android\app\src\main\java\io\flutter\plugins\GeneratedPluginRegistrant.java
[  +43 ms] ro.hardware = sunfish
[        ] ro.build.characteristics = nosdcard
[  +75 ms] Starting incremental build...
[   +6 ms] Initializing file store
[  +20 ms] Skipping target: gen_localizations
[  +18 ms] complete
[  +10 ms] Launching lib\main.dart on Pixel 4a in debug mode...
[  +11 ms] C:\tools\flutter\bin\cache\dart-sdk\bin\dart.exe --disable-dart-dev C:\tools\flutter\bin\cache\artifacts\engine\windows-x64\frontend_server.dart.snapshot --sdk-root
C:\tools\flutter\bin\cache\artifacts\engine\common\flutter_patched_sdk/ --incremental --target=flutter --debugger-module-names --experimental-emit-debug-metadata -Ddart.developer.causal_async_stacks=true
--output-dill C:\Users\wvl\AppData\Local\Temp\flutter_tools.defd1c4b\flutter_tool.79760d98\app.dill --packages .packages -Ddart.vm.profile=false -Ddart.vm.product=false
--bytecode-options=source-positions,local-var-info,debugger-stops,instance-field-initializers,keep-unreachable-code,avoid-closure-call-instructions --enable-asserts --track-widget-creation --filesystem-scheme
org-dartlang-root --initialize-from-dill build\cache.dill.track.dill
[  +29 ms] executing: C:\Users\wvl\AppData\Local\Android\sdk\build-tools\30.0.3\aapt dump xmltree C:\Users\wvl\source\file_browser\bug\build\app\outputs\flutter-apk\app.apk AndroidManifest.xml
[  +24 ms] Exit code 0 from: C:\Users\wvl\AppData\Local\Android\sdk\build-tools\30.0.3\aapt dump xmltree C:\Users\wvl\source\file_browser\bug\build\app\outputs\flutter-apk\app.apk AndroidManifest.xml
[        ] N: android=http://schemas.android.com/apk/res/android
             E: manifest (line=2)
               A: android:versionCode(0x0101021b)=(type 0x10)0x1
               A: android:versionName(0x0101021c)="1.0.0" (Raw: "1.0.0")
               A: android:compileSdkVersion(0x01010572)=(type 0x10)0x1d
               A: android:compileSdkVersionCodename(0x01010573)="10" (Raw: "10")
               A: package="com.example.bug" (Raw: "com.example.bug")
               A: platformBuildVersionCode=(type 0x10)0x1d
               A: platformBuildVersionName=(type 0x10)0xa
               E: uses-sdk (line=7)
                 A: android:minSdkVersion(0x0101020c)=(type 0x10)0x10
                 A: android:targetSdkVersion(0x01010270)=(type 0x10)0x1d
               E: uses-permission (line=14)
                 A: android:name(0x01010003)="android.permission.INTERNET" (Raw: "android.permission.INTERNET")
               E: application (line=22)
                 A: android:label(0x01010001)="bug" (Raw: "bug")
                 A: android:icon(0x01010002)=@0x7f080000
                 A: android:name(0x01010003)="io.flutter.app.FlutterApplication" (Raw: "io.flutter.app.FlutterApplication")
                 A: android:debuggable(0x0101000f)=(type 0x12)0xffffffff
                 A: android:appComponentFactory(0x0101057a)="androidx.core.app.CoreComponentFactory" (Raw: "androidx.core.app.CoreComponentFactory")
                 E: activity (line=28)
                   A: android:theme(0x01010000)=@0x7f0a0000
                   A: android:name(0x01010003)="com.example.bug.MainActivity" (Raw: "com.example.bug.MainActivity")
                   A: android:launchMode(0x0101001d)=(type 0x10)0x1
                   A: android:configChanges(0x0101001f)=(type 0x11)0x40003fb4
                   A: android:windowSoftInputMode(0x0101022b)=(type 0x11)0x10
                   A: android:hardwareAccelerated(0x010102d3)=(type 0x12)0xffffffff
                   E: meta-data (line=42)
                     A: android:name(0x01010003)="io.flutter.embedding.android.NormalTheme" (Raw: "io.flutter.embedding.android.NormalTheme")
                     A: android:resource(0x01010025)=@0x7f0a0001
                   E: meta-data (line=52)
                     A: android:name(0x01010003)="io.flutter.embedding.android.SplashScreenDrawable" (Raw: "io.flutter.embedding.android.SplashScreenDrawable")
                     A: android:resource(0x01010025)=@0x7f040000
                   E: intent-filter (line=56)
                     E: action (line=57)
                       A: android:name(0x01010003)="android.intent.action.MAIN" (Raw: "android.intent.action.MAIN")
                     E: category (line=59)
                       A: android:name(0x01010003)="android.intent.category.LAUNCHER" (Raw: "android.intent.category.LAUNCHER")
                 E: meta-data (line=66)
                   A: android:name(0x01010003)="flutterEmbedding" (Raw: "flutterEmbedding")
                   A: android:value(0x01010024)=(type 0x10)0x2
[  +16 ms] executing: C:\Users\wvl\AppData\Local\Android\sdk\platform-tools\adb.exe -s 0B211JEC200481 shell -x logcat -v time -t 1
[ +101 ms] Exit code 0 from: C:\Users\wvl\AppData\Local\Android\sdk\platform-tools\adb.exe -s 0B211JEC200481 shell -x logcat -v time -t 1
[        ] --------- beginning of main
           02-02 20:23:22.474 D/VSC     ( 1005): @ 791959.217: [WO] orientation angle 0, orientation 0
[   +2 ms] executing: C:\Users\wvl\AppData\Local\Android\sdk\platform-tools\adb.exe -s 0B211JEC200481 shell -x logcat -v time -t 1
[ +101 ms] Exit code 0 from: C:\Users\wvl\AppData\Local\Android\sdk\platform-tools\adb.exe -s 0B211JEC200481 shell -x logcat -v time -t 1
[        ] --------- beginning of main
           02-02 20:23:22.474 D/VSC     ( 1005): @ 791959.217: [WO] orientation angle 0, orientation 0
[  +27 ms] <- compile package:bug/main.dart
[  +20 ms] executing: C:\Users\wvl\AppData\Local\Android\sdk\platform-tools\adb.exe version
[  +93 ms] Android Debug Bridge version 1.0.41
           Version 30.0.5-6877874
           Installed as C:\Users\wvl\AppData\Local\Android\sdk\platform-tools\adb.exe
[   +4 ms] executing: C:\Users\wvl\AppData\Local\Android\sdk\platform-tools\adb.exe start-server
[  +73 ms] Building APK
[  +38 ms] Running Gradle task 'assembleDebug'...
[   +4 ms] gradle.properties already sets `android.enableR8`
[  +12 ms] Using gradle from C:\Users\wvl\source\file_browser\bug\android\gradlew.bat.
[   +2 ms] C:\Users\wvl\source\file_browser\bug\android\gradlew.bat mode: 33279 rwxrwxrwx.
[  +22 ms] executing: C:\Program Files\Android\Android Studio\jre\bin\java -version
[ +195 ms] Exit code 0 from: C:\Program Files\Android\Android Studio\jre\bin\java -version
[        ] openjdk version "1.8.0_242-release"
           OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b01)
           OpenJDK 64-Bit Server VM (build 25.242-b01, mixed mode)
[   +5 ms] executing: [C:\Users\wvl\source\file_browser\bug\android/] C:\Users\wvl\source\file_browser\bug\android\gradlew.bat -Pverbose=true -Ptarget-platform=android-arm64
-Ptarget=C:\Users\wvl\source\file_browser\bug\lib\main.dart -Ptrack-widget-creation=true -Pfilesystem-scheme=org-dartlang-root assembleDebug
[+11723 ms] > Task :app:compileFlutterBuildDebug
[   +1 ms] [ +149 ms] executing: [C:\tools\flutter/] git -c log.showSignature=false log -n 1 --pretty=format:%H
[   +1 ms] [ +115 ms] Exit code 0 from: git -c log.showSignature=false log -n 1 --pretty=format:%H
[   +1 ms] [        ] 9b2d32b605630f28625709ebd9d78ab3016b2bf6
[        ] [        ] executing: [C:\tools\flutter/] git tag --points-at HEAD
[        ] [  +89 ms] Exit code 0 from: git tag --points-at HEAD
[        ] [        ] 1.22.6
[   +1 ms] [  +11 ms] executing: [C:\tools\flutter/] git rev-parse --abbrev-ref --symbolic @{u}
[   +1 ms] [  +63 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{u}
[        ] [        ] 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
[   +1 ms] [ +162 ms] executing: [C:\tools\flutter/] git rev-parse --abbrev-ref HEAD
[        ] [  +64 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD
[        ] [        ] stable
[        ] [  +61 ms] Artifact Instance of 'AndroidMavenArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update.
[   +2 ms] [        ] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[   +1 ms] [        ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[   +1 ms] [        ] Artifact Instance of 'FlutterWebSdk' is not required, skipping update.
[   +1 ms] [  +13 ms] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[   +1 ms] [        ] 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.
[   +1 ms] [        ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[   +1 ms] [        ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[        ] [  +29 ms] Artifact Instance of 'MaterialFonts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'GradleWrapper' is not required, skipping update.
[   +2 ms] [        ] Artifact Instance of 'AndroidMavenArtifacts' is not required, skipping update.
[   +1 ms] [        ] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update.
[   +1 ms] [        ] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[   +1 ms] [        ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[   +1 ms] [        ] Artifact Instance of 'FlutterWebSdk' is not required, skipping update.
[   +1 ms] [        ] Artifact Instance of 'FlutterSdk' is not required, skipping update.
[   +1 ms] [        ] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[   +1 ms] [        ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[   +1 ms] [        ] 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.
[   +1 ms] [        ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[   +1 ms] [        ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[   +1 ms] [        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[   +1 ms] [        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[   +2 ms] [        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[   +1 ms] [        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[   +1 ms] [        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[   +1 ms] [        ] Artifact Instance of 'FontSubsetArtifacts' is not required, skipping update.
[   +1 ms] [  +91 ms] Initializing file store
[   +1 ms] [  +20 ms] Done initializing file store
[   +1 ms] [  +56 ms] Skipping target: gen_localizations
[+1009 ms] [+1127 ms] kernel_snapshot: Starting due to {InvalidatedReason.inputChanged}
[ +107 ms] [  +37 ms] C:\tools\flutter\bin\cache\dart-sdk\bin\dart.exe --disable-dart-dev C:\tools\flutter\bin\cache\artifacts\engine\windows-x64\frontend_server.dart.snapshot --sdk-root
C:\tools\flutter\bin\cache\artifacts\engine\common\flutter_patched_sdk/ --target=flutter -Ddart.developer.causal_async_stacks=true -Ddart.vm.profile=false -Ddart.vm.product=false
--bytecode-options=source-positions,local-var-info,debugger-stops,instance-field-initializers,keep-unreachable-code,avoid-closure-call-instructions --enable-asserts --track-widget-creation --no-link-platform
--packages C:\Users\wvl\source\file_browser\bug\.packages --output-dill C:\Users\wvl\source\file_browser\bug\.dart_tool\flutter_build\16bc17ece7a523135368a7a061bee9f1\app.dill --depfile
C:\Users\wvl\source\file_browser\bug\.dart_tool\flutter_build\16bc17ece7a523135368a7a061bee9f1\kernel_snapshot.d package:bug/main.dart
[+9592 ms] [+9594 ms] kernel_snapshot: Complete
[+1014 ms] [+1024 ms] debug_android_application: Starting due to {InvalidatedReason.inputChanged}
[ +190 ms] [ +215 ms] debug_android_application: Complete
[ +499 ms] [ +491 ms] Persisting file store
[   +1 ms] [  +17 ms] Done persisting file store
[   +1 ms] [   +7 ms] build succeeded.
[   +1 ms] [  +25 ms] "flutter assemble" took 12,773ms.
[   +1 ms] [   +4 ms] ensureAnalyticsSent: 0ms
[   +1 ms] [   +1 ms] Running shutdown hooks
[        ] [        ] Shutdown hooks complete
[        ] [        ] exiting with code 0
[ +288 ms] > Task :app:packLibsflutterBuildDebug UP-TO-DATE
[   +1 ms] > Task :app:preBuild UP-TO-DATE
[   +1 ms] > Task :app:preDebugBuild UP-TO-DATE
[   +1 ms] > Task :app:compileDebugAidl NO-SOURCE
[   +2 ms] > Task :app:checkDebugManifest UP-TO-DATE
[        ] > Task :app:compileDebugRenderscript NO-SOURCE
[        ] > Task :app:generateDebugBuildConfig UP-TO-DATE
[  +99 ms] > Task :app:cleanMergeDebugAssets
[   +1 ms] > Task :app:mergeDebugShaders UP-TO-DATE
[   +1 ms] > Task :app:compileDebugShaders UP-TO-DATE
[        ] > Task :app:generateDebugAssets UP-TO-DATE
[        ] > Task :app:mergeDebugAssets
[ +291 ms] > Task :app:copyFlutterAssetsDebug
[   +1 ms] > Task :app:mainApkListPersistenceDebug UP-TO-DATE
[ +108 ms] > Task :app:generateDebugResValues UP-TO-DATE
[   +1 ms] > Task :app:generateDebugResources UP-TO-DATE
[   +1 ms] > Task :app:mergeDebugResources UP-TO-DATE
[   +1 ms] > Task :app:createDebugCompatibleScreenManifests UP-TO-DATE
[   +1 ms] > Task :app:processDebugManifest UP-TO-DATE
[        ] > Task :app:processDebugResources UP-TO-DATE
[  +88 ms] > Task :app:compileDebugKotlin UP-TO-DATE
[   +3 ms] > Task :app:javaPreCompileDebug UP-TO-DATE
[   +1 ms] > Task :app:compileDebugJavaWithJavac UP-TO-DATE
[        ] > Task :app:compileDebugSources UP-TO-DATE
[   +1 ms] > Task :app:processDebugJavaRes NO-SOURCE
[   +1 ms] > Task :app:mergeDebugJavaResource UP-TO-DATE
[   +3 ms] > Task :app:checkDebugDuplicateClasses UP-TO-DATE
[  +93 ms] > Task :app:transformClassesWithDexBuilderForDebug UP-TO-DATE
[   +1 ms] > Task :app:desugarDebugFileDependencies UP-TO-DATE
[   +1 ms] > Task :app:mergeExtDexDebug UP-TO-DATE
[   +1 ms] > Task :app:mergeDexDebug UP-TO-DATE
[        ] > Task :app:validateSigningDebug UP-TO-DATE
[        ] > Task :app:signingConfigWriterDebug UP-TO-DATE
[        ] > Task :app:mergeDebugJniLibFolders UP-TO-DATE
[        ] > Task :app:mergeDebugNativeLibs UP-TO-DATE
[        ] > Task :app:stripDebugDebugSymbols UP-TO-DATE
[        ] Compatible side by side NDK version was not found.
[+1878 ms] > Task :app:packageDebug
[ +179 ms] > Task :app:assembleDebug
[   +1 ms] BUILD SUCCESSFUL in 27s
[   +1 ms] 31 actionable tasks: 6 executed, 25 up-to-date
[ +537 ms] Running Gradle task 'assembleDebug'... (completed in 28.1s)
[  +55 ms] calculateSha: LocalDirectory: 'C:\Users\wvl\source\file_browser\bug\build\app\outputs\flutter-apk'/app.apk
[  +22 ms] calculateSha: reading file took 21us
[ +750 ms] calculateSha: computing sha took 749us
[  +14 ms] ✓ Built build\app\outputs\flutter-apk\app-debug.apk.
[   +9 ms] executing: C:\Users\wvl\AppData\Local\Android\sdk\build-tools\30.0.3\aapt dump xmltree C:\Users\wvl\source\file_browser\bug\build\app\outputs\flutter-apk\app.apk AndroidManifest.xml
[  +30 ms] Exit code 0 from: C:\Users\wvl\AppData\Local\Android\sdk\build-tools\30.0.3\aapt dump xmltree C:\Users\wvl\source\file_browser\bug\build\app\outputs\flutter-apk\app.apk AndroidManifest.xml
[        ] N: android=http://schemas.android.com/apk/res/android
             E: manifest (line=2)
               A: android:versionCode(0x0101021b)=(type 0x10)0x1
               A: android:versionName(0x0101021c)="1.0.0" (Raw: "1.0.0")
               A: android:compileSdkVersion(0x01010572)=(type 0x10)0x1d
               A: android:compileSdkVersionCodename(0x01010573)="10" (Raw: "10")
               A: package="com.example.bug" (Raw: "com.example.bug")
               A: platformBuildVersionCode=(type 0x10)0x1d
               A: platformBuildVersionName=(type 0x10)0xa
               E: uses-sdk (line=7)
                 A: android:minSdkVersion(0x0101020c)=(type 0x10)0x10
                 A: android:targetSdkVersion(0x01010270)=(type 0x10)0x1d
               E: uses-permission (line=14)
                 A: android:name(0x01010003)="android.permission.INTERNET" (Raw: "android.permission.INTERNET")
               E: application (line=22)
                 A: android:label(0x01010001)="bug" (Raw: "bug")
                 A: android:icon(0x01010002)=@0x7f080000
                 A: android:name(0x01010003)="io.flutter.app.FlutterApplication" (Raw: "io.flutter.app.FlutterApplication")
                 A: android:debuggable(0x0101000f)=(type 0x12)0xffffffff
                 A: android:appComponentFactory(0x0101057a)="androidx.core.app.CoreComponentFactory" (Raw: "androidx.core.app.CoreComponentFactory")
                 E: activity (line=28)
                   A: android:theme(0x01010000)=@0x7f0a0000
                   A: android:name(0x01010003)="com.example.bug.MainActivity" (Raw: "com.example.bug.MainActivity")
                   A: android:launchMode(0x0101001d)=(type 0x10)0x1
                   A: android:configChanges(0x0101001f)=(type 0x11)0x40003fb4
                   A: android:windowSoftInputMode(0x0101022b)=(type 0x11)0x10
                   A: android:hardwareAccelerated(0x010102d3)=(type 0x12)0xffffffff
                   E: meta-data (line=42)
                     A: android:name(0x01010003)="io.flutter.embedding.android.NormalTheme" (Raw: "io.flutter.embedding.android.NormalTheme")
                     A: android:resource(0x01010025)=@0x7f0a0001
                   E: meta-data (line=52)
                     A: android:name(0x01010003)="io.flutter.embedding.android.SplashScreenDrawable" (Raw: "io.flutter.embedding.android.SplashScreenDrawable")
                     A: android:resource(0x01010025)=@0x7f040000
                   E: intent-filter (line=56)
                     E: action (line=57)
                       A: android:name(0x01010003)="android.intent.action.MAIN" (Raw: "android.intent.action.MAIN")
                     E: category (line=59)
                       A: android:name(0x01010003)="android.intent.category.LAUNCHER" (Raw: "android.intent.category.LAUNCHER")
                 E: meta-data (line=66)
                   A: android:name(0x01010003)="flutterEmbedding" (Raw: "flutterEmbedding")
                   A: android:value(0x01010024)=(type 0x10)0x2
[   +5 ms] Stopping app 'app.apk' on Pixel 4a.
[   +3 ms] executing: C:\Users\wvl\AppData\Local\Android\sdk\platform-tools\adb.exe -s 0B211JEC200481 shell am force-stop com.example.bug
[  +99 ms] executing: C:\Users\wvl\AppData\Local\Android\sdk\platform-tools\adb.exe -s 0B211JEC200481 shell pm list packages com.example.bug
[  +97 ms] package:com.example.bug
[   +3 ms] executing: C:\Users\wvl\AppData\Local\Android\sdk\platform-tools\adb.exe -s 0B211JEC200481 shell cat /data/local/tmp/sky.com.example.bug.sha1
[  +60 ms] c1a5bbe7621c364e12063cd6b420dc770000fd42
[   +1 ms] Installing APK.
[   +3 ms] executing: C:\Users\wvl\AppData\Local\Android\sdk\platform-tools\adb.exe version
[  +38 ms] Android Debug Bridge version 1.0.41
           Version 30.0.5-6877874
           Installed as C:\Users\wvl\AppData\Local\Android\sdk\platform-tools\adb.exe
[   +1 ms] executing: C:\Users\wvl\AppData\Local\Android\sdk\platform-tools\adb.exe start-server
[  +45 ms] Installing build\app\outputs\flutter-apk\app.apk...
[   +1 ms] executing: C:\Users\wvl\AppData\Local\Android\sdk\platform-tools\adb.exe -s 0B211JEC200481 install -t -r C:\Users\wvl\source\file_browser\bug\build\app\outputs\flutter-apk\app.apk
[+2926 ms] Performing Streamed Install
                    Success
[        ] Installing build\app\outputs\flutter-apk\app.apk... (completed in 2.9s)
[   +2 ms] executing: C:\Users\wvl\AppData\Local\Android\sdk\platform-tools\adb.exe -s 0B211JEC200481 shell echo -n d34941a3cddb222a1759714374f2334e11c8c018 > /data/local/tmp/sky.com.example.bug.sha1
[  +59 ms] Pixel 4a startApp
[   +3 ms] executing: C:\Users\wvl\AppData\Local\Android\sdk\platform-tools\adb.exe -s 0B211JEC200481 shell am start -a android.intent.action.RUN -f 0x20000000 --ez enable-background-compilation true --ez
enable-dart-profiling true --ez enable-checked-mode true --ez verify-entry-points true com.example.bug/com.example.bug.MainActivity
[ +133 ms] Starting: Intent { act=android.intent.action.RUN flg=0x20000000 cmp=com.example.bug/.MainActivity (has extras) }
[        ] Waiting for observatory port to be available...
[ +964 ms] Observatory URL on device: http://127.0.0.1:41361/cZIvDbCZ-dg=/
[   +1 ms] executing: C:\Users\wvl\AppData\Local\Android\sdk\platform-tools\adb.exe -s 0B211JEC200481 forward tcp:0 tcp:41361
[  +32 ms] 57072
[        ] Forwarded host port 57072 to device port 41361 for Observatory
[   +5 ms] Caching compiled dill
[  +36 ms] Connecting to service protocol: http://127.0.0.1:57072/cZIvDbCZ-dg=/
[   +1 ms] DDS is currently disabled due to https://github.com/flutter/flutter/issues/62507
[ +180 ms] I/flutter ( 9819): ---------------------------------
[        ] I/flutter ( 9819): LOADING FILES
[        ] I/flutter ( 9819): ---------------------------------
[  +42 ms] I/flutter ( 9819): []
[  +14 ms] Successfully connected to service protocol: http://127.0.0.1:57072/cZIvDbCZ-dg=/
[   +1 ms] Waiting for Pixel 4a to report its views...
[  +14 ms] Waiting for Pixel 4a to report its views... (completed in 11ms)
[  +14 ms] DevFS: Creating new filesystem on the device (null)
[  +35 ms] DevFS: Created new filesystem on the device (file:///data/user/0/com.example.bug/code_cache/bugYNRCED/bug/)
[   +2 ms] Updating assets
[ +124 ms] Syncing files to device Pixel 4a...
[   +3 ms] Scanning asset files
[   +7 ms] <- reset
[   +1 ms] Compiling dart to kernel with 0 updated files
[   +1 ms] <- recompile package:bug/main.dart 94d3cdcc-25bb-488c-9a48-3961ff80eb8b
[        ] <- 94d3cdcc-25bb-488c-9a48-3961ff80eb8b
[  +89 ms] Updating files
[ +125 ms] DevFS: Sync finished
[   +1 ms] Syncing files to device Pixel 4a... (completed in 230ms)
[   +2 ms] Synced 1.8MB.
[   +1 ms] <- accept
[   +3 ms] Connected to _flutterView/0x708d526100.
[   +1 ms] Flutter run key commands.
[   +2 ms] r Hot reload. 🔥🔥🔥
[   +1 ms] R Hot restart.
[   +1 ms] h Repeat this help message.
[        ] d Detach (terminate "flutter run" but leave application running).
[   +1 ms] c Clear the screen
[        ] q Quit (terminate the application on the device).
[        ] An Observatory debugger and profiler on Pixel 4a is available at: http://127.0.0.1:57072/cZIvDbCZ-dg=/
Analyzing bug...
No issues found! (ran in 6.0s)

Metadata

Metadata

Assignees

No one assigned

    Labels

    r: invalidIssue is closed as not valid

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions