Skip to content

Row / Column items fail to render after RaisedButton #18713

@andreidiaconu

Description

@andreidiaconu

Steps to Reproduce

Simple version: If I include a RaisedButton in a Row, all elements following that RaisedButton will no longer render.

screenshot_1529662635

More elaborate version:

  • I have put together a demo project - It demonstrates both how a RaisedButton will cause all next elements to stop rendering on it's Row and in the parent Column. Basically nothing gets rendered after the RaisedButton.
  • After a bit of investigation, I found that the problem seems to be adding a Material with borderRadius to the Row. I think the RaisedButton also contains such a rounded material to provide the ripple effect on the button.
  • This was not happening on Flutter 0.5.5-pre.25 - channel master (a week ago) but is happening on Flutter v0.5.6-pre.51 (latest master)
/// Was not happening on Flutter 0.5.5-pre.25 • channel master
/// Framework • revision 86ed141bef (7 days ago) • 2018-06-21 22:22:59 -0700
/// Engine • revision 549c855e89
/// Tools • Dart 2.0.0-dev.61.0.flutter-c95617b19c
/// But is happening on Flutter v0.5.6-pre.51,
class RowMaterialBugA extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return Row(
      textDirection: TextDirection.ltr,
      mainAxisAlignment: MainAxisAlignment.start,
      children: <Widget>[
        Container(color: Colors.green, width: 100.0, height: 100.0,),
        Material(borderRadius: BorderRadius.circular(3.0), child: Container(width: 100.0, height:100.0),),
        Container(color: Colors.red, width: 100.0, height: 100.0,),
        Container(color: Colors.blue, width: 100.0, height: 100.0,),
      ],
    );
  }
}

Please consult https://github.com/andreidiaconu/flutter-toimage-bugs/blob/master/lib/main.dart for a working demo.

Logs

Last login: Thu Jun 21 16:13:37 on ttys001
Andreis-MBP-3:~ andrei$ cd FlutterProjects/toimagebugs/
Andreis-MBP-3:toimagebugs andrei$ flutter run --verbose
[  +32 ms] [/Users/andrei/Library/Android/flutter/] git rev-parse --abbrev-ref --symbolic @{u}
[  +36 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{u}
[        ] origin/master
[        ] [/Users/andrei/Library/Android/flutter/] git rev-parse --abbrev-ref HEAD
[  +11 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD
[        ] master
[        ] [/Users/andrei/Library/Android/flutter/] git ls-remote --get-url origin
[  +11 ms] Exit code 0 from: git ls-remote --get-url origin
[        ] https://github.com/flutter/flutter.git
[        ] [/Users/andrei/Library/Android/flutter/] git log -n 1 --pretty=format:%H
[  +13 ms] Exit code 0 from: git log -n 1 --pretty=format:%H
[        ] f5f055113ad92836985f36d4adabddb6a22e2c5c
[        ] [/Users/andrei/Library/Android/flutter/] git log -n 1 --pretty=format:%ar
[  +13 ms] Exit code 0 from: git log -n 1 --pretty=format:%ar
[        ] 5 hours ago
[        ] [/Users/andrei/Library/Android/flutter/] git describe --match v*.*.* --first-parent --long --tags
[  +23 ms] Exit code 0 from: git describe --match v*.*.* --first-parent --long --tags
[        ] v0.5.5-51-gf5f055113
[ +202 ms] /usr/bin/defaults read /Applications/Android Studio.app/Contents/Info CFBundleShortVersionString
[  +70 ms] Exit code 0 from: /usr/bin/defaults read /Applications/Android Studio.app/Contents/Info CFBundleShortVersionString
[        ] 3.0
[ +120 ms] /Users/andrei/Library/Android/sdk/platform-tools/adb devices -l
[   +7 ms] Exit code 0 from: /Users/andrei/Library/Android/sdk/platform-tools/adb devices -l
[        ] List of devices attached
           emulator-5554          device product:sdk_google_phone_x86_64 model:Android_SDK_built_for_x86_64 device:generic_x86_64 transport_id:6
[  +10 ms] idevice_id -h
[ +294 ms] /usr/bin/xcrun simctl list --json devices
[ +294 ms] /Users/andrei/Library/Android/sdk/platform-tools/adb -s emulator-5554 shell getprop
[  +25 ms] ro.hardware = ranchu
[  +18 ms] Using hardware rendering with device Android SDK built for x86 64. If you get graphics artifacts, consider enabling software rendering with "--enable-software-rendering".
[ +648 ms] Launching lib/main.dart on Android SDK built for x86 64 in debug mode...
[   +6 ms] Initializing gradle...
[   +8 ms] Using gradle from /Users/andrei/FlutterProjects/toimagebugs/android/gradlew.
[  +43 ms] /usr/bin/defaults read /Applications/Android Studio.app/Contents/Info CFBundleShortVersionString
[  +66 ms] Exit code 0 from: /usr/bin/defaults read /Applications/Android Studio.app/Contents/Info CFBundleShortVersionString
[        ] 3.0
[  +85 ms] /Users/andrei/FlutterProjects/toimagebugs/android/gradlew -v
[ +650 ms] 
                   ------------------------------------------------------------
                   Gradle 4.1
                   ------------------------------------------------------------
                   
                   Build time:   2017-08-07 14:38:48 UTC
                   Revision:     941559e020f6c357ebb08d5c67acdb858a3defc2
                   
                   Groovy:       2.4.11
                   Ant:          Apache Ant(TM) version 1.9.6 compiled on June 29 2015
                   JVM:          1.8.0_152-release (JetBrains s.r.o 25.152-b08)
                   OS:           Mac OS X 10.13.5 x86_64
[  +26 ms] Resolving dependencies...
[        ] [android/] /Users/andrei/FlutterProjects/toimagebugs/android/gradlew app:properties
[ +714 ms] Parallel execution with configuration on demand is an incubating feature.
                   :app:properties
                   
                   ------------------------------------------------------------
                   Project :app
                   ------------------------------------------------------------
                   
                   allprojects: [project ':app']
                   android: com.android.build.gradle.AppExtension_Decorated@2ab8473
                   androidDependencies: task ':app:androidDependencies'
                   ant: org.gradle.api.internal.project.DefaultAntBuilder@1ae28809
                   antBuilderFactory: org.gradle.api.internal.project.DefaultAntBuilderFactory@7a201504
                   archivesBaseName: app
                   artifacts: org.gradle.api.internal.artifacts.dsl.DefaultArtifactHandler_Decorated@4bacb886
                   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'
                   assembleProfile: task ':app:assembleProfile'
                   assembleProfileUnitTest: task ':app:assembleProfileUnitTest'
                   assembleRelease: task ':app:assembleRelease'
                   assembleReleaseUnitTest: task ':app:assembleReleaseUnitTest'
                   baseClassLoaderScope: org.gradle.api.internal.initialization.DefaultClassLoaderScope@157a359c
                   buildDependents: task ':app:buildDependents'
                   buildDir: /Users/andrei/FlutterProjects/toimagebugs/build/app
                   buildFile: /Users/andrei/FlutterProjects/toimagebugs/android/app/build.gradle
                   buildNeeded: task ':app:buildNeeded'
                   buildOutputs: BaseVariantOutput container
                   buildScriptSource: org.gradle.groovy.scripts.UriScriptSource@1b5645fa
                   buildscript: org.gradle.api.internal.initialization.DefaultScriptHandler@6124fba1
                   bundleAppClassesDebug: task ':app:bundleAppClassesDebug'
                   bundleAppClassesDebugAndroidTest: task ':app:bundleAppClassesDebugAndroidTest'
                   bundleAppClassesDebugUnitTest: task ':app:bundleAppClassesDebugUnitTest'
                   bundleAppClassesProfile: task ':app:bundleAppClassesProfile'
                   bundleAppClassesProfileUnitTest: task ':app:bundleAppClassesProfileUnitTest'
                   bundleAppClassesRelease: task ':app:bundleAppClassesRelease'
                   bundleAppClassesReleaseUnitTest: task ':app:bundleAppClassesReleaseUnitTest'
                   check: task ':app:check'
                   checkDebugManifest: task ':app:checkDebugManifest'
                   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@4fe2078b
                   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'
                   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@b700d3e
                   configurationTargetIdentifier: org.gradle.configuration.ConfigurationTargetIdentifier$1@22a0e03f
                   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@649ffe39
                   copyFlutterAssetsDebug: task ':app:copyFlutterAssetsDebug'
                   copyFlutterAssetsProfile: task ':app:copyFlutterAssetsProfile'
                   copyFlutterAssetsRelease: task ':app:copyFlutterAssetsRelease'
                   createDebugCompatibleScreenManifests: task ':app:createDebugCompatibleScreenManifests'
                   createProfileCompatibleScreenManifests: task ':app:createProfileCompatibleScreenManifests'
                   createReleaseCompatibleScreenManifests: task ':app:createReleaseCompatibleScreenManifests'
                   defaultArtifacts: org.gradle.api.internal.plugins.DefaultArtifactPublicationSet_Decorated@3b1e737e
                   defaultTasks: []
                   deferredProjectConfiguration: org.gradle.api.internal.project.DeferredProjectConfiguration@308c90de
                   dependencies: org.gradle.api.internal.artifacts.dsl.dependencies.DefaultDependencyHandler_Decorated@15883fe8
                   depth: 1
                   description: null
                   deviceAndroidTest: task ':app:deviceAndroidTest'
                   deviceCheck: task ':app:deviceCheck'
                   displayName: project ':app'
                   distsDir: /Users/andrei/FlutterProjects/toimagebugs/build/app/distributions
                   distsDirName: distributions
                   docsDir: /Users/andrei/FlutterProjects/toimagebugs/build/app/docs
                   docsDirName: docs
                   ext: org.gradle.api.internal.plugins.DefaultExtraPropertiesExtension@e7d6556
                   extensions: org.gradle.api.internal.plugins.DefaultConvention@649ffe39
                   extractProguardFiles: task ':app:extractProguardFiles'
                   fileOperations: org.gradle.api.internal.file.DefaultFileOperations@46307264
                   fileResolver: org.gradle.api.internal.file.BaseDirFileResolver@12ee101c
                   flutter: FlutterExtension_Decorated@46cd0ad6
                   flutterBuildDebug: task ':app:flutterBuildDebug'
                   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'
                   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@23ff908c
                   installDebug: task ':app:installDebug'
                   installDebugAndroidTest: task ':app:installDebugAndroidTest'
                   installProfile: task ':app:installProfile'
                   installRelease: task ':app:installRelease'
                   javaPreCompileDebug: task ':app:javaPreCompileDebug'
                   javaPreCompileDebugAndroidTest: task ':app:javaPreCompileDebugAndroidTest'
                   javaPreCompileDebugUnitTest: task ':app:javaPreCompileDebugUnitTest'
                   javaPreCompileProfile: task ':app:javaPreCompileProfile'
                   javaPreCompileProfileUnitTest: task ':app:javaPreCompileProfileUnitTest'
                   javaPreCompileRelease: task ':app:javaPreCompileRelease'
                   javaPreCompileReleaseUnitTest: task ':app:javaPreCompileReleaseUnitTest'
                   layout: org.gradle.api.internal.file.DefaultProjectLayout@669975c5
                   libsDir: /Users/andrei/FlutterProjects/toimagebugs/build/app/libs
                   libsDirName: libs
                   lint: task ':app:lint'
                   lintDebug: task ':app:lintDebug'
                   lintProfile: task ':app:lintProfile'
                   lintRelease: task ':app:lintRelease'
                   lintVitalRelease: task ':app:lintVitalRelease'
                   logger: org.gradle.internal.logging.slf4j.OutputEventListenerBackedLogger@39005657
                   logging: org.gradle.internal.logging.services.DefaultLoggingManager@415e7fa
                   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'
                   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@2a20d614
                   modelSchemaStore: org.gradle.model.internal.manage.schema.extract.DefaultModelSchemaStore@175b24e6
                   module: org.gradle.api.internal.artifacts.ProjectBackedModule@926c500
                   name: app
                   ndk.path: /Users/andrei/Library/Android/android-ndk-r10e
                   normalization: org.gradle.normalization.internal.DefaultInputNormalizationHandler_Decorated@7504582c
                   objects: org.gradle.api.internal.model.DefaultObjectFactory@448f62ed
                   org.gradle.configureondemand: true
                   org.gradle.daemon: true
                   org.gradle.jvmargs: -Xmx1536M
                   org.gradle.parallel: true
                   packageDebug: task ':app:packageDebug'
                   packageDebugAndroidTest: task ':app:packageDebugAndroidTest'
                   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@589e3c14
                   plugins: [org.gradle.api.plugins.HelpTasksPlugin@1b654709, com.android.build.gradle.api.AndroidBasePlugin@4aa5cab5, org.gradle.language.base.plugins.LifecycleBasePlugin@2fd795ab, org.gradle.api.plugins.BasePlugin@2cae4e74, org.gradle.api.plugins.ReportingBasePlugin@1fbb34f6, org.gradle.platform.base.plugins.ComponentBasePlugin@53127012, org.gradle.language.base.plugins.LanguageBasePlugin@15c8f202, org.gradle.platform.base.plugins.BinaryBasePlugin@6b4c378e, org.gradle.api.plugins.JavaBasePlugin@329a2ef, com.android.build.gradle.internal.coverage.JacocoPlugin@46e00b17, com.android.build.gradle.AppPlugin@3162b5c8, FlutterPlugin@7294b483]
                   preBuild: task ':app:preBuild'
                   preDebugAndroidTestBuild: task ':app:preDebugAndroidTestBuild'
                   preDebugBuild: task ':app:preDebugBuild'
                   preDebugUnitTestBuild: task ':app:preDebugUnitTestBuild'
                   preProfileBuild: task ':app:preProfileBuild'
                   preProfileUnitTestBuild: task ':app:preProfileUnitTestBuild'
                   preReleaseBuild: task ':app:preReleaseBuild'
                   preReleaseUnitTestBuild: task ':app:preReleaseUnitTestBuild'
                   prepareLintJar: task ':app:prepareLintJar'
                   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'
                   processOperations: org.gradle.api.internal.file.DefaultFileOperations@46307264
                   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@739f3aca
                   projectDir: /Users/andrei/FlutterProjects/toimagebugs/android/app
                   projectEvaluationBroadcaster: ProjectEvaluationListener broadcast
                   projectEvaluator: org.gradle.configuration.project.LifecycleProjectEvaluator@5f23c2db
                   projectPath: :app
                   projectRegistry: org.gradle.api.internal.project.DefaultProjectRegistry@8b1242b
                   properties: {...}
                   providers: org.gradle.api.internal.provider.DefaultProviderFactory@5d043246
                   reporting: org.gradle.api.reporting.ReportingExtension_Decorated@21e6d7b5
                   reportsDir: /Users/andrei/FlutterProjects/toimagebugs/build/app/reports
                   repositories: repository container
                   resolveConfigAttr: task ':app:resolveConfigAttr'
                   resources: org.gradle.api.internal.resources.DefaultResourceHandler@2ba5e029
                   rootDir: /Users/andrei/FlutterProjects/toimagebugs/android
                   rootProject: root project 'android'
                   scriptHandlerFactory: org.gradle.api.internal.initialization.DefaultScriptHandlerFactory@6a51da9c
                   scriptPluginFactory: org.gradle.configuration.ScriptPluginFactorySelector@6bc03b81
                   serviceRegistryFactory: org.gradle.internal.service.scopes.ProjectScopeServices$4@7c0c1233
                   services: ProjectScopeServices
                   signingReport: task ':app:signingReport'
                   sourceCompatibility: 1.8
                   sourceSets: SourceSet container
                   splitsDiscoveryTaskDebug: task ':app:splitsDiscoveryTaskDebug'
                   splitsDiscoveryTaskDebugAndroidTest: task ':app:splitsDiscoveryTaskDebugAndroidTest'
                   splitsDiscoveryTaskProfile: task ':app:splitsDiscoveryTaskProfile'
                   splitsDiscoveryTaskRelease: task ':app:splitsDiscoveryTaskRelease'
                   standardOutputCapture: org.gradle.internal.logging.services.DefaultLoggingManager@415e7fa
                   state: project state 'EXECUTED'
                   status: integration
                   subprojects: []
                   targetCompatibility: 1.8
                   tasks: task set
                   test: task ':app:test'
                   testDebugUnitTest: task ':app:testDebugUnitTest'
                   testProfileUnitTest: task ':app:testProfileUnitTest'
                   testReleaseUnitTest: task ':app:testReleaseUnitTest'
                   testReportDir: /Users/andrei/FlutterProjects/toimagebugs/build/app/reports/tests
                   testReportDirName: tests
                   testResultsDir: /Users/andrei/FlutterProjects/toimagebugs/build/app/test-results
                   testResultsDirName: test-results
                   transformClassesWithDexBuilderForDebug: task ':app:transformClassesWithDexBuilderForDebug'
                   transformClassesWithDexBuilderForDebugAndroidTest: task ':app:transformClassesWithDexBuilderForDebugAndroidTest'
                   transformClassesWithDexBuilderForProfile: task ':app:transformClassesWithDexBuilderForProfile'
                   transformClassesWithPreDexForRelease: task ':app:transformClassesWithPreDexForRelease'
                   transformDexArchiveWithDexMergerForDebug: task ':app:transformDexArchiveWithDexMergerForDebug'
                   transformDexArchiveWithDexMergerForDebugAndroidTest: task ':app:transformDexArchiveWithDexMergerForDebugAndroidTest'
                   transformDexArchiveWithDexMergerForProfile: task ':app:transformDexArchiveWithDexMergerForProfile'
                   transformDexArchiveWithExternalLibsDexMergerForDebug: task ':app:transformDexArchiveWithExternalLibsDexMergerForDebug'
                   transformDexArchiveWithExternalLibsDexMergerForDebugAndroidTest: task ':app:transformDexArchiveWithExternalLibsDexMergerForDebugAndroidTest'
                   transformDexArchiveWithExternalLibsDexMergerForProfile: task ':app:transformDexArchiveWithExternalLibsDexMergerForProfile'
                   transformDexWithDexForRelease: task ':app:transformDexWithDexForRelease'
                   transformNativeLibsWithMergeJniLibsForDebug: task ':app:transformNativeLibsWithMergeJniLibsForDebug'
                   transformNativeLibsWithMergeJniLibsForDebugAndroidTest: task ':app:transformNativeLibsWithMergeJniLibsForDebugAndroidTest'
                   transformNativeLibsWithMergeJniLibsForProfile: task ':app:transformNativeLibsWithMergeJniLibsForProfile'
                   transformNativeLibsWithMergeJniLibsForRelease: task ':app:transformNativeLibsWithMergeJniLibsForRelease'
                   transformResourcesWithMergeJavaResForDebug: task ':app:transformResourcesWithMergeJavaResForDebug'
                   transformResourcesWithMergeJavaResForDebugAndroidTest: task ':app:transformResourcesWithMergeJavaResForDebugAndroidTest'
                   transformResourcesWithMergeJavaResForDebugUnitTest: task ':app:transformResourcesWithMergeJavaResForDebugUnitTest'
                   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'
                   uninstallProfile: task ':app:uninstallProfile'
                   uninstallRelease: task ':app:uninstallRelease'
                   validateSigningDebug: task ':app:validateSigningDebug'
                   validateSigningDebugAndroidTest: task ':app:validateSigningDebugAndroidTest'
                   validateSigningProfile: task ':app:validateSigningProfile'
                   validateSigningRelease: task ':app:validateSigningRelease'
                   version: unspecified
                   writeDebugApplicationId: task ':app:writeDebugApplicationId'
                   writeProfileApplicationId: task ':app:writeProfileApplicationId'
                   writeReleaseApplicationId: task ':app:writeReleaseApplicationId'
                   
                   BUILD SUCCESSFUL in 0s
                   1 actionable task: 1 executed
[   +7 ms] /Users/andrei/Library/Android/sdk/build-tools/27.0.3/aapt dump badging build/app/outputs/apk/app.apk
[   +8 ms] Exit code 0 from: /Users/andrei/Library/Android/sdk/build-tools/27.0.3/aapt dump badging build/app/outputs/apk/app.apk
[        ] package: name='com.postmuseapp.toimagebugs' versionCode='1' versionName='1.0' platformBuildVersionName=''
           sdkVersion:'16'
           targetSdkVersion:'27'
           uses-permission: name='android.permission.INTERNET'
           application-label:'toimagebugs'
           application-icon-160:'res/mipmap-mdpi-v4/ic_launcher.png'
           application-icon-240:'res/mipmap-hdpi-v4/ic_launcher.png'
           application-icon-320:'res/mipmap-xhdpi-v4/ic_launcher.png'
           application-icon-480:'res/mipmap-xxhdpi-v4/ic_launcher.png'
           application-icon-640:'res/mipmap-xxxhdpi-v4/ic_launcher.png'
           application: label='toimagebugs' icon='res/mipmap-mdpi-v4/ic_launcher.png'
           application-debuggable
           launchable-activity: name='com.postmuseapp.toimagebugs.MainActivity'  label='' icon=''
           feature-group: label=''
             uses-feature: name='android.hardware.faketouch'
             uses-implied-feature: name='android.hardware.faketouch' reason='default feature for all apps'
           main
           supports-screens: 'small' 'normal' 'large' 'xlarge'
           supports-any-density: 'true'
           locales: '--_--'
           densities: '160' '240' '320' '480' '640'
           native-code: 'armeabi-v7a' 'x86' 'x86_64'
[   +5 ms] /Users/andrei/Library/Android/sdk/platform-tools/adb -s emulator-5554 logcat -v time -t 1
[  +17 ms] Exit code 0 from: /Users/andrei/Library/Android/sdk/platform-tools/adb -s emulator-5554 logcat -v time -t 1
[        ] --------- beginning of main
           06-22 13:15:31.654 I/SQLiteCastStore( 2246): [CastNetworkInfo] saved: 0, skipped: 0, [CastDeviceInfo]: saved 2, skipped 0, Paired Guest Mode DeviceInfo] saved: 0, skipped: 0. [ProbedNetworks]: save 0, skipped: 0
[   +3 ms] /Users/andrei/Library/Android/sdk/platform-tools/adb -s emulator-5554 logcat -v time
[ +399 ms] DependencyChecker: nothing is modified after 2018-06-22 13:14:03.411.
[   +3 ms] /Users/andrei/Library/Android/sdk/platform-tools/adb version
[  +13 ms] Android Debug Bridge version 1.0.40
           Version 4797878
           Installed as /Users/andrei/Library/Android/sdk/platform-tools/adb
[   +3 ms] /Users/andrei/Library/Android/sdk/platform-tools/adb start-server
[ +112 ms] Building APK
[  +13 ms] Running 'gradlew assembleDebug'...
[   +2 ms] [android/] /Users/andrei/FlutterProjects/toimagebugs/android/gradlew -Pverbose=true -Ptarget=/Users/andrei/FlutterProjects/toimagebugs/lib/main.dart -Ppreview-dart-2=true -Pfilesystem-scheme=org-dartlang-root assembleDebug
[ +809 ms] Parallel execution with configuration on demand is an incubating feature.
[  +90 ms] :app:preBuild UP-TO-DATE
[  +11 ms] :app:preDebugBuild UP-TO-DATE
[        ] :app:compileDebugAidl UP-TO-DATE
[        ] :app:compileDebugRenderscript UP-TO-DATE
[  +34 ms] :app:flutterBuildX86Jar UP-TO-DATE
[        ] :app:checkDebugManifest UP-TO-DATE
[        ] :app:generateDebugBuildConfig UP-TO-DATE
[        ] :app:prepareLintJar UP-TO-DATE
[  +10 ms] :app:cleanMergeDebugAssets
[  +68 ms] :app:flutterBuildDebug UP-TO-DATE
[        ] :app:mergeDebugShaders UP-TO-DATE
[        ] :app:compileDebugShaders UP-TO-DATE
[        ] :app:generateDebugAssets UP-TO-DATE
[        ] :app:mergeDebugAssets
[ +251 ms] :app:copyFlutterAssetsDebug
[        ] :app:generateDebugResValues UP-TO-DATE
[        ] :app:generateDebugResources UP-TO-DATE
[        ] :app:mergeDebugResources UP-TO-DATE
[        ] :app:createDebugCompatibleScreenManifests UP-TO-DATE
[        ] :app:processDebugManifest UP-TO-DATE
[  +10 ms] :app:splitsDiscoveryTaskDebug UP-TO-DATE
[        ] :app:processDebugResources UP-TO-DATE
[        ] :app:generateDebugSources UP-TO-DATE
[        ] :app:javaPreCompileDebug UP-TO-DATE
[        ] :app:compileDebugJavaWithJavac UP-TO-DATE
[        ] :app:compileDebugNdk NO-SOURCE
[        ] :app:compileDebugSources UP-TO-DATE
[  +45 ms] :app:transformClassesWithDexBuilderForDebug UP-TO-DATE
[        ] :app:transformDexArchiveWithExternalLibsDexMergerForDebug UP-TO-DATE
[        ] :app:transformDexArchiveWithDexMergerForDebug UP-TO-DATE
[        ] :app:mergeDebugJniLibFolders UP-TO-DATE
[        ] :app:transformNativeLibsWithMergeJniLibsForDebug UP-TO-DATE
[        ] :app:processDebugJavaRes NO-SOURCE
[   +9 ms] :app:transformResourcesWithMergeJavaResForDebug UP-TO-DATE
[        ] :app:validateSigningDebug
[  +11 ms] :app:packageDebug UP-TO-DATE
[        ] :app:assembleDebug UP-TO-DATE
[        ] BUILD SUCCESSFUL in 1s
[        ] 29 actionable tasks: 4 executed, 25 up-to-date
[ +465 ms] calculateSha: /Users/andrei/FlutterProjects/toimagebugs/build/app/outputs/apk/app.apk
[ +504 ms] Built build/app/outputs/apk/debug/app-debug.apk.
[        ] /Users/andrei/Library/Android/sdk/build-tools/27.0.3/aapt dump badging build/app/outputs/apk/app.apk
[  +10 ms] Exit code 0 from: /Users/andrei/Library/Android/sdk/build-tools/27.0.3/aapt dump badging build/app/outputs/apk/app.apk
[        ] package: name='com.postmuseapp.toimagebugs' versionCode='1' versionName='1.0' platformBuildVersionName=''
           sdkVersion:'16'
           targetSdkVersion:'27'
           uses-permission: name='android.permission.INTERNET'
           application-label:'toimagebugs'
           application-icon-160:'res/mipmap-mdpi-v4/ic_launcher.png'
           application-icon-240:'res/mipmap-hdpi-v4/ic_launcher.png'
           application-icon-320:'res/mipmap-xhdpi-v4/ic_launcher.png'
           application-icon-480:'res/mipmap-xxhdpi-v4/ic_launcher.png'
           application-icon-640:'res/mipmap-xxxhdpi-v4/ic_launcher.png'
           application: label='toimagebugs' icon='res/mipmap-mdpi-v4/ic_launcher.png'
           application-debuggable
           launchable-activity: name='com.postmuseapp.toimagebugs.MainActivity'  label='' icon=''
           feature-group: label=''
             uses-feature: name='android.hardware.faketouch'
             uses-implied-feature: name='android.hardware.faketouch' reason='default feature for all apps'
           main
           supports-screens: 'small' 'normal' 'large' 'xlarge'
           supports-any-density: 'true'
           locales: '--_--'
           densities: '160' '240' '320' '480' '640'
           native-code: 'armeabi-v7a' 'x86' 'x86_64'
[        ] Stopping app 'app.apk' on Android SDK built for x86 64.
[        ] /Users/andrei/Library/Android/sdk/platform-tools/adb -s emulator-5554 shell am force-stop com.postmuseapp.toimagebugs
[ +265 ms] /Users/andrei/Library/Android/sdk/platform-tools/adb -s emulator-5554 shell pm list packages com.postmuseapp.toimagebugs
[ +208 ms] package:com.postmuseapp.toimagebugs
[   +3 ms] /Users/andrei/Library/Android/sdk/platform-tools/adb -s emulator-5554 shell cat /data/local/tmp/sky.com.postmuseapp.toimagebugs.sha1
[  +13 ms] 58f3d5dd83b9562e8fae40aec498a4f2cd56732a
[        ] Latest build already installed.
[        ] Android SDK built for x86 64 startApp
[   +1 ms] /Users/andrei/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.postmuseapp.toimagebugs/com.postmuseapp.toimagebugs.MainActivity
[ +212 ms] Starting: Intent { act=android.intent.action.RUN flg=0x20000000 cmp=com.postmuseapp.toimagebugs/.MainActivity (has extras) }
[        ] Waiting for observatory port to be available...
[ +323 ms] Observatory URL on device: http://127.0.0.1:41225/
[  +11 ms] /Users/andrei/Library/Android/sdk/platform-tools/adb -s emulator-5554 forward tcp:8110 tcp:41225
[  +10 ms] Forwarded host port 8110 to device port 41225 for Observatory
[   +8 ms] Connecting to service protocol: http://127.0.0.1:8110/
[ +192 ms] Successfully connected to service protocol: http://127.0.0.1:8110/
[   +2 ms] getVM: {}
[  +10 ms] getIsolate: {isolateId: isolates/409514544}
[   +3 ms] _flutter.listViews: {isolateId: isolates/409514544}
[  +40 ms] DevFS: Creating new filesystem on the device (null)
[        ] _createDevFS: {fsName: toimagebugs}
[  +22 ms] D/EGL_emulation( 8334): eglMakeCurrent: 0x7e9d4cdbe560: ver 3 0 (tinfo 0x7e9d38bd50e0)
[  +20 ms] DevFS: Created new filesystem on the device (file:///data/user/0/com.postmuseapp.toimagebugs/cache/toimagebugsGTPWEW/toimagebugs/)
[   +1 ms] Updating assets
[  +62 ms] D/        ( 8334): HostConnection::get() New Host Connection established 0x7e9d4ae44d20, tid 8351
[        ] D/EGL_emulation( 8334): eglMakeCurrent: 0x7e9d4cdbea60: ver 3 0 (tinfo 0x7e9d4f80c400)
[ +175 ms] Syncing files to device Android SDK built for x86 64...
[   +5 ms] DevFS: Starting sync from LocalDirectory: '/Users/andrei/FlutterProjects/toimagebugs'
[        ] Scanning project files
[   +5 ms] Scanning package files
[ +142 ms] Scanning asset files
[        ] Scanning for deleted files
[  +12 ms] Compiling dart to kernel with 419 updated files
[   +5 ms] /Users/andrei/Library/Android/flutter/bin/cache/dart-sdk/bin/dart /Users/andrei/Library/Android/flutter/bin/cache/artifacts/engine/darwin-x64/frontend_server.dart.snapshot --sdk-root /Users/andrei/Library/Android/flutter/bin/cache/artifacts/engine/common/flutter_patched_sdk/ --incremental --strong --target=flutter --output-dill build/app.dill --packages /Users/andrei/FlutterProjects/toimagebugs/.packages --filesystem-scheme org-dartlang-root
[+1228 ms] Updating files
[ +692 ms] DevFS: Sync finished
[        ] Synced 15.2MB.
[   +1 ms] _flutter.listViews: {isolateId: isolates/409514544}
[   +6 ms] Connected to _flutterView/0x7e9d4cd87f98.
[        ] 🔥  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 64 is available at: http://127.0.0.1:8110/
[        ] For a more detailed help message, press "h". To quit, press "q".
[+4054 ms] DevFS: Deleting filesystem on the device (file:///data/user/0/com.postmuseapp.toimagebugs/cache/toimagebugsGTPWEW/toimagebugs/)
[        ] _deleteDevFS: {fsName: toimagebugs}
[   +8 ms] DevFS: Deleted filesystem on the device (file:///data/user/0/com.postmuseapp.toimagebugs/cache/toimagebugsGTPWEW/toimagebugs/)
[   +2 ms] ext.flutter.exit: {isolateId: isolates/409514544}
[  +88 ms] Service protocol connection closed.
[  +13 ms] Application finished.
[   +8 ms] "flutter run" took 14,043ms.
Andreis-MBP-3:toimagebugs andrei$ 
Analyzing toimagebugs...                                         
No issues found! (ran in 1.8s)
[✓] Flutter (Channel master, v0.5.6-pre.51, on Mac OS X 10.13.5 17F77, locale en-RO)
    • Flutter version 0.5.6-pre.51 at /Users/andrei/Library/Android/flutter
    • Framework revision f5f055113a (5 hours ago), 2018-06-21 22:22:59 -0700
    • Engine revision 549c855e89
    • Dart version 2.0.0-dev.63.0.flutter-4c9689c1d2

[✓] Android toolchain - develop for Android devices (Android SDK 27.0.3)
    • Android SDK at /Users/andrei/Library/Android/sdk
    • Android NDK location not configured (optional; useful for native profiling support)
    • Platform android-27, build-tools 27.0.3
    • ANDROID_HOME = /Users/andrei/Library/Android/sdk
    • 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-915-b08)
    • 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
    • ios-deploy 1.9.2
    • CocoaPods version 1.5.3

[✓] Android Studio (version 3.0)
    • 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-915-b08)

[✓] IntelliJ IDEA Community Edition (version 2018.1.5)
    • IntelliJ at /Applications/IntelliJ IDEA CE.app
    • Flutter plugin version 25.0.2
    • Dart plugin version 181.4892.1

[✓] Connected devices (1 available)
    • Android SDK built for x86 64 • emulator-5554 • android-x64 • Android 7.0 (API 24) (emulator)

• No issues found!

Metadata

Metadata

Assignees

Labels

f: material designflutter/packages/flutter/material repository.frameworkflutter/packages/flutter repository. See also f: labels.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions