Skip to content

Canvas drawImage not working  #22137

@punkt2

Description

@punkt2

I want to draw rectangles on a image. For that, I create a PictureRecorder and Canvas to use the functions canvas.drawRect and canvas.drawImage.

In the resulting image the Rectangle (blue) is shown but not the image drawn with canvas.drawImage.

alt text

The lower part of screenshot shows that the image is correctly loaded and can be shown, if PictureRecorder and Canvas is not used.

I created a sample application for demonstration.

https://github.com/punkt2/flutter-drawImage-bug

Logs

[user:...pment/flutter/drawimage_bug]$ flutter run --verbose                                                                                                                                                                                                                                              (master✱)
[  +38 ms] executing: [/Users/user/Development/flutter/flutter/] git rev-parse --abbrev-ref --symbolic @{u}
[  +41 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{u}
[        ] origin/beta
[        ] executing: [/Users/user/Development/flutter/flutter/] git rev-parse --abbrev-ref HEAD
[  +10 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD
[        ] beta
[        ] executing: [/Users/user/Development/flutter/flutter/] git ls-remote --get-url origin
[  +10 ms] Exit code 0 from: git ls-remote --get-url origin
[        ] https://github.com/flutter/flutter.git
[        ] executing: [/Users/user/Development/flutter/flutter/] git log -n 1 --pretty=format:%H
[  +12 ms] Exit code 0 from: git log -n 1 --pretty=format:%H
[        ] 5ab9e70727d858def3a586db7fb98ee580352957
[        ] executing: [/Users/user/Development/flutter/flutter/] git log -n 1 --pretty=format:%ar
[  +12 ms] Exit code 0 from: git log -n 1 --pretty=format:%ar
[        ] 2 weeks ago
[        ] executing: [/Users/user/Development/flutter/flutter/] git describe --match v*.*.* --first-parent --long --tags
[  +16 ms] Exit code 0 from: git describe --match v*.*.* --first-parent --long --tags
[        ] v0.8.2-0-g5ab9e7072
[ +965 ms] executing: /Users/user/Library/Android/sdk/platform-tools/adb devices -l
[   +8 ms] Exit code 0 from: /Users/user/Library/Android/sdk/platform-tools/adb devices -l
[        ] List of devices attached
           emulator-5554          device product:sdk_gphone_x86 model:Android_SDK_built_for_x86 device:generic_x86 transport_id:30
[  +10 ms] executing: idevice_id -h
[  +43 ms] /usr/bin/xcrun simctl list --json devices
[ +384 ms] /Users/user/Library/Android/sdk/platform-tools/adb -s emulator-5554 shell getprop
[  +28 ms] ro.hardware = ranchu
[  +16 ms] Using hardware rendering with device Android SDK built for x86. If you get graphics artifacts, consider enabling software rendering with "--enable-software-rendering".
[ +693 ms] Launching lib/main.dart on Android SDK built for x86 in debug mode...
[  +43 ms] Initializing gradle...
[  +10 ms] Using gradle from /Users/user/Development/flutter/drawimage_bug/android/gradlew.
[ +271 ms] executing: /usr/bin/defaults read /Applications/Android Studio.app/Contents/Info CFBundleShortVersionString
[ +115 ms] Exit code 0 from: /usr/bin/defaults read /Applications/Android Studio.app/Contents/Info CFBundleShortVersionString
[        ] 3.1
[  +88 ms] executing: /Users/user/Development/flutter/drawimage_bug/android/gradlew -v
[ +750 ms]
                   ------------------------------------------------------------
                   Gradle 4.4
                   ------------------------------------------------------------

                   Build time:   2017-12-06 09:05:06 UTC
                   Revision:     cf7821a6f79f8e2a598df21780e3ff7ce8db2b82

                   Groovy:       2.4.12
                   Ant:          Apache Ant(TM) version 1.9.9 compiled on February 2 2017
                   JVM:          1.8.0_152-release (JetBrains s.r.o 25.152-b01)
                   OS:           Mac OS X 10.13.6 x86_64
[        ] Initializing gradle... (completed)
[   +1 ms] Resolving dependencies...
[        ] executing: [/Users/user/Development/flutter/drawimage_bug/android/] /Users/user/Development/flutter/drawimage_bug/android/gradlew app:properties
[+7548 ms] Starting a Gradle Daemon, 1 incompatible Daemon could not be reused, use --status for details
                   :app:properties

                   ------------------------------------------------------------
                   Project :app
                   ------------------------------------------------------------

                   allprojects: [project ':app']
                   android: com.android.build.gradle.AppExtension_Decorated@3fb74277
                   androidDependencies: task ':app:androidDependencies'
                   ant: org.gradle.api.internal.project.DefaultAntBuilder@2668d62b
                   antBuilderFactory: org.gradle.api.internal.project.DefaultAntBuilderFactory@44ee15b4
                   archivesBaseName: app
                   artifacts: org.gradle.api.internal.artifacts.dsl.DefaultArtifactHandler_Decorated@204fcf1c
                   asDynamicObject: DynamicObject for project ':app'
                   assemble: task ':app:assemble'
                   assembleAndroidTest: task ':app:assembleAndroidTest'
                   assembleDebug: task ':app:assembleDebug'
                   assembleDebugAndroidTest: task ':app:assembleDebugAndroidTest'
                   assembleDebugUnitTest: task ':app:assembleDebugUnitTest'
                   assembleDynamicProfile: task ':app:assembleDynamicProfile'
                   assembleDynamicProfileUnitTest: task ':app:assembleDynamicProfileUnitTest'
                   assembleDynamicRelease: task ':app:assembleDynamicRelease'
                   assembleDynamicReleaseUnitTest: task ':app:assembleDynamicReleaseUnitTest'
                   assembleProfile: task ':app:assembleProfile'
                   assembleProfileUnitTest: task ':app:assembleProfileUnitTest'
                   assembleRelease: task ':app:assembleRelease'
                   assembleReleaseUnitTest: task ':app:assembleReleaseUnitTest'
                   baseClassLoaderScope: org.gradle.api.internal.initialization.DefaultClassLoaderScope@256e8598
                   buildDependents: task ':app:buildDependents'
                   buildDir: /Users/user/Development/flutter/drawimage_bug/build/app
                   buildFile: /Users/user/Development/flutter/drawimage_bug/android/app/build.gradle
                   buildNeeded: task ':app:buildNeeded'
                   buildOutputs: BaseVariantOutput container
                   buildPath: :
                   buildScriptSource: org.gradle.groovy.scripts.TextResourceScriptSource@45d7d690
                   buildscript: org.gradle.api.internal.initialization.DefaultScriptHandler@7120282b
                   bundleAppClassesDebug: task ':app:bundleAppClassesDebug'
                   bundleAppClassesDebugAndroidTest: task ':app:bundleAppClassesDebugAndroidTest'
                   bundleAppClassesDebugUnitTest: task ':app:bundleAppClassesDebugUnitTest'
                   bundleAppClassesDynamicProfile: task ':app:bundleAppClassesDynamicProfile'
                   bundleAppClassesDynamicProfileUnitTest: task ':app:bundleAppClassesDynamicProfileUnitTest'
                   bundleAppClassesDynamicRelease: task ':app:bundleAppClassesDynamicRelease'
                   bundleAppClassesDynamicReleaseUnitTest: task ':app:bundleAppClassesDynamicReleaseUnitTest'
                   bundleAppClassesProfile: task ':app:bundleAppClassesProfile'
                   bundleAppClassesProfileUnitTest: task ':app:bundleAppClassesProfileUnitTest'
                   bundleAppClassesRelease: task ':app:bundleAppClassesRelease'
                   bundleAppClassesReleaseUnitTest: task ':app:bundleAppClassesReleaseUnitTest'
                   bundleDebugAndroidTestResources: task ':app:bundleDebugAndroidTestResources'
                   bundleDebugResources: task ':app:bundleDebugResources'
                   bundleDynamicProfileResources: task ':app:bundleDynamicProfileResources'
                   bundleDynamicReleaseResources: task ':app:bundleDynamicReleaseResources'
                   bundleProfileResources: task ':app:bundleProfileResources'
                   bundleReleaseResources: task ':app:bundleReleaseResources'
                   check: task ':app:check'
                   checkDebugManifest: task ':app:checkDebugManifest'
                   checkDynamicProfileManifest: task ':app:checkDynamicProfileManifest'
                   checkDynamicReleaseManifest: task ':app:checkDynamicReleaseManifest'
                   checkProfileManifest: task ':app:checkProfileManifest'
                   checkReleaseManifest: task ':app:checkReleaseManifest'
                   childProjects: {}
                   class: class org.gradle.api.internal.project.DefaultProject_Decorated
                   classLoaderScope: org.gradle.api.internal.initialization.DefaultClassLoaderScope@2fc92e3c
                   cleanBuildCache: task ':app:cleanBuildCache'
                   compileDebugAidl: task ':app:compileDebugAidl'
                   compileDebugAndroidTestAidl: task ':app:compileDebugAndroidTestAidl'
                   compileDebugAndroidTestJavaWithJavac: task ':app:compileDebugAndroidTestJavaWithJavac'
                   compileDebugAndroidTestNdk: task ':app:compileDebugAndroidTestNdk'
                   compileDebugAndroidTestRenderscript: task ':app:compileDebugAndroidTestRenderscript'
                   compileDebugAndroidTestShaders: task ':app:compileDebugAndroidTestShaders'
                   compileDebugAndroidTestSources: task ':app:compileDebugAndroidTestSources'
                   compileDebugJavaWithJavac: task ':app:compileDebugJavaWithJavac'
                   compileDebugNdk: task ':app:compileDebugNdk'
                   compileDebugRenderscript: task ':app:compileDebugRenderscript'
                   compileDebugShaders: task ':app:compileDebugShaders'
                   compileDebugSources: task ':app:compileDebugSources'
                   compileDebugUnitTestJavaWithJavac: task ':app:compileDebugUnitTestJavaWithJavac'
                   compileDebugUnitTestSources: task ':app:compileDebugUnitTestSources'
                   compileDynamicProfileAidl: task ':app:compileDynamicProfileAidl'
                   compileDynamicProfileJavaWithJavac: task ':app:compileDynamicProfileJavaWithJavac'
                   compileDynamicProfileNdk: task ':app:compileDynamicProfileNdk'
                   compileDynamicProfileRenderscript: task ':app:compileDynamicProfileRenderscript'
                   compileDynamicProfileShaders: task ':app:compileDynamicProfileShaders'
                   compileDynamicProfileSources: task ':app:compileDynamicProfileSources'
                   compileDynamicProfileUnitTestJavaWithJavac: task ':app:compileDynamicProfileUnitTestJavaWithJavac'
                   compileDynamicProfileUnitTestSources: task ':app:compileDynamicProfileUnitTestSources'
                   compileDynamicReleaseAidl: task ':app:compileDynamicReleaseAidl'
                   compileDynamicReleaseJavaWithJavac: task ':app:compileDynamicReleaseJavaWithJavac'
                   compileDynamicReleaseNdk: task ':app:compileDynamicReleaseNdk'
                   compileDynamicReleaseRenderscript: task ':app:compileDynamicReleaseRenderscript'
                   compileDynamicReleaseShaders: task ':app:compileDynamicReleaseShaders'
                   compileDynamicReleaseSources: task ':app:compileDynamicReleaseSources'
                   compileDynamicReleaseUnitTestJavaWithJavac: task ':app:compileDynamicReleaseUnitTestJavaWithJavac'
                   compileDynamicReleaseUnitTestSources: task ':app:compileDynamicReleaseUnitTestSources'
                   compileLint: task ':app:compileLint'
                   compileProfileAidl: task ':app:compileProfileAidl'
                   compileProfileJavaWithJavac: task ':app:compileProfileJavaWithJavac'
                   compileProfileNdk: task ':app:compileProfileNdk'
                   compileProfileRenderscript: task ':app:compileProfileRenderscript'
                   compileProfileShaders: task ':app:compileProfileShaders'
                   compileProfileSources: task ':app:compileProfileSources'
                   compileProfileUnitTestJavaWithJavac: task ':app:compileProfileUnitTestJavaWithJavac'
                   compileProfileUnitTestSources: task ':app:compileProfileUnitTestSources'
                   compileReleaseAidl: task ':app:compileReleaseAidl'
                   compileReleaseJavaWithJavac: task ':app:compileReleaseJavaWithJavac'
                   compileReleaseNdk: task ':app:compileReleaseNdk'
                   compileReleaseRenderscript: task ':app:compileReleaseRenderscript'
                   compileReleaseShaders: task ':app:compileReleaseShaders'
                   compileReleaseSources: task ':app:compileReleaseSources'
                   compileReleaseUnitTestJavaWithJavac: task ':app:compileReleaseUnitTestJavaWithJavac'
                   compileReleaseUnitTestSources: task ':app:compileReleaseUnitTestSources'
                   components: SoftwareComponentInternal set
                   configurationActions: org.gradle.configuration.project.DefaultProjectConfigurationActionContainer@7eda2c18
                   configurationTargetIdentifier: org.gradle.configuration.ConfigurationTargetIdentifier$1@5421605
                   configurations: configuration container
                   connectedAndroidTest: task ':app:connectedAndroidTest'
                   connectedCheck: task ':app:connectedCheck'
                   connectedDebugAndroidTest: task ':app:connectedDebugAndroidTest'
                   consumeConfigAttr: task ':app:consumeConfigAttr'
                   convention: org.gradle.api.internal.plugins.DefaultConvention@75d317f6
                   copyFlutterAssetsDebug: task ':app:copyFlutterAssetsDebug'
                   copyFlutterAssetsDynamicProfile: task ':app:copyFlutterAssetsDynamicProfile'
                   copyFlutterAssetsDynamicRelease: task ':app:copyFlutterAssetsDynamicRelease'
                   copyFlutterAssetsProfile: task ':app:copyFlutterAssetsProfile'
                   copyFlutterAssetsRelease: task ':app:copyFlutterAssetsRelease'
                   createDebugCompatibleScreenManifests: task ':app:createDebugCompatibleScreenManifests'
                   createDynamicProfileCompatibleScreenManifests: task ':app:createDynamicProfileCompatibleScreenManifests'
                   createDynamicReleaseCompatibleScreenManifests: task ':app:createDynamicReleaseCompatibleScreenManifests'
                   createProfileCompatibleScreenManifests: task ':app:createProfileCompatibleScreenManifests'
                   createReleaseCompatibleScreenManifests: task ':app:createReleaseCompatibleScreenManifests'
                   defaultArtifacts: org.gradle.api.internal.plugins.DefaultArtifactPublicationSet_Decorated@130d6fbe
                   defaultTasks: []
                   deferredProjectConfiguration: org.gradle.api.internal.project.DeferredProjectConfiguration@3c183b2b
                   dependencies: org.gradle.api.internal.artifacts.dsl.dependencies.DefaultDependencyHandler_Decorated@297fe093
                   depth: 1
                   description: null
                   deviceAndroidTest: task ':app:deviceAndroidTest'
                   deviceCheck: task ':app:deviceCheck'
                   displayName: project ':app'
                   distsDir: /Users/user/Development/flutter/drawimage_bug/build/app/distributions
                   distsDirName: distributions
                   docsDir: /Users/user/Development/flutter/drawimage_bug/build/app/docs
                   docsDirName: docs
                   ext: org.gradle.api.internal.plugins.DefaultExtraPropertiesExtension@44fe2eed
                   extensions: org.gradle.api.internal.plugins.DefaultConvention@75d317f6
                   extractProguardFiles: task ':app:extractProguardFiles'
                   fileOperations: org.gradle.api.internal.file.DefaultFileOperations@3cf6d953
                   fileResolver: org.gradle.api.internal.file.BaseDirFileResolver@414a6c85
                   flutter: FlutterExtension_Decorated@17e77747
                   flutterBuildDebug: task ':app:flutterBuildDebug'
                   flutterBuildDynamicProfile: task ':app:flutterBuildDynamicProfile'
                   flutterBuildDynamicRelease: task ':app:flutterBuildDynamicRelease'
                   flutterBuildProfile: task ':app:flutterBuildProfile'
                   flutterBuildRelease: task ':app:flutterBuildRelease'
                   flutterBuildX86Jar: task ':app:flutterBuildX86Jar'
                   generateDebugAndroidTestAssets: task ':app:generateDebugAndroidTestAssets'
                   generateDebugAndroidTestBuildConfig: task ':app:generateDebugAndroidTestBuildConfig'
                   generateDebugAndroidTestResValues: task ':app:generateDebugAndroidTestResValues'
                   generateDebugAndroidTestResources: task ':app:generateDebugAndroidTestResources'
                   generateDebugAndroidTestSources: task ':app:generateDebugAndroidTestSources'
                   generateDebugAssets: task ':app:generateDebugAssets'
                   generateDebugBuildConfig: task ':app:generateDebugBuildConfig'
                   generateDebugResValues: task ':app:generateDebugResValues'
                   generateDebugResources: task ':app:generateDebugResources'
                   generateDebugSources: task ':app:generateDebugSources'
                   generateDynamicProfileAssets: task ':app:generateDynamicProfileAssets'
                   generateDynamicProfileBuildConfig: task ':app:generateDynamicProfileBuildConfig'
                   generateDynamicProfileResValues: task ':app:generateDynamicProfileResValues'
                   generateDynamicProfileResources: task ':app:generateDynamicProfileResources'
                   generateDynamicProfileSources: task ':app:generateDynamicProfileSources'
                   generateDynamicReleaseAssets: task ':app:generateDynamicReleaseAssets'
                   generateDynamicReleaseBuildConfig: task ':app:generateDynamicReleaseBuildConfig'
                   generateDynamicReleaseResValues: task ':app:generateDynamicReleaseResValues'
                   generateDynamicReleaseResources: task ':app:generateDynamicReleaseResources'
                   generateDynamicReleaseSources: task ':app:generateDynamicReleaseSources'
                   generateProfileAssets: task ':app:generateProfileAssets'
                   generateProfileBuildConfig: task ':app:generateProfileBuildConfig'
                   generateProfileResValues: task ':app:generateProfileResValues'
                   generateProfileResources: task ':app:generateProfileResources'
                   generateProfileSources: task ':app:generateProfileSources'
                   generateReleaseAssets: task ':app:generateReleaseAssets'
                   generateReleaseBuildConfig: task ':app:generateReleaseBuildConfig'
                   generateReleaseResValues: task ':app:generateReleaseResValues'
                   generateReleaseResources: task ':app:generateReleaseResources'
                   generateReleaseSources: task ':app:generateReleaseSources'
                   gradle: build 'android'
                   group: android
                   identityPath: :app
                   inheritedScope: org.gradle.api.internal.ExtensibleDynamicObject$InheritedDynamicObject@225bba10
                   installDebug: task ':app:installDebug'
                   installDebugAndroidTest: task ':app:installDebugAndroidTest'
                   installDynamicProfile: task ':app:installDynamicProfile'
                   installDynamicRelease: task ':app:installDynamicRelease'
                   installProfile: task ':app:installProfile'
                   installRelease: task ':app:installRelease'
                   javaPreCompileDebug: task ':app:javaPreCompileDebug'
                   javaPreCompileDebugAndroidTest: task ':app:javaPreCompileDebugAndroidTest'
                   javaPreCompileDebugUnitTest: task ':app:javaPreCompileDebugUnitTest'
                   javaPreCompileDynamicProfile: task ':app:javaPreCompileDynamicProfile'
                   javaPreCompileDynamicProfileUnitTest: task ':app:javaPreCompileDynamicProfileUnitTest'
                   javaPreCompileDynamicRelease: task ':app:javaPreCompileDynamicRelease'
                   javaPreCompileDynamicReleaseUnitTest: task ':app:javaPreCompileDynamicReleaseUnitTest'
                   javaPreCompileProfile: task ':app:javaPreCompileProfile'
                   javaPreCompileProfileUnitTest: task ':app:javaPreCompileProfileUnitTest'
                   javaPreCompileRelease: task ':app:javaPreCompileRelease'
                   javaPreCompileReleaseUnitTest: task ':app:javaPreCompileReleaseUnitTest'
                   layout: org.gradle.api.internal.file.DefaultProjectLayout@286dc349
                   libsDir: /Users/user/Development/flutter/drawimage_bug/build/app/libs
                   libsDirName: libs
                   lint: task ':app:lint'
                   lintDebug: task ':app:lintDebug'
                   lintDynamicProfile: task ':app:lintDynamicProfile'
                   lintDynamicRelease: task ':app:lintDynamicRelease'
                   lintProfile: task ':app:lintProfile'
                   lintRelease: task ':app:lintRelease'
                   lintVitalRelease: task ':app:lintVitalRelease'
                   logger: org.gradle.internal.logging.slf4j.OutputEventListenerBackedLogger@3ad1ac85
                   logging: org.gradle.internal.logging.services.DefaultLoggingManager@16a0a9d7
                   mainApkListPersistenceDebug: task ':app:mainApkListPersistenceDebug'
                   mainApkListPersistenceDebugAndroidTest: task ':app:mainApkListPersistenceDebugAndroidTest'
                   mainApkListPersistenceDynamicProfile: task ':app:mainApkListPersistenceDynamicProfile'
                   mainApkListPersistenceDynamicRelease: task ':app:mainApkListPersistenceDynamicRelease'
                   mainApkListPersistenceProfile: task ':app:mainApkListPersistenceProfile'
                   mainApkListPersistenceRelease: task ':app:mainApkListPersistenceRelease'
                   mergeDebugAndroidTestAssets: task ':app:mergeDebugAndroidTestAssets'
                   mergeDebugAndroidTestJniLibFolders: task ':app:mergeDebugAndroidTestJniLibFolders'
                   mergeDebugAndroidTestResources: task ':app:mergeDebugAndroidTestResources'
                   mergeDebugAndroidTestShaders: task ':app:mergeDebugAndroidTestShaders'
                   mergeDebugAssets: task ':app:mergeDebugAssets'
                   mergeDebugJniLibFolders: task ':app:mergeDebugJniLibFolders'
                   mergeDebugResources: task ':app:mergeDebugResources'
                   mergeDebugShaders: task ':app:mergeDebugShaders'
                   mergeDynamicProfileAssets: task ':app:mergeDynamicProfileAssets'
                   mergeDynamicProfileJniLibFolders: task ':app:mergeDynamicProfileJniLibFolders'
                   mergeDynamicProfileResources: task ':app:mergeDynamicProfileResources'
                   mergeDynamicProfileShaders: task ':app:mergeDynamicProfileShaders'
                   mergeDynamicReleaseAssets: task ':app:mergeDynamicReleaseAssets'
                   mergeDynamicReleaseJniLibFolders: task ':app:mergeDynamicReleaseJniLibFolders'
                   mergeDynamicReleaseResources: task ':app:mergeDynamicReleaseResources'
                   mergeDynamicReleaseShaders: task ':app:mergeDynamicReleaseShaders'
                   mergeProfileAssets: task ':app:mergeProfileAssets'
                   mergeProfileJniLibFolders: task ':app:mergeProfileJniLibFolders'
                   mergeProfileResources: task ':app:mergeProfileResources'
                   mergeProfileShaders: task ':app:mergeProfileShaders'
                   mergeReleaseAssets: task ':app:mergeReleaseAssets'
                   mergeReleaseJniLibFolders: task ':app:mergeReleaseJniLibFolders'
                   mergeReleaseResources: task ':app:mergeReleaseResources'
                   mergeReleaseShaders: task ':app:mergeReleaseShaders'
                   mockableAndroidJar: task ':app:mockableAndroidJar'
                   modelRegistry: org.gradle.model.internal.registry.DefaultModelRegistry@69d40a29
                   modelSchemaStore: org.gradle.model.internal.manage.schema.extract.DefaultModelSchemaStore@2fe5fbd1
                   module: org.gradle.api.internal.artifacts.ProjectBackedModule@1b5a1938
                   name: app
                   normalization: org.gradle.normalization.internal.DefaultInputNormalizationHandler_Decorated@1867cf2c
                   objects: org.gradle.api.internal.model.DefaultObjectFactory@b1a33e6
                   org.gradle.jvmargs: -Xmx1536M
                   packageDebug: task ':app:packageDebug'
                   packageDebugAndroidTest: task ':app:packageDebugAndroidTest'
                   packageDynamicProfile: task ':app:packageDynamicProfile'
                   packageDynamicRelease: task ':app:packageDynamicRelease'
                   packageProfile: task ':app:packageProfile'
                   packageRelease: task ':app:packageRelease'
                   parent: root project 'android'
                   parentIdentifier: root project 'android'
                   path: :app
                   platformAttrExtractor: task ':app:platformAttrExtractor'
                   pluginManager: org.gradle.api.internal.plugins.DefaultPluginManager_Decorated@4256e5ee
                   plugins: [org.gradle.api.plugins.HelpTasksPlugin@15b23d32, com.android.build.gradle.api.AndroidBasePlugin@4c7014d9, org.gradle.language.base.plugins.LifecycleBasePlugin@62df46b0, org.gradle.api.plugins.BasePlugin@cb2e951, org.gradle.api.plugins.ReportingBasePlugin@14936d2e, org.gradle.platform.base.plugins.ComponentBasePlugin@2884f829, org.gradle.language.base.plugins.LanguageBasePlugin@1d990d37, org.gradle.platform.base.plugins.BinaryBasePlugin@76e06b20, org.gradle.api.plugins.JavaBasePlugin@562fb441, com.android.build.gradle.AppPlugin@6091c2f9, FlutterPlugin@27e4e661]
                   preBuild: task ':app:preBuild'
                   preDebugAndroidTestBuild: task ':app:preDebugAndroidTestBuild'
                   preDebugBuild: task ':app:preDebugBuild'
                   preDebugUnitTestBuild: task ':app:preDebugUnitTestBuild'
                   preDynamicProfileBuild: task ':app:preDynamicProfileBuild'
                   preDynamicProfileUnitTestBuild: task ':app:preDynamicProfileUnitTestBuild'
                   preDynamicReleaseBuild: task ':app:preDynamicReleaseBuild'
                   preDynamicReleaseUnitTestBuild: task ':app:preDynamicReleaseUnitTestBuild'
                   preProfileBuild: task ':app:preProfileBuild'
                   preProfileUnitTestBuild: task ':app:preProfileUnitTestBuild'
                   preReleaseBuild: task ':app:preReleaseBuild'
                   preReleaseUnitTestBuild: task ':app:preReleaseUnitTestBuild'
                   prepareLintJar: task ':app:prepareLintJar'
                   preparePUBLISHED_DEXDebugAndroidTestForPublishing: task ':app:preparePUBLISHED_DEXDebugAndroidTestForPublishing'
                   preparePUBLISHED_DEXDebugForPublishing: task ':app:preparePUBLISHED_DEXDebugForPublishing'
                   preparePUBLISHED_DEXDynamicProfileForPublishing: task ':app:preparePUBLISHED_DEXDynamicProfileForPublishing'
                   preparePUBLISHED_DEXDynamicReleaseForPublishing: task ':app:preparePUBLISHED_DEXDynamicReleaseForPublishing'
                   preparePUBLISHED_DEXProfileForPublishing: task ':app:preparePUBLISHED_DEXProfileForPublishing'
                   preparePUBLISHED_DEXReleaseForPublishing: task ':app:preparePUBLISHED_DEXReleaseForPublishing'
                   preparePUBLISHED_JAVA_RESDebugAndroidTestForPublishing: task ':app:preparePUBLISHED_JAVA_RESDebugAndroidTestForPublishing'
                   preparePUBLISHED_JAVA_RESDebugForPublishing: task ':app:preparePUBLISHED_JAVA_RESDebugForPublishing'
                   preparePUBLISHED_JAVA_RESDynamicProfileForPublishing: task ':app:preparePUBLISHED_JAVA_RESDynamicProfileForPublishing'
                   preparePUBLISHED_JAVA_RESDynamicReleaseForPublishing: task ':app:preparePUBLISHED_JAVA_RESDynamicReleaseForPublishing'
                   preparePUBLISHED_JAVA_RESProfileForPublishing: task ':app:preparePUBLISHED_JAVA_RESProfileForPublishing'
                   preparePUBLISHED_JAVA_RESReleaseForPublishing: task ':app:preparePUBLISHED_JAVA_RESReleaseForPublishing'
                   preparePUBLISHED_NATIVE_LIBSDebugAndroidTestForPublishing: task ':app:preparePUBLISHED_NATIVE_LIBSDebugAndroidTestForPublishing'
                   preparePUBLISHED_NATIVE_LIBSDebugForPublishing: task ':app:preparePUBLISHED_NATIVE_LIBSDebugForPublishing'
                   preparePUBLISHED_NATIVE_LIBSDynamicProfileForPublishing: task ':app:preparePUBLISHED_NATIVE_LIBSDynamicProfileForPublishing'
                   preparePUBLISHED_NATIVE_LIBSDynamicReleaseForPublishing: task ':app:preparePUBLISHED_NATIVE_LIBSDynamicReleaseForPublishing'
                   preparePUBLISHED_NATIVE_LIBSProfileForPublishing: task ':app:preparePUBLISHED_NATIVE_LIBSProfileForPublishing'
                   preparePUBLISHED_NATIVE_LIBSReleaseForPublishing: task ':app:preparePUBLISHED_NATIVE_LIBSReleaseForPublishing'
                   processDebugAndroidTestJavaRes: task ':app:processDebugAndroidTestJavaRes'
                   processDebugAndroidTestManifest: task ':app:processDebugAndroidTestManifest'
                   processDebugAndroidTestResources: task ':app:processDebugAndroidTestResources'
                   processDebugJavaRes: task ':app:processDebugJavaRes'
                   processDebugManifest: task ':app:processDebugManifest'
                   processDebugResources: task ':app:processDebugResources'
                   processDebugUnitTestJavaRes: task ':app:processDebugUnitTestJavaRes'
                   processDynamicProfileJavaRes: task ':app:processDynamicProfileJavaRes'
                   processDynamicProfileManifest: task ':app:processDynamicProfileManifest'
                   processDynamicProfileResources: task ':app:processDynamicProfileResources'
                   processDynamicProfileUnitTestJavaRes: task ':app:processDynamicProfileUnitTestJavaRes'
                   processDynamicReleaseJavaRes: task ':app:processDynamicReleaseJavaRes'
                   processDynamicReleaseManifest: task ':app:processDynamicReleaseManifest'
                   processDynamicReleaseResources: task ':app:processDynamicReleaseResources'
                   processDynamicReleaseUnitTestJavaRes: task ':app:processDynamicReleaseUnitTestJavaRes'
                   processOperations: org.gradle.api.internal.file.DefaultFileOperations@3cf6d953
                   processProfileJavaRes: task ':app:processProfileJavaRes'
                   processProfileManifest: task ':app:processProfileManifest'
                   processProfileResources: task ':app:processProfileResources'
                   processProfileUnitTestJavaRes: task ':app:processProfileUnitTestJavaRes'
                   processReleaseJavaRes: task ':app:processReleaseJavaRes'
                   processReleaseManifest: task ':app:processReleaseManifest'
                   processReleaseResources: task ':app:processReleaseResources'
                   processReleaseUnitTestJavaRes: task ':app:processReleaseUnitTestJavaRes'
                   project: project ':app'
                   projectConfigurator: org.gradle.api.internal.project.BuildOperationCrossProjectConfigurator@426da506
                   projectDir: /Users/user/Development/flutter/drawimage_bug/android/app
                   projectEvaluationBroadcaster: ProjectEvaluationListener broadcast
                   projectEvaluator: org.gradle.configuration.project.LifecycleProjectEvaluator@64551cc8
                   projectPath: :app
                   projectRegistry: org.gradle.api.internal.project.DefaultProjectRegistry@3e8a96a7
                   properties: {...}
                   providers: org.gradle.api.internal.provider.DefaultProviderFactory@4b067d0d
                   reportBuildArtifactsDebug: task ':app:reportBuildArtifactsDebug'
                   reportBuildArtifactsDynamicProfile: task ':app:reportBuildArtifactsDynamicProfile'
                   reportBuildArtifactsDynamicRelease: task ':app:reportBuildArtifactsDynamicRelease'
                   reportBuildArtifactsProfile: task ':app:reportBuildArtifactsProfile'
                   reportBuildArtifactsRelease: task ':app:reportBuildArtifactsRelease'
                   reporting: org.gradle.api.reporting.ReportingExtension_Decorated@646cb4fe
                   reportsDir: /Users/user/Development/flutter/drawimage_bug/build/app/reports
                   repositories: repository container
                   resolveConfigAttr: task ':app:resolveConfigAttr'
                   resourceLoader: org.gradle.internal.resource.transfer.DefaultUriTextResourceLoader@281347e7
                   resources: org.gradle.api.internal.resources.DefaultResourceHandler@4246d3ec
                   rootDir: /Users/user/Development/flutter/drawimage_bug/android
                   rootProject: root project 'android'
                   script: false
                   scriptHandlerFactory: org.gradle.api.internal.initialization.DefaultScriptHandlerFactory@3a5020bc
                   scriptPluginFactory: org.gradle.configuration.ScriptPluginFactorySelector@3b1ab84c
                   serviceRegistryFactory: org.gradle.internal.service.scopes.ProjectScopeServices$4@984ecb7
                   services: ProjectScopeServices
                   signingReport: task ':app:signingReport'
                   sourceCompatibility: 1.8
                   sourceSets: SourceSet container
                   splitsDiscoveryTaskDebug: task ':app:splitsDiscoveryTaskDebug'
                   splitsDiscoveryTaskDynamicProfile: task ':app:splitsDiscoveryTaskDynamicProfile'
                   splitsDiscoveryTaskDynamicRelease: task ':app:splitsDiscoveryTaskDynamicRelease'
                   splitsDiscoveryTaskProfile: task ':app:splitsDiscoveryTaskProfile'
                   splitsDiscoveryTaskRelease: task ':app:splitsDiscoveryTaskRelease'
                   standardOutputCapture: org.gradle.internal.logging.services.DefaultLoggingManager@16a0a9d7
                   state: project state 'EXECUTED'
                   status: integration
                   subprojects: []
                   targetCompatibility: 1.8
                   tasks: task set
                   test: task ':app:test'
                   testDebugUnitTest: task ':app:testDebugUnitTest'
                   testDynamicProfileUnitTest: task ':app:testDynamicProfileUnitTest'
                   testDynamicReleaseUnitTest: task ':app:testDynamicReleaseUnitTest'
                   testProfileUnitTest: task ':app:testProfileUnitTest'
                   testReleaseUnitTest: task ':app:testReleaseUnitTest'
                   testReportDir: /Users/user/Development/flutter/drawimage_bug/build/app/reports/tests
                   testReportDirName: tests
                   testResultsDir: /Users/user/Development/flutter/drawimage_bug/build/app/test-results
                   testResultsDirName: test-results
                   transformClassesWithDexBuilderForDebug: task ':app:transformClassesWithDexBuilderForDebug'
                   transformClassesWithDexBuilderForDebugAndroidTest: task ':app:transformClassesWithDexBuilderForDebugAndroidTest'
                   transformClassesWithDexBuilderForDynamicProfile: task ':app:transformClassesWithDexBuilderForDynamicProfile'
                   transformClassesWithDexBuilderForDynamicRelease: task ':app:transformClassesWithDexBuilderForDynamicRelease'
                   transformClassesWithDexBuilderForProfile: task ':app:transformClassesWithDexBuilderForProfile'
                   transformClassesWithDexBuilderForRelease: task ':app:transformClassesWithDexBuilderForRelease'
                   transformDexArchiveWithDexMergerForDebug: task ':app:transformDexArchiveWithDexMergerForDebug'
                   transformDexArchiveWithDexMergerForDebugAndroidTest: task ':app:transformDexArchiveWithDexMergerForDebugAndroidTest'
                   transformDexArchiveWithDexMergerForDynamicProfile: task ':app:transformDexArchiveWithDexMergerForDynamicProfile'
                   transformDexArchiveWithDexMergerForDynamicRelease: task ':app:transformDexArchiveWithDexMergerForDynamicRelease'
                   transformDexArchiveWithDexMergerForProfile: task ':app:transformDexArchiveWithDexMergerForProfile'
                   transformDexArchiveWithDexMergerForRelease: task ':app:transformDexArchiveWithDexMergerForRelease'
                   transformDexArchiveWithExternalLibsDexMergerForDebug: task ':app:transformDexArchiveWithExternalLibsDexMergerForDebug'
                   transformDexArchiveWithExternalLibsDexMergerForDebugAndroidTest: task ':app:transformDexArchiveWithExternalLibsDexMergerForDebugAndroidTest'
                   transformDexArchiveWithExternalLibsDexMergerForDynamicProfile: task ':app:transformDexArchiveWithExternalLibsDexMergerForDynamicProfile'
                   transformDexArchiveWithExternalLibsDexMergerForDynamicRelease: task ':app:transformDexArchiveWithExternalLibsDexMergerForDynamicRelease'
                   transformDexArchiveWithExternalLibsDexMergerForProfile: task ':app:transformDexArchiveWithExternalLibsDexMergerForProfile'
                   transformDexArchiveWithExternalLibsDexMergerForRelease: task ':app:transformDexArchiveWithExternalLibsDexMergerForRelease'
                   transformNativeLibsWithMergeJniLibsForDebug: task ':app:transformNativeLibsWithMergeJniLibsForDebug'
                   transformNativeLibsWithMergeJniLibsForDebugAndroidTest: task ':app:transformNativeLibsWithMergeJniLibsForDebugAndroidTest'
                   transformNativeLibsWithMergeJniLibsForDynamicProfile: task ':app:transformNativeLibsWithMergeJniLibsForDynamicProfile'
                   transformNativeLibsWithMergeJniLibsForDynamicRelease: task ':app:transformNativeLibsWithMergeJniLibsForDynamicRelease'
                   transformNativeLibsWithMergeJniLibsForProfile: task ':app:transformNativeLibsWithMergeJniLibsForProfile'
                   transformNativeLibsWithMergeJniLibsForRelease: task ':app:transformNativeLibsWithMergeJniLibsForRelease'
                   transformResourcesWithMergeJavaResForDebug: task ':app:transformResourcesWithMergeJavaResForDebug'
                   transformResourcesWithMergeJavaResForDebugAndroidTest: task ':app:transformResourcesWithMergeJavaResForDebugAndroidTest'
                   transformResourcesWithMergeJavaResForDebugUnitTest: task ':app:transformResourcesWithMergeJavaResForDebugUnitTest'
                   transformResourcesWithMergeJavaResForDynamicProfile: task ':app:transformResourcesWithMergeJavaResForDynamicProfile'
                   transformResourcesWithMergeJavaResForDynamicProfileUnitTest: task ':app:transformResourcesWithMergeJavaResForDynamicProfileUnitTest'
                   transformResourcesWithMergeJavaResForDynamicRelease: task ':app:transformResourcesWithMergeJavaResForDynamicRelease'
                   transformResourcesWithMergeJavaResForDynamicReleaseUnitTest: task ':app:transformResourcesWithMergeJavaResForDynamicReleaseUnitTest'
                   transformResourcesWithMergeJavaResForProfile: task ':app:transformResourcesWithMergeJavaResForProfile'
                   transformResourcesWithMergeJavaResForProfileUnitTest: task ':app:transformResourcesWithMergeJavaResForProfileUnitTest'
                   transformResourcesWithMergeJavaResForRelease: task ':app:transformResourcesWithMergeJavaResForRelease'
                   transformResourcesWithMergeJavaResForReleaseUnitTest: task ':app:transformResourcesWithMergeJavaResForReleaseUnitTest'
                   uninstallAll: task ':app:uninstallAll'
                   uninstallDebug: task ':app:uninstallDebug'
                   uninstallDebugAndroidTest: task ':app:uninstallDebugAndroidTest'
                   uninstallDynamicProfile: task ':app:uninstallDynamicProfile'
                   uninstallDynamicRelease: task ':app:uninstallDynamicRelease'
                   uninstallProfile: task ':app:uninstallProfile'
                   uninstallRelease: task ':app:uninstallRelease'
                   validateSigningDebug: task ':app:validateSigningDebug'
                   validateSigningDebugAndroidTest: task ':app:validateSigningDebugAndroidTest'
                   validateSigningDynamicProfile: task ':app:validateSigningDynamicProfile'
                   validateSigningDynamicRelease: task ':app:validateSigningDynamicRelease'
                   validateSigningProfile: task ':app:validateSigningProfile'
                   validateSigningRelease: task ':app:validateSigningRelease'
                   version: unspecified
                   writeDebugApplicationId: task ':app:writeDebugApplicationId'
                   writeDynamicProfileApplicationId: task ':app:writeDynamicProfileApplicationId'
                   writeDynamicReleaseApplicationId: task ':app:writeDynamicReleaseApplicationId'
                   writeProfileApplicationId: task ':app:writeProfileApplicationId'
                   writeReleaseApplicationId: task ':app:writeReleaseApplicationId'

                   BUILD SUCCESSFUL in 6s
                   1 actionable task: 1 executed
[  +98 ms] Resolving dependencies... (completed)
[   +1 ms] executing: /Users/user/Library/Android/sdk/build-tools/27.0.3/aapt dump xmltree /Users/user/Development/flutter/drawimage_bug/build/app/outputs/apk/app.apk AndroidManifest.xml
[  +17 ms] Exit code 0 from: /Users/user/Library/Android/sdk/build-tools/27.0.3/aapt dump xmltree /Users/user/Development/flutter/drawimage_bug/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: package="com.example.drawimagebug" (Raw: "com.example.drawimagebug")
               E: uses-sdk (line=7)
                 A: android:minSdkVersion(0x0101020c)=(type 0x10)0x10
                 A: android:targetSdkVersion(0x01010270)=(type 0x10)0x1b
               E: uses-permission (line=16)
                 A: android:name(0x01010003)="android.permission.INTERNET" (Raw: "android.permission.INTERNET")
               E: application (line=24)
                 A: android:label(0x01010001)="drawimage_bug" (Raw: "drawimage_bug")
                 A: android:icon(0x01010002)=@0x7f020000
                 A: android:name(0x01010003)="io.flutter.app.FlutterApplication" (Raw: "io.flutter.app.FlutterApplication")
                 A: android:debuggable(0x0101000f)=(type 0x12)0xffffffff
                 E: activity (line=29)
                   A: android:theme(0x01010000)=@0x7f030000
                   A: android:name(0x01010003)="com.example.drawimagebug.MainActivity" (Raw: "com.example.drawimagebug.MainActivity")
                   A: android:launchMode(0x0101001d)=(type 0x10)0x1
                   A: android:configChanges(0x0101001f)=(type 0x11)0x400035b4
                   A: android:windowSoftInputMode(0x0101022b)=(type 0x11)0x10
                   A: android:hardwareAccelerated(0x010102d3)=(type 0x12)0xffffffff
                   E: meta-data (line=43)
                     A: android:name(0x01010003)="io.flutter.app.android.SplashScreenUntilFirstFrame" (Raw: "io.flutter.app.android.SplashScreenUntilFirstFrame")
                     A: android:value(0x01010024)=(type 0x12)0xffffffff
                   E: intent-filter (line=47)
                     E: action (line=48)
                       A: android:name(0x01010003)="android.intent.action.MAIN" (Raw: "android.intent.action.MAIN")
                     E: category (line=50)
                       A: android:name(0x01010003)="android.intent.category.LAUNCHER" (Raw: "android.intent.category.LAUNCHER")
[  +15 ms] executing: /Users/user/Library/Android/sdk/platform-tools/adb -s emulator-5554 logcat -v time -t 1
[  +21 ms] Exit code 0 from: /Users/user/Library/Android/sdk/platform-tools/adb -s emulator-5554 logcat -v time -t 1
[        ] --------- beginning of main
           09-21 17:00:07.008 W/ctxmgr  ( 2669): [AclManager]No 2 for (accnt=account#-517948760#, com.google.android.gms(10021):IndoorOutdoorProducer, vrsn=12862000, 0, 3pPkg = null ,  3pMdlId = null ,  pid = 2669). Was: 3 for 57, account#-517948760#
[   +3 ms] executing: /Users/user/Library/Android/sdk/platform-tools/adb -s emulator-5554 logcat -v time
[ +460 ms] DependencyChecker: nothing is modified after 2018-09-21 16:31:38.019.
[   +3 ms] executing: /Users/user/Library/Android/sdk/platform-tools/adb version
[  +17 ms] Android Debug Bridge version 1.0.40
           Version 4986621
           Installed as /Users/user/Library/Android/sdk/platform-tools/adb
[   +3 ms] executing: /Users/user/Library/Android/sdk/platform-tools/adb start-server
[  +92 ms] Building APK
[  +19 ms] Running 'gradlew assembleDebug'...
[   +2 ms] executing: [/Users/user/Development/flutter/drawimage_bug/android/] /Users/user/Development/flutter/drawimage_bug/android/gradlew -Pverbose=true -Ptarget=/Users/user/Development/flutter/drawimage_bug/lib/main.dart -Pfilesystem-scheme=org-dartlang-root assembleDebug
[+2932 ms] :app:flutterBuildX86Jar
[        ] :app:preBuild UP-TO-DATE
[  +19 ms] :app:preDebugBuild UP-TO-DATE
[        ] :app:compileDebugAidl UP-TO-DATE
[  +10 ms] :app:compileDebugRenderscript UP-TO-DATE
[   +9 ms] :app:checkDebugManifest UP-TO-DATE
[        ] :app:generateDebugBuildConfig UP-TO-DATE
[        ] :app:prepareLintJar UP-TO-DATE
[  +10 ms] :app:cleanMergeDebugAssets
[ +673 ms] :app:flutterBuildDebug
[        ] [  +13 ms] executing: [/Users/user/Development/flutter/flutter/] git rev-parse --abbrev-ref --symbolic @{u}
[  +45 ms] [  +59 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{u}
[        ] [        ] origin/beta
[        ] [        ] executing: [/Users/user/Development/flutter/flutter/] git rev-parse --abbrev-ref HEAD
[  +11 ms] [  +12 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD
[        ] [        ] beta
[        ] [        ] executing: [/Users/user/Development/flutter/flutter/] git ls-remote --get-url origin
[  +10 ms] [  +10 ms] Exit code 0 from: git ls-remote --get-url origin
[        ] [        ] https://github.com/flutter/flutter.git
[        ] [        ] executing: [/Users/user/Development/flutter/flutter/] git log -n 1 --pretty=format:%H
[  +10 ms] [  +11 ms] Exit code 0 from: git log -n 1 --pretty=format:%H
[        ] [        ] 5ab9e70727d858def3a586db7fb98ee580352957
[        ] [        ] executing: [/Users/user/Development/flutter/flutter/] git log -n 1 --pretty=format:%ar
[  +11 ms] [  +11 ms] Exit code 0 from: git log -n 1 --pretty=format:%ar
[        ] [        ] 2 weeks ago
[        ] [   +1 ms] executing: [/Users/user/Development/flutter/flutter/] git describe --match v*.*.* --first-parent --long --tags
[  +10 ms] [  +13 ms] Exit code 0 from: git describe --match v*.*.* --first-parent --long --tags
[        ] [        ] v0.8.2-0-g5ab9e7072
[ +661 ms] [ +658 ms] Skipping kernel compilation. Fingerprint match.
[ +217 ms] [ +214 ms] Building bundle
[        ] [   +1 ms] Writing asset files to /Users/user/Development/flutter/drawimage_bug/build/app/intermediates/flutter/debug/flutter_assets
[  +46 ms] [  +50 ms] Wrote /Users/user/Development/flutter/drawimage_bug/build/app/intermediates/flutter/debug/flutter_assets
[  +11 ms] [   +9 ms] "flutter bundle" took 780ms.
[ +123 ms] :app:mergeDebugShaders UP-TO-DATE
[  +11 ms] :app:compileDebugShaders UP-TO-DATE
[        ] :app:generateDebugAssets UP-TO-DATE
[ +236 ms] :app:mergeDebugAssets
[ +206 ms] :app:copyFlutterAssetsDebug
[  +11 ms] :app:mainApkListPersistenceDebug UP-TO-DATE
[        ] :app:generateDebugResValues UP-TO-DATE
[        ] :app:generateDebugResources UP-TO-DATE
[  +10 ms] :app:mergeDebugResources UP-TO-DATE
[        ] :app:createDebugCompatibleScreenManifests UP-TO-DATE
[  +10 ms] :app:processDebugManifest UP-TO-DATE
[        ] :app:splitsDiscoveryTaskDebug UP-TO-DATE
[        ] :app:processDebugResources UP-TO-DATE
[        ] :app:generateDebugSources UP-TO-DATE
[ +370 ms] :app:javaPreCompileDebug UP-TO-DATE
[ +313 ms] :app:compileDebugJavaWithJavac UP-TO-DATE
[        ] :app:compileDebugNdk NO-SOURCE
[        ] :app:compileDebugSources UP-TO-DATE
[ +204 ms] :app:transformClassesWithDexBuilderForDebug
[        ] :app:transformDexArchiveWithExternalLibsDexMergerForDebug UP-TO-DATE
[  +10 ms] :app:transformDexArchiveWithDexMergerForDebug UP-TO-DATE
[        ] :app:mergeDebugJniLibFolders UP-TO-DATE
[ +308 ms] :app:transformNativeLibsWithMergeJniLibsForDebug
[        ] :app:processDebugJavaRes NO-SOURCE
[ +214 ms] :app:transformResourcesWithMergeJavaResForDebug
[        ] :app:validateSigningDebug UP-TO-DATE
[  +11 ms] :app:packageDebug UP-TO-DATE
[        ] :app:assembleDebug UP-TO-DATE
[  +10 ms] BUILD SUCCESSFUL in 6s
[        ] 30 actionable tasks: 8 executed, 22 up-to-date
[ +376 ms] Running 'gradlew assembleDebug'... (completed)
[  +41 ms] calculateSha: LocalDirectory: '/Users/user/Development/flutter/drawimage_bug/build/app/outputs/apk'/app.apk
[ +396 ms] Built build/app/outputs/apk/debug/app-debug.apk.
[        ] executing: /Users/user/Library/Android/sdk/build-tools/27.0.3/aapt dump xmltree /Users/user/Development/flutter/drawimage_bug/build/app/outputs/apk/app.apk AndroidManifest.xml
[  +10 ms] Exit code 0 from: /Users/user/Library/Android/sdk/build-tools/27.0.3/aapt dump xmltree /Users/user/Development/flutter/drawimage_bug/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: package="com.example.drawimagebug" (Raw: "com.example.drawimagebug")
               E: uses-sdk (line=7)
                 A: android:minSdkVersion(0x0101020c)=(type 0x10)0x10
                 A: android:targetSdkVersion(0x01010270)=(type 0x10)0x1b
               E: uses-permission (line=16)
                 A: android:name(0x01010003)="android.permission.INTERNET" (Raw: "android.permission.INTERNET")
               E: application (line=24)
                 A: android:label(0x01010001)="drawimage_bug" (Raw: "drawimage_bug")
                 A: android:icon(0x01010002)=@0x7f020000
                 A: android:name(0x01010003)="io.flutter.app.FlutterApplication" (Raw: "io.flutter.app.FlutterApplication")
                 A: android:debuggable(0x0101000f)=(type 0x12)0xffffffff
                 E: activity (line=29)
                   A: android:theme(0x01010000)=@0x7f030000
                   A: android:name(0x01010003)="com.example.drawimagebug.MainActivity" (Raw: "com.example.drawimagebug.MainActivity")
                   A: android:launchMode(0x0101001d)=(type 0x10)0x1
                   A: android:configChanges(0x0101001f)=(type 0x11)0x400035b4
                   A: android:windowSoftInputMode(0x0101022b)=(type 0x11)0x10
                   A: android:hardwareAccelerated(0x010102d3)=(type 0x12)0xffffffff
                   E: meta-data (line=43)
                     A: android:name(0x01010003)="io.flutter.app.android.SplashScreenUntilFirstFrame" (Raw: "io.flutter.app.android.SplashScreenUntilFirstFrame")
                     A: android:value(0x01010024)=(type 0x12)0xffffffff
                   E: intent-filter (line=47)
                     E: action (line=48)
                       A: android:name(0x01010003)="android.intent.action.MAIN" (Raw: "android.intent.action.MAIN")
                     E: category (line=50)
                       A: android:name(0x01010003)="android.intent.category.LAUNCHER" (Raw: "android.intent.category.LAUNCHER")
[   +9 ms] Stopping app 'app.apk' on Android SDK built for x86.
[        ] executing: /Users/user/Library/Android/sdk/platform-tools/adb -s emulator-5554 shell am force-stop com.example.drawimagebug
[ +123 ms] executing: /Users/user/Library/Android/sdk/platform-tools/adb -s emulator-5554 shell pm list packages com.example.drawimagebug
[  +50 ms] package:com.example.drawimagebug
[   +5 ms] executing: /Users/user/Library/Android/sdk/platform-tools/adb -s emulator-5554 shell cat /data/local/tmp/sky.com.example.drawimagebug.sha1
[  +47 ms] 35c02288580c5d59eecc399410347a68f0554e85
[   +1 ms] Latest build already installed.
[        ] Android SDK built for x86 startApp
[   +1 ms] executing: /Users/user/Library/Android/sdk/platform-tools/adb -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 com.example.drawimagebug/com.example.drawimagebug.MainActivity
[ +140 ms] Starting: Intent { act=android.intent.action.RUN flg=0x20000000 cmp=com.example.drawimagebug/.MainActivity (has extras) }
[        ] Waiting for observatory port to be available...
[ +785 ms] Observatory URL on device: http://127.0.0.1:43219/
[   +1 ms] executing: /Users/user/Library/Android/sdk/platform-tools/adb -s emulator-5554 forward tcp:0 tcp:43219
[  +11 ms] 65173
[        ] Forwarded host port 65173 to device port 43219 for Observatory
[   +8 ms] Connecting to service protocol: http://127.0.0.1:65173/
[ +288 ms] Successfully connected to service protocol: http://127.0.0.1:65173/
[   +4 ms] getVM: {}
[  +14 ms] getIsolate: {isolateId: isolates/541649131}
[   +6 ms] _flutter.listViews: {isolateId: isolates/541649131}
[  +51 ms] DevFS: Creating new filesystem on the device (null)
[   +1 ms] _createDevFS: {fsName: drawimage_bug}
[  +25 ms] DevFS: Created new filesystem on the device (file:///data/user/0/com.example.drawimagebug/cache/drawimage_bugEXQGSY/drawimage_bug/)
[   +1 ms] Updating assets
[ +253 ms] Syncing files to device Android SDK built for x86...
[   +4 ms] DevFS: Starting sync from LocalDirectory: '/Users/user/Development/flutter/drawimage_bug'
[        ] Scanning project files
[   +7 ms] Scanning package files
[ +167 ms] Scanning asset files
[   +1 ms] Scanning for deleted files
[  +16 ms] Compiling dart to kernel with 433 updated files
[  +12 ms] /Users/user/Development/flutter/flutter/bin/cache/dart-sdk/bin/dart /Users/user/Development/flutter/flutter/bin/cache/artifacts/engine/darwin-x64/frontend_server.dart.snapshot --sdk-root /Users/user/Development/flutter/flutter/bin/cache/artifacts/engine/common/flutter_patched_sdk/ --incremental --strong --target=flutter --output-dill build/app.dill --packages /Users/user/Development/flutter/drawimage_bug/.packages --filesystem-scheme org-dartlang-root
[   +5 ms] I/OpenGLRenderer( 5559): Davey! duration=721ms; Flags=1, IntendedVsync=1772342006693, Vsync=1772558673351, OldestInputEvent=9223372036854775807, NewestInputEvent=0, HandleInputStart=1772559290012, AnimationStart=1772559310266, PerformTraversalsStart=1772559311961, DrawStart=1772567826256, SyncQueued=1772568608333, SyncStart=1772569722697, IssueDrawCommandsStart=1772571377067, SwapBuffers=1772606711386, FrameCompleted=1773064369877, DequeueBufferDuration=27459000, QueueBufferDuration=2282000,
[ +109 ms] D/        ( 5559): HostConnection::get() New Host Connection established 0xd67deb00, tid 5583
[   +2 ms] D/EGL_emulation( 5559): eglMakeCurrent: 0xe9a04bc0: ver 3 0 (tinfo 0xe952ced0)
[+1369 ms] Updating files
[ +666 ms] DevFS: Sync finished
[        ] Syncing files to device Android SDK built for x86... (completed)
[        ] Synced 14.5MB.
[   +1 ms] _flutter.listViews: {isolateId: isolates/541649131}
[   +7 ms] Connected to _flutterView/0xf123760c.
[        ] 🔥  To hot reload changes while running, press "r". To hot restart (and rebuild state), press "R".
[        ] An Observatory debugger and profiler on Android SDK built for x86 is available at: http://127.0.0.1:65173/
[        ] For a more detailed help message, press "h". To detach, press "d"; to quit, press "q".

[user:...pment/flutter/drawimage_bug]$ flutter analyze                                                                                                                                                                                                                                                    (master✱)
Analyzing drawimage_bug...
No issues found! (ran in 1.3s)
[user:...pment/flutter/drawimage_bug]$ flutter doctor --verbose                                                                                                                                                                                                                                           (master✱)
[✓] Flutter (Channel beta, v0.8.2, on Mac OS X 10.13.6 17G65, locale en-GB)
    • Flutter version 0.8.2 at /Users/user/Development/flutter/flutter
    • Framework revision 5ab9e70727 (2 weeks ago), 2018-09-07 12:33:05 -0700
    • Engine revision 58a1894a1c
    • Dart version 2.1.0-dev.3.1.flutter-760a9690c2

[✓] Android toolchain - develop for Android devices (Android SDK 27.0.3)
    • Android SDK at /Users/user/Library/Android/sdk
    • Android NDK location not configured (optional; useful for native profiling support)
    • Platform android-28, build-tools 27.0.3
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1024-b01)
    • All Android licenses accepted.

[!] iOS toolchain - develop for iOS devices (Xcode 9.4.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 9.4.1, Build version 9F2000
    ✗ ideviceinstaller is not installed; this is used to discover connected iOS devices.
      To install, run:
        brew install --HEAD libimobiledevice
        brew install ideviceinstaller
    • ios-deploy 1.9.2
    ✗ CocoaPods not installed.
        CocoaPods is used to retrieve the iOS platform side's plugin code that responds to your plugin usage on the Dart side.
        Without resolving iOS dependencies with CocoaPods, plugins will not work on iOS.
        For more info, see https://flutter.io/platform-plugins
      To install:
        brew install cocoapods
        pod setup

[✓] Android Studio (version 3.1)
    • Android Studio at /Applications/Android Studio.app/Contents
    ✗ Flutter plugin not installed; this adds Flutter specific functionality.
    ✗ Dart plugin not installed; this adds Dart specific functionality.
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1024-b01)

[✓] VS Code (version 1.27.2)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 2.18.0

[✓] Connected devices (1 available)
    • Android SDK built for x86 • emulator-5554 • android-x86 • Android 9 (API 28) (emulator)

! Doctor found issues in 1 category.

Metadata

Metadata

Assignees

No one assigned

    Labels

    engineflutter/engine related. See also e: labels.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions