Skip to content

[image_picker] image_picker returns .jpg extension when picking Video or GIF #52419

@crtl

Description

@crtl

ImagePicker.pickVideo(source: ImageSource.Gallery) returns jpg files and not the actual video selected.

Steps to Reproduce

  1. Clone demo repo: crtl/flutter-bugs
  2. Checkout branch image_picker/pickVideoReturnsImage
  3. Run app
  4. Pick a video (Demo videos here)
  5. The returned file is a JPEG and no mp4

Expected results:
A video should be returned.

Actual results:
An image is returned.

Logs
D:\dev\flutter\bugs>flutter run --verbose -d emulator-5554
[  +24 ms] executing: [D:\dev\flutter\sdk/] git -c log.showSignature=false log -n 1 --pretty=format:%H
[  +69 ms] Exit code 0 from: git -c log.showSignature=false log -n 1 --pretty=format:%H
[        ] fabeb2a16f1d008ab8230f450c49141d35669798
[        ] executing: [D:\dev\flutter\sdk/] git describe --match v*.*.* --first-parent --long --tags
[  +54 ms] Exit code 0 from: git describe --match v*.*.* --first-parent --long --tags
[        ] v1.14.6-0-gfabeb2a16
[   +7 ms] executing: [D:\dev\flutter\sdk/] git rev-parse --abbrev-ref --symbolic @{u}
[  +44 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{u}
[        ] origin/beta
[        ] executing: [D:\dev\flutter\sdk/] git ls-remote --get-url origin
[  +42 ms] Exit code 0 from: git ls-remote --get-url origin
[        ] https://github.com/flutter/flutter.git
[  +79 ms] executing: [D:\dev\flutter\sdk/] git rev-parse --abbrev-ref HEAD
[  +41 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD
[        ] beta
[  +40 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.
[        ] 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.
[        ] 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.
[  +39 ms] executing: D:\dev\Android\SDK\platform-tools\adb.exe devices -l
[  +27 ms] Exit code 0 from: D:\dev\Android\SDK\platform-tools\adb.exe devices -l
[        ] List of devices attached
           5210ae1cf4a7448d       device product:a5y17ltexx model:SM_A520F device:a5y17lte transport_id:2
           emulator-5554          device product:sdk_gphone_x86 model:Android_SDK_built_for_x86 device:generic_x86 transport_id:3
[  +14 ms] D:\dev\Android\SDK\platform-tools\adb.exe -s emulator-5554 shell getprop
[  +57 ms] Artifact Instance of 'AndroidMavenArtifacts' is not required, skipping update.
[   +3 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.
[   +1 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.
[  +84 ms] Found plugin flutter_plugin_android_lifecycle at D:\dev\flutter\sdk\.pub-cache\hosted\pub.dartlang.org\flutter_plugin_android_lifecycle-1.0.6\
[  +11 ms] Found plugin image_picker at D:\dev\flutter\sdk\.pub-cache\hosted\pub.dartlang.org\image_picker-0.6.3+4\
[ +162 ms] Found plugin flutter_plugin_android_lifecycle at D:\dev\flutter\sdk\.pub-cache\hosted\pub.dartlang.org\flutter_plugin_android_lifecycle-1.0.6\
[   +8 ms] Found plugin image_picker at D:\dev\flutter\sdk\.pub-cache\hosted\pub.dartlang.org\image_picker-0.6.3+4\
[  +57 ms] Generating D:\dev\flutter\bugs\android\app\src\main\java\io\flutter\plugins\GeneratedPluginRegistrant.java
[  +43 ms] ro.hardware = ranchu
[  +27 ms] Using hardware rendering with device Android SDK built for x86. If you get graphics artifacts, consider enabling software rendering with
           "--enable-software-rendering".
[  +20 ms] Launching lib\main.dart on Android SDK built for x86 in debug mode...
[   +9 ms] executing: D:\dev\Android\SDK\build-tools\29.0.2\aapt dump xmltree D:\dev\flutter\bugs\build\app\outputs\apk\app.apk AndroidManifest.xml
[  +61 ms] Exit code 0 from: D:\dev\Android\SDK\build-tools\29.0.2\aapt dump xmltree D:\dev\flutter\bugs\build\app\outputs\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)0x1c
               A: android:compileSdkVersionCodename(0x01010573)="9" (Raw: "9")
               A: package="com.example.bugs" (Raw: "com.example.bugs")
               A: platformBuildVersionCode=(type 0x10)0x1c
               A: platformBuildVersionName=(type 0x10)0x9
               E: uses-sdk (line=7)
                 A: android:minSdkVersion(0x0101020c)=(type 0x10)0x10
                 A: android:targetSdkVersion(0x01010270)=(type 0x10)0x1c
               E: uses-permission (line=14)
                 A: android:name(0x01010003)="android.permission.INTERNET" (Raw: "android.permission.INTERNET")
               E: uses-permission (line=15)
                 A: android:name(0x01010003)="android.permission.READ_EXTERNAL_STORAGE" (Raw: "android.permission.READ_EXTERNAL_STORAGE")
               E: uses-permission (line=16)
                 A: android:name(0x01010003)="android.permission.WRITE_EXTERNAL_STORAGE" (Raw: "android.permission.WRITE_EXTERNAL_STORAGE")
               E: application (line=24)
                 A: android:label(0x01010001)="bugs" (Raw: "bugs")
                 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=30)
                   A: android:theme(0x01010000)=@0x7f0a0000
                   A: android:name(0x01010003)="com.example.bugs.MainActivity" (Raw: "com.example.bugs.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=44)
                     A: android:name(0x01010003)="io.flutter.embedding.android.NormalTheme" (Raw: "io.flutter.embedding.android.NormalTheme")
                     A: android:resource(0x01010025)=@0x7f0a0001
                   E: meta-data (line=54)
                     A: android:name(0x01010003)="io.flutter.embedding.android.SplashScreenDrawable" (Raw:
                     "io.flutter.embedding.android.SplashScreenDrawable")
                     A: android:resource(0x01010025)=@0x7f040000
                   E: intent-filter (line=58)
                     E: action (line=59)
                       A: android:name(0x01010003)="android.intent.action.MAIN" (Raw: "android.intent.action.MAIN")
                     E: category (line=61)
                       A: android:name(0x01010003)="android.intent.category.LAUNCHER" (Raw: "android.intent.category.LAUNCHER")
                 E: meta-data (line=68)
                   A: android:name(0x01010003)="flutterEmbedding" (Raw: "flutterEmbedding")
                   A: android:value(0x01010024)=(type 0x10)0x2
                 E: provider (line=72)
                   A: android:name(0x01010003)="io.flutter.plugins.imagepicker.ImagePickerFileProvider" (Raw:
                   "io.flutter.plugins.imagepicker.ImagePickerFileProvider")
                   A: android:exported(0x01010010)=(type 0x12)0x0
                   A: android:authorities(0x01010018)="com.example.bugs.flutter.image_provider" (Raw: "com.example.bugs.flutter.image_provider")
                   A: android:grantUriPermissions(0x0101001b)=(type 0x12)0xffffffff
                   E: meta-data (line=77)
                     A: android:name(0x01010003)="android.support.FILE_PROVIDER_PATHS" (Raw: "android.support.FILE_PROVIDER_PATHS")
                     A: android:resource(0x01010025)=@0x7f0c0000
[   +8 ms] executing: D:\dev\Android\SDK\platform-tools\adb.exe -s emulator-5554 shell -x logcat -v time -t 1
[  +88 ms] Exit code 0 from: D:\dev\Android\SDK\platform-tools\adb.exe -s emulator-5554 shell -x logcat -v time -t 1
[   +6 ms] --------- beginning of main
           03-11 17:09:12.602 E/wifi_forwarder( 1852): RemoteConnection failed to initialize: RemoteConnection failed to open pipe
[   +6 ms] executing: D:\dev\Android\SDK\platform-tools\adb.exe version
[   +1 ms] executing: D:\dev\Android\SDK\platform-tools\adb.exe -s emulator-5554 logcat -v time -T 03-11 17:09:12.602
[  +50 ms] Android Debug Bridge version 1.0.41
           Version 29.0.6-6198805
           Installed as D:\dev\Android\SDK\platform-tools\adb.exe
[   +5 ms] executing: D:\dev\Android\SDK\platform-tools\adb.exe start-server
[  +60 ms] Building APK
[  +19 ms] Running Gradle task 'assembleDebug'...
[  +41 ms] gradle.properties already sets `android.enableR8`
[  +22 ms] Using gradle from D:\dev\flutter\bugs\android\gradlew.bat.
[   +2 ms] D:\dev\flutter\bugs\android\gradlew.bat mode: 33279 rwxrwxrwx.
[  +26 ms] executing: D:\Programms\jre\bin\java -version
[ +121 ms] Exit code 0 from: D:\Programms\jre\bin\java -version
[   +4 ms] openjdk version "1.8.0_212-release"
           OpenJDK Runtime Environment (build 1.8.0_212-release-1586-b04)
           OpenJDK 64-Bit Server VM (build 25.212-b04, mixed mode)
[   +3 ms] executing: [D:\dev\flutter\bugs\android/] D:\dev\flutter\bugs\android\gradlew.bat -Pverbose=true -Ptarget=D:\dev\flutter\bugs\lib\main.dart
-Ptrack-widget-creation=true -Pfilesystem-scheme=org-dartlang-root -Ptarget-platform=android-x86 assembleDebug
[+2058 ms] > Task :app:compileFlutterBuildDebug UP-TO-DATE
[  +23 ms] > Task :app:packLibsflutterBuildDebug UP-TO-DATE
[   +4 ms] > Task :app:preBuild UP-TO-DATE
[   +3 ms] > Task :app:preDebugBuild UP-TO-DATE
[   +2 ms] > Task :flutter_plugin_android_lifecycle:preBuild UP-TO-DATE
[  +24 ms] > Task :flutter_plugin_android_lifecycle:preDebugBuild UP-TO-DATE
[   +4 ms] > Task :image_picker:preBuild UP-TO-DATE
[   +2 ms] > Task :image_picker:preDebugBuild UP-TO-DATE
[  +31 ms] > Task :flutter_plugin_android_lifecycle:packageDebugRenderscript NO-SOURCE
[  +10 ms] > Task :image_picker:packageDebugRenderscript NO-SOURCE
[   +2 ms] > Task :app:compileDebugRenderscript NO-SOURCE
[   +4 ms] > Task :flutter_plugin_android_lifecycle:compileDebugAidl NO-SOURCE
[   +2 ms] > Task :image_picker:compileDebugAidl NO-SOURCE
[   +1 ms] > Task :app:compileDebugAidl NO-SOURCE
[   +1 ms] > Task :app:checkDebugManifest UP-TO-DATE
[   +1 ms] > Task :app:generateDebugBuildConfig UP-TO-DATE
[   +5 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
[   +1 ms] > Task :flutter_plugin_android_lifecycle:mergeDebugShaders UP-TO-DATE
[        ] > Task :flutter_plugin_android_lifecycle:compileDebugShaders UP-TO-DATE
[        ] > Task :flutter_plugin_android_lifecycle:generateDebugAssets UP-TO-DATE
[  +24 ms] > Task :flutter_plugin_android_lifecycle:packageDebugAssets UP-TO-DATE
[   +3 ms] > Task :image_picker:mergeDebugShaders UP-TO-DATE
[   +1 ms] > Task :image_picker:compileDebugShaders UP-TO-DATE
[        ] > Task :image_picker:generateDebugAssets UP-TO-DATE
[        ] > Task :image_picker:packageDebugAssets UP-TO-DATE
[        ] > Task :app:mergeDebugAssets
[ +196 ms] > Task :app:copyFlutterAssetsDebug
[   +3 ms] > Task :app:mainApkListPersistenceDebug UP-TO-DATE
[  +12 ms] > Task :app:generateDebugResValues UP-TO-DATE
[   +2 ms] > Task :app:generateDebugResources UP-TO-DATE
[  +78 ms] > Task :flutter_plugin_android_lifecycle:generateDebugResValues UP-TO-DATE
[   +6 ms] > Task :image_picker:compileDebugRenderscript NO-SOURCE
[   +2 ms] > Task :flutter_plugin_android_lifecycle:compileDebugRenderscript NO-SOURCE
[   +1 ms] > Task :flutter_plugin_android_lifecycle:generateDebugResources UP-TO-DATE
[   +8 ms] > Task :flutter_plugin_android_lifecycle:packageDebugResources UP-TO-DATE
[   +1 ms] > Task :image_picker:generateDebugResValues UP-TO-DATE
[   +1 ms] > Task :image_picker:generateDebugResources UP-TO-DATE
[   +8 ms] > Task :image_picker:packageDebugResources UP-TO-DATE
[   +8 ms] > Task :app:mergeDebugResources UP-TO-DATE
[   +1 ms] > Task :app:createDebugCompatibleScreenManifests UP-TO-DATE
[  +23 ms] > Task :flutter_plugin_android_lifecycle:checkDebugManifest UP-TO-DATE
[   +9 ms] > Task :flutter_plugin_android_lifecycle:processDebugManifest UP-TO-DATE
[   +3 ms] > Task :image_picker:checkDebugManifest UP-TO-DATE
[ +147 ms] > Task :image_picker:processDebugManifest UP-TO-DATE
[  +30 ms] > Task :app:processDebugManifest UP-TO-DATE
[   +1 ms] > Task :flutter_plugin_android_lifecycle:parseDebugLibraryResources UP-TO-DATE
[   +1 ms] > Task :flutter_plugin_android_lifecycle:generateDebugRFile UP-TO-DATE
[   +1 ms] > Task :image_picker:parseDebugLibraryResources UP-TO-DATE
[  +37 ms] > Task :image_picker:generateDebugRFile UP-TO-DATE
[   +9 ms] > Task :app:processDebugResources UP-TO-DATE
[  +14 ms] > Task :flutter_plugin_android_lifecycle:generateDebugBuildConfig UP-TO-DATE
[  +40 ms] > Task :flutter_plugin_android_lifecycle:javaPreCompileDebug UP-TO-DATE
[  +70 ms] > Task :flutter_plugin_android_lifecycle:compileDebugJavaWithJavac UP-TO-DATE
[  +18 ms] > Task :flutter_plugin_android_lifecycle:bundleLibCompileDebug UP-TO-DATE
[   +5 ms] > Task :image_picker:generateDebugBuildConfig UP-TO-DATE
[  +17 ms] > Task :image_picker:javaPreCompileDebug UP-TO-DATE
[  +15 ms] > Task :image_picker:compileDebugJavaWithJavac UP-TO-DATE
[  +12 ms] > Task :image_picker:bundleLibCompileDebug UP-TO-DATE
[   +9 ms] > Task :app:compileDebugKotlin UP-TO-DATE
[  +14 ms] > Task :app:javaPreCompileDebug UP-TO-DATE
[   +1 ms] > Task :app:compileDebugJavaWithJavac UP-TO-DATE
[  +12 ms] > Task :app:compileDebugSources UP-TO-DATE
[   +1 ms] > Task :app:processDebugJavaRes NO-SOURCE
[   +6 ms] > Task :flutter_plugin_android_lifecycle:processDebugJavaRes NO-SOURCE
[   +9 ms] > Task :flutter_plugin_android_lifecycle:bundleLibResDebug UP-TO-DATE
[  +11 ms] > Task :image_picker:processDebugJavaRes NO-SOURCE
[   +2 ms] > Task :image_picker:bundleLibResDebug UP-TO-DATE
[   +4 ms] > Task :app:mergeDebugJavaResource UP-TO-DATE
[  +29 ms] > Task :flutter_plugin_android_lifecycle:bundleLibRuntimeDebug UP-TO-DATE
[   +6 ms] > Task :flutter_plugin_android_lifecycle:createFullJarDebug UP-TO-DATE
[  +11 ms] > Task :image_picker:bundleLibRuntimeDebug UP-TO-DATE
[   +1 ms] > Task :image_picker:createFullJarDebug UP-TO-DATE
[   +1 ms] > Task :app:desugarDebugFileDependencies UP-TO-DATE
[  +10 ms] > Task :app:validateSigningDebug UP-TO-DATE
[   +1 ms] > Task :app:checkDebugDuplicateClasses UP-TO-DATE
[  +24 ms] > Task :app:transformClassesWithDexBuilderForDebug UP-TO-DATE
[   +1 ms] > Task :app:mergeExtDexDebug UP-TO-DATE
[   +9 ms] > Task :app:mergeDexDebug UP-TO-DATE
[        ] > Task :app:signingConfigWriterDebug UP-TO-DATE
[   +1 ms] > Task :app:mergeDebugJniLibFolders UP-TO-DATE
[        ] > Task :flutter_plugin_android_lifecycle:mergeDebugJniLibFolders UP-TO-DATE
[        ] > Task :flutter_plugin_android_lifecycle:mergeDebugNativeLibs UP-TO-DATE
[        ] > Task :flutter_plugin_android_lifecycle:stripDebugDebugSymbols UP-TO-DATE
[        ] > Task :flutter_plugin_android_lifecycle:transformNativeLibsWithIntermediateJniLibsForDebug UP-TO-DATE
[   +8 ms] > Task :image_picker:mergeDebugJniLibFolders UP-TO-DATE
[   +1 ms] > Task :image_picker:mergeDebugNativeLibs UP-TO-DATE
[   +1 ms] > Task :image_picker:stripDebugDebugSymbols UP-TO-DATE
[        ] > Task :image_picker:transformNativeLibsWithIntermediateJniLibsForDebug UP-TO-DATE
[        ] > Task :app:mergeDebugNativeLibs UP-TO-DATE
[        ] > Task :app:stripDebugDebugSymbols UP-TO-DATE
[   +3 ms] Compatible side by side NDK version was not found.
[        ] > Task :app:packageDebug UP-TO-DATE
[   +5 ms] > Task :app:assembleDebug UP-TO-DATE
[   +1 ms] > Task :flutter_plugin_android_lifecycle:extractDebugAnnotations UP-TO-DATE
[   +3 ms] > Task :flutter_plugin_android_lifecycle:mergeDebugGeneratedProguardFiles UP-TO-DATE
[        ] > Task :flutter_plugin_android_lifecycle:mergeDebugConsumerProguardFiles UP-TO-DATE
[   +1 ms] > Task :flutter_plugin_android_lifecycle:prepareLintJarForPublish UP-TO-DATE
[        ] > Task :flutter_plugin_android_lifecycle:mergeDebugJavaResource UP-TO-DATE
[        ] > Task :flutter_plugin_android_lifecycle:transformClassesAndResourcesWithSyncLibJarsForDebug UP-TO-DATE
[        ] > Task :flutter_plugin_android_lifecycle:transformNativeLibsWithSyncJniLibsForDebug UP-TO-DATE
[        ] > Task :flutter_plugin_android_lifecycle:bundleDebugAar UP-TO-DATE
[        ] > Task :flutter_plugin_android_lifecycle:compileDebugSources UP-TO-DATE
[   +1 ms] > Task :flutter_plugin_android_lifecycle:assembleDebug UP-TO-DATE
[   +5 ms] > Task :image_picker:extractDebugAnnotations UP-TO-DATE
[   +1 ms] > Task :image_picker:mergeDebugGeneratedProguardFiles UP-TO-DATE
[        ] > Task :image_picker:mergeDebugConsumerProguardFiles UP-TO-DATE
[   +1 ms] > Task :image_picker:prepareLintJarForPublish UP-TO-DATE
[        ] > Task :image_picker:mergeDebugJavaResource UP-TO-DATE
[        ] > Task :image_picker:transformClassesAndResourcesWithSyncLibJarsForDebug UP-TO-DATE
[        ] > Task :image_picker:transformNativeLibsWithSyncJniLibsForDebug UP-TO-DATE
[        ] > Task :image_picker:bundleDebugAar UP-TO-DATE
[        ] > Task :image_picker:compileDebugSources UP-TO-DATE
[        ] > Task :image_picker:assembleDebug UP-TO-DATE
[   +7 ms] BUILD SUCCESSFUL in 2s
[        ] 86 actionable tasks: 3 executed, 83 up-to-date
[ +235 ms] Running Gradle task 'assembleDebug'... (completed in 3.7s)
[  +35 ms] calculateSha: LocalDirectory: 'D:\dev\flutter\bugs\build\app\outputs\apk'/app.apk
[  +68 ms] calculateSha: reading file took 65us
[ +585 ms] calculateSha: computing sha took 582us
[  +27 ms] √ Built build\app\outputs\apk\debug\app-debug.apk.
[  +16 ms] executing: D:\dev\Android\SDK\build-tools\29.0.2\aapt dump xmltree D:\dev\flutter\bugs\build\app\outputs\apk\app.apk AndroidManifest.xml
[  +48 ms] Exit code 0 from: D:\dev\Android\SDK\build-tools\29.0.2\aapt dump xmltree D:\dev\flutter\bugs\build\app\outputs\apk\app.apk AndroidManifest.xml
[   +5 ms] 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)0x1c
               A: android:compileSdkVersionCodename(0x01010573)="9" (Raw: "9")
               A: package="com.example.bugs" (Raw: "com.example.bugs")
               A: platformBuildVersionCode=(type 0x10)0x1c
               A: platformBuildVersionName=(type 0x10)0x9
               E: uses-sdk (line=7)
                 A: android:minSdkVersion(0x0101020c)=(type 0x10)0x10
                 A: android:targetSdkVersion(0x01010270)=(type 0x10)0x1c
               E: uses-permission (line=14)
                 A: android:name(0x01010003)="android.permission.INTERNET" (Raw: "android.permission.INTERNET")
               E: uses-permission (line=15)
                 A: android:name(0x01010003)="android.permission.READ_EXTERNAL_STORAGE" (Raw: "android.permission.READ_EXTERNAL_STORAGE")
               E: uses-permission (line=16)
                 A: android:name(0x01010003)="android.permission.WRITE_EXTERNAL_STORAGE" (Raw: "android.permission.WRITE_EXTERNAL_STORAGE")
               E: application (line=24)
                 A: android:label(0x01010001)="bugs" (Raw: "bugs")
                 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=30)
                   A: android:theme(0x01010000)=@0x7f0a0000
                   A: android:name(0x01010003)="com.example.bugs.MainActivity" (Raw: "com.example.bugs.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=44)
                     A: android:name(0x01010003)="io.flutter.embedding.android.NormalTheme" (Raw: "io.flutter.embedding.android.NormalTheme")
                     A: android:resource(0x01010025)=@0x7f0a0001
                   E: meta-data (line=54)
                     A: android:name(0x01010003)="io.flutter.embedding.android.SplashScreenDrawable" (Raw:
                     "io.flutter.embedding.android.SplashScreenDrawable")
                     A: android:resource(0x01010025)=@0x7f040000
                   E: intent-filter (line=58)
                     E: action (line=59)
                       A: android:name(0x01010003)="android.intent.action.MAIN" (Raw: "android.intent.action.MAIN")
                     E: category (line=61)
                       A: android:name(0x01010003)="android.intent.category.LAUNCHER" (Raw: "android.intent.category.LAUNCHER")
                 E: meta-data (line=68)
                   A: android:name(0x01010003)="flutterEmbedding" (Raw: "flutterEmbedding")
                   A: android:value(0x01010024)=(type 0x10)0x2
                 E: provider (line=72)
                   A: android:name(0x01010003)="io.flutter.plugins.imagepicker.ImagePickerFileProvider" (Raw:
                   "io.flutter.plugins.imagepicker.ImagePickerFileProvider")
                   A: android:exported(0x01010010)=(type 0x12)0x0
                   A: android:authorities(0x01010018)="com.example.bugs.flutter.image_provider" (Raw: "com.example.bugs.flutter.image_provider")
                   A: android:grantUriPermissions(0x0101001b)=(type 0x12)0xffffffff
                   E: meta-data (line=77)
                     A: android:name(0x01010003)="android.support.FILE_PROVIDER_PATHS" (Raw: "android.support.FILE_PROVIDER_PATHS")
                     A: android:resource(0x01010025)=@0x7f0c0000
[   +7 ms] Stopping app 'app.apk' on Android SDK built for x86.
[  +31 ms] executing: D:\dev\Android\SDK\platform-tools\adb.exe -s emulator-5554 shell am force-stop com.example.bugs
[ +587 ms] executing: D:\dev\Android\SDK\platform-tools\adb.exe -s emulator-5554 shell pm list packages com.example.bugs
[ +254 ms] package:com.example.bugs
[   +8 ms] executing: D:\dev\Android\SDK\platform-tools\adb.exe -s emulator-5554 shell cat /data/local/tmp/sky.com.example.bugs.sha1
[ +131 ms] 225e6c0533d85cf5e68855c0f35c18e94d7906ac
[   +6 ms] Latest build already installed.
[   +1 ms] Android SDK built for x86 startApp
[   +2 ms] executing: D:\dev\Android\SDK\platform-tools\adb.exe -s emulator-5554 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.bugs/com.example.bugs.MainActivity
[ +149 ms] Starting: Intent { act=android.intent.action.RUN flg=0x20000000 cmp=com.example.bugs/.MainActivity (has extras) }
[  +13 ms] Waiting for observatory port to be available...
[+1367 ms] Observatory URL on device: http://127.0.0.1:35567/tOzlmmB9pYI=/
[   +4 ms] executing: D:\dev\Android\SDK\platform-tools\adb.exe -s emulator-5554 forward tcp:0 tcp:35567
[  +32 ms] 58930
[   +3 ms] Forwarded host port 58930 to device port 35567 for Observatory
[  +14 ms] Connecting to service protocol: http://127.0.0.1:58930/tOzlmmB9pYI=/
[ +423 ms] Successfully connected to service protocol: http://127.0.0.1:58930/tOzlmmB9pYI=/
[   +8 ms] Sending to VM service: getVM({})
[   +6 ms] Result: {type: VM, name: vm, architectureBits: 32, hostCPU: Virtual CPU, operatingSystem: android, targetCPU: ia32, version:
2.8.0-dev.5.0.flutter-fc3af737c7 (Fri Jan 24 09:53:26 2020 +0000) on "android_ia32", _profilerMode: VM, _nativeZoneMemoryUsage: 0,...
[   +7 ms] Sending to VM service: getIsolate({isolateId: isolates/977915695231199})
[   +5 ms] Sending to VM service: _flutter.listViews({})
[  +14 ms] Result: {type: FlutterViewList, views: [{type: FlutterView, id: _flutterView/0xf0732210, isolate: {type: @Isolate, fixedId: true, id:
isolates/977915695231199, name: main.dart$main-977915695231199, number: 977915695231199}}]}
[   +5 ms] DevFS: Creating new filesystem on the device (null)
[   +3 ms] Sending to VM service: _createDevFS({fsName: bugs})
[  +53 ms] Result: {type: FileSystem, name: bugs, uri: file:///data/user/0/com.example.bugs/code_cache/bugsLBSDAB/bugs/}
[   +5 ms] DevFS: Created new filesystem on the device (file:///data/user/0/com.example.bugs/code_cache/bugsLBSDAB/bugs/)
[   +2 ms] Updating assets
[ +101 ms] Syncing files to device Android SDK built for x86...
[   +6 ms] Scanning asset files
[   +3 ms] <- reset
[        ] Compiling dart to kernel with 0 updated files
[   +9 ms] D:\dev\flutter\sdk\bin\cache\dart-sdk\bin\dart.exe D:\dev\flutter\sdk\bin\cache\artifacts\engine\windows-x64\frontend_server.dart.snapshot
--sdk-root D:\dev\flutter\sdk\bin\cache\artifacts\engine\common\flutter_patched_sdk/ --incremental --target=flutter -Ddart.developer.causal_async_stacks=true
--output-dill C:\Users\USERNAME\AppData\Local\Temp\flutter_tool.a4d5aea1-63b2-11ea-ae82-e0d55e20e1d8\app.dill --packages D:\dev\flutter\bugs\.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
[  +11 ms] <- compile package:bugs/main.dart
[  +14 ms] Result: {type: Isolate, id: isolates/977915695231199, name: main, number: 977915695231199, _originNumber: 977915695231199, startTime:
1583942959900, _heaps: {new: {type: HeapSpace, name: new, vmName: Scavenger, collections: 2, avgCollectionPeriodMillis: 4...
[  +25 ms] D/EGL_emulation(24295): eglMakeCurrent: 0xe55b1980: ver 3 0 (tinfo 0xda068410)
[   +4 ms] D/eglCodecCommon(24295): setVertexArrayObject: set vao to 0 (0) 1 0
[ +116 ms] I/Choreographer(24295): Skipped 43 frames!  The application may be doing too much work on its main thread.
[   +6 ms] I/om.example.bug(24295): Background young concurrent copying GC freed 11126(3882KB) AllocSpace objects, 2(40KB) LOS objects, 83% free,
1183KB/7327KB, paused 438us total 112.445ms
[ +424 ms] D/EGL_emulation(24295): eglMakeCurrent: 0xdd41a2a0: ver 3 0 (tinfo 0xdd40f2e0)
[   +3 ms] D/eglCodecCommon(24295): setVertexArrayObject: set vao to 0 (0) 1 0
[   +1 ms] D/skia    (24295): Shader compilation error
[        ] D/skia    (24295): ------------------------
[        ] D/skia    (24295): Errors:
[   +1 ms] D/skia    (24295):
[  +29 ms] D/skia    (24295): Shader compilation error
[   +3 ms] D/skia    (24295): ------------------------
[   +1 ms] D/skia    (24295): Errors:
[   +1 ms] D/skia    (24295):
[  +10 ms] D/skia    (24295): Shader compilation error
[   +1 ms] D/skia    (24295): ------------------------
[  +12 ms] D/skia    (24295): Errors:
[        ] D/skia    (24295):
[   +8 ms] D/skia    (24295): Shader compilation error
[        ] D/skia    (24295): ------------------------
[   +6 ms] D/skia    (24295): Errors:
[   +3 ms] D/skia    (24295):
[  +14 ms] D/skia    (24295): Shader compilation error
[        ] D/skia    (24295): ------------------------
[   +2 ms] D/skia    (24295): Errors:
[        ] D/skia    (24295):
[  +21 ms] D/skia    (24295): Shader compilation error
[   +3 ms] D/skia    (24295): ------------------------
[   +2 ms] D/skia    (24295): Errors:
[        ] D/skia    (24295):
[  +16 ms] D/skia    (24295): Shader compilation error
[   +3 ms] D/skia    (24295): ------------------------
[   +2 ms] D/skia    (24295): Errors:
[        ] D/skia    (24295):
[  +61 ms] D/skia    (24295): Shader compilation error
[  +21 ms] D/skia    (24295): ------------------------
[   +6 ms] D/skia    (24295): Errors:
[   +5 ms] D/skia    (24295):
[   +1 ms] D/skia    (24295): Shader compilation error
[   +1 ms] D/skia    (24295): ------------------------
[   +1 ms] D/skia    (24295): Errors:
[        ] D/skia    (24295):
[   +1 ms] D/skia    (24295): Shader compilation error
[   +1 ms] D/skia    (24295): ------------------------
[   +6 ms] D/skia    (24295): Errors:
[   +1 ms] D/skia    (24295):
[   +2 ms] D/skia    (24295): Shader compilation error
[        ] D/skia    (24295): ------------------------
[   +1 ms] D/skia    (24295): Errors:
[        ] D/skia    (24295):
[   +4 ms] D/skia    (24295): Shader compilation error
[   +4 ms] D/skia    (24295): ------------------------
[        ] D/skia    (24295): Errors:
[   +1 ms] D/skia    (24295):
[   +4 ms] D/skia    (24295): Shader compilation error
[        ] D/skia    (24295): ------------------------
[   +1 ms] D/skia    (24295): Errors:
[   +1 ms] D/skia    (24295):
[+1076 ms] D/skia    (24295): Shader compilation error
[   +3 ms] D/skia    (24295): ------------------------
[   +1 ms] D/skia    (24295): Errors:
[        ] D/skia    (24295):
[   +1 ms] D/skia    (24295): Shader compilation error
[   +1 ms] D/skia    (24295): ------------------------
[   +6 ms] D/skia    (24295): Errors:
[   +3 ms] D/skia    (24295):
[   +1 ms] D/skia    (24295): Shader compilation error
[        ] D/skia    (24295): ------------------------
[   +1 ms] D/skia    (24295): Errors:
[        ] D/skia    (24295):
[   +5 ms] D/skia    (24295): Shader compilation error
[   +1 ms] D/skia    (24295): ------------------------
[   +1 ms] D/skia    (24295): Errors:
[   +1 ms] D/skia    (24295):
[   +1 ms] D/skia    (24295): Shader compilation error
[   +1 ms] D/skia    (24295): ------------------------
[   +1 ms] D/skia    (24295): Errors:
[   +6 ms] D/skia    (24295):
[   +1 ms] D/skia    (24295): Shader compilation error
[   +1 ms] D/skia    (24295): ------------------------
[        ] D/skia    (24295): Errors:
[   +1 ms] D/skia    (24295):
[  +15 ms] D/skia    (24295): Shader compilation error
[   +3 ms] D/skia    (24295): ------------------------
[   +2 ms] D/skia    (24295): Errors:
[   +1 ms] D/skia    (24295):
[+2775 ms] D/skia    (24295): Shader compilation error
[  +12 ms] D/skia    (24295): ------------------------
[   +4 ms] D/skia    (24295): Errors:
[   +1 ms] D/skia    (24295):
[   +2 ms] D/skia    (24295): Shader compilation error
[   +1 ms] D/skia    (24295): ------------------------
[        ] D/skia    (24295): Errors:
[   +1 ms] D/skia    (24295):
[ +610 ms] D/EGL_emulation(24295): eglMakeCurrent: 0xe55b1980: ver 3 0 (tinfo 0xda068410)
[ +960 ms] I/flutter (24295): ImagePickerScreen._pickVideo.video = /data/user/0/com.example.bugs/cache/image_picker1892591092233214097.jpg
[  +47 ms] D/EGL_emulation(24295): eglMakeCurrent: 0xe55b1980: ver 3 0 (tinfo 0xda068410)
[  +49 ms] D/eglCodecCommon(24295): setVertexArrayObject: set vao to 0 (0) 0 0
[   +3 ms] D/EGL_emulation(24295): eglCreateContext: 0xdd41a360: maj 3 min 0 rcv 3
[  +61 ms] D/EGL_emulation(24295): eglMakeCurrent: 0xdd41a360: ver 3 0 (tinfo 0xdd40f2e0)
[ +119 ms] D/EGL_emulation(24295): eglMakeCurrent: 0xdd41a360: ver 3 0 (tinfo 0xdd40f2e0)
[  +15 ms] D/eglCodecCommon(24295): setVertexArrayObject: set vao to 0 (0) 10 0
[  +11 ms] D/skia    (24295): Shader compilation error
[        ] D/skia    (24295): ------------------------
[   +2 ms] D/skia    (24295): Errors:
[        ] D/skia    (24295):
[        ] D/skia    (24295): Shader compilation error
[   +4 ms] D/skia    (24295): ------------------------
[        ] D/skia    (24295): Errors:
[   +3 ms] D/skia    (24295):
[   +1 ms] D/skia    (24295): Shader compilation error
[   +1 ms] D/skia    (24295): ------------------------
[   +3 ms] D/skia    (24295): Errors:
[   +2 ms] D/skia    (24295):
[  +25 ms] D/skia    (24295): Shader compilation error
[   +3 ms] D/skia    (24295): ------------------------
[        ] D/skia    (24295): Errors:
[   +2 ms] D/skia    (24295):
[   +1 ms] D/skia    (24295): Shader compilation error
[   +1 ms] D/skia    (24295): ------------------------
[        ] D/skia    (24295): Errors:
[   +1 ms] D/skia    (24295):
[   +5 ms] D/skia    (24295): Shader compilation error
[   +1 ms] D/skia    (24295): ------------------------
[   +2 ms] D/skia    (24295): Errors:
[   +1 ms] D/skia    (24295):
[        ] D/skia    (24295): Shader compilation error
[   +6 ms] D/skia    (24295): ------------------------
[   +1 ms] D/skia    (24295): Errors:
[   +2 ms] D/skia    (24295):
[   +8 ms] D/skia    (24295): Shader compilation error
[   +2 ms] D/skia    (24295): ------------------------
[        ] D/skia    (24295): Errors:
[   +7 ms] D/skia    (24295):
[   +6 ms] D/skia    (24295): Shader compilation error
[   +5 ms] D/skia    (24295): ------------------------
[   +2 ms] D/skia    (24295): Errors:
[   +2 ms] D/skia    (24295):
[   +1 ms] D/skia    (24295): Shader compilation error
[        ] D/skia    (24295): ------------------------
[        ] D/skia    (24295): Errors:
[        ] D/skia    (24295):
[ +872 ms] Updating files
[ +163 ms] DevFS: Sync finished
[   +7 ms] Syncing files to device Android SDK built for x86... (completed in 7,903ms, longer than expected)
[   +1 ms] Synced 0.9MB.
[   +1 ms] Sending to VM service: _flutter.listViews({})
[  +12 ms] Result: {type: FlutterViewList, views: [{type: FlutterView, id: _flutterView/0xf0732210, isolate: {type: @Isolate, fixedId: true, id:
isolates/977915695231199, name: main.dart$main-977915695231199, number: 977915695231199}}]}
[   +4 ms] <- accept
[        ] Connected to _flutterView/0xf0732210.
[   +3 ms] Flutter run key commands.
[   +2 ms] r Hot reload. 🔥🔥🔥
[   +5 ms] R Hot restart.
[   +1 ms] h Repeat this help message.
[   +1 ms] d Detach (terminate "flutter run" but leave application running).
[   +1 ms] q Quit (terminate the application on the device).
[        ] An Observatory debugger and profiler on Android SDK built for x86 is available at: http://127.0.0.1:58930/tOzlmmB9pYI=/
[√] Flutter (Channel beta, v1.14.6, on Microsoft Windows [Version 10.0.18362.719], locale en-DE)
    • Flutter version 1.14.6 at D:\dev\flutter\sdk
    • Framework revision fabeb2a16f (6 weeks ago), 2020-01-28 07:56:51 -0800
    • Engine revision c4229bfbba
    • Dart version 2.8.0 (build 2.8.0-dev.5.0 fc3af737c7)


[√] Android toolchain - develop for Android devices (Android SDK version 29.0.2)
    • Android SDK at D:\dev\Android\SDK
    • Android NDK location not configured (optional; useful for native profiling support)
    • Platform android-29, build-tools 29.0.2
    • ANDROID_HOME = D:\dev\Android\SDK
    • Java binary at: D:\Programms\jre\bin\java
    • Java version OpenJDK Runtime Environment (build 1.8.0_212-release-1586-b04)
    • All Android licenses accepted.

[√] Chrome - develop for the web
    • Chrome at C:\Program Files (x86)\Google\Chrome\Application\chrome.exe

[√] Android Studio (version 3.6)
    • Android Studio at D:\Programms
    • Flutter plugin version 44.0.2
    • Dart plugin version 192.7761
    • Java version OpenJDK Runtime Environment (build 1.8.0_212-release-1586-b04)

[√] VS Code, 64-bit edition (version 1.41.1)
    • VS Code at C:\Program Files\Microsoft VS Code
    • Flutter extension version 3.8.1

[√] Connected device (4 available)
    • SM A520F                  • 5210ae1cf4a7448d • android-arm64  • Android 8.0.0 (API 26)
    • Android SDK built for x86 • emulator-5554    • android-x86    • Android 10 (API 29) (emulator)
    • Chrome                    • chrome           • web-javascript • Google Chrome 80.0.3987.132
    • Web Server                • web-server       • web-javascript • Flutter Tools

• No issues found!

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2Important issues not at the top of the work lista: annoyanceRepeatedly frustrating issues with non-experimental functionalitycustomer: crowdAffects or could affect many people, though not necessarily a specific customer.found in release: 1.22Found to occur in 1.22found in release: 1.27Found to occur in 1.27has reproducible stepsThe issue has been confirmed reproducible and is ready to work onp: image_pickerThe Image Picker plugin.packageflutter/packages repository. See also p: 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