Skip to content

[animations] OpenContainer should support Hero animations (Focal Elements). #51337

Description

@mat-sienczyk

Steps to Reproduce

  1. Copy https://github.com/flutter/packages/tree/master/packages/animations
  2. Open container_transition.dart in exmalpe app
  3. Wrap the same Image.asset into Hero widget with the same tag (both line 294 for _ExampleCard and 476 in _DetailsPage)
  4. Run the example app, enter the "Container transform" and tap the first card.

Expected results: Hero widget "flies" between screens with container animation as well.

Actual results: Hero animation does not work, only container animation is played.

Logs
Microsoft Windows [Version 10.0.18362.657]
nts\Repos\packages\packages\animations>flutter run --verbose
[  +23 ms] executing: [C:\Android\flutter/] git -c log.showSignature=false log -n 1 --pretty=format:%H
[ +102 ms] Exit code 0 from: git -c log.showSignature=false log -n 1 --pretty=format:%H
[   +2 ms] fabeb2a16f1d008ab8230f450c49141d35669798
[        ] executing: [C:\Android\flutter/] git describe --match v*.*.* --first-parent --long --tags
[ +119 ms] Exit code 0 from: git describe --match v*.*.* --first-parent --long --tags
[        ] v1.14.6-0-gfabeb2a16
[   +5 ms] executing: [C:\Android\flutter/] git rev-parse --abbrev-ref --symbolic @{u}
[  +39 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{u}
[        ] origin/beta
[        ] executing: [C:\Android\flutter/] git ls-remote --get-url origin
[  +43 ms] Exit code 0 from: git ls-remote --get-url origin
[        ] https://github.com/flutter/flutter.git
[  +75 ms] executing: [C:\Android\flutter/] git rev-parse --abbrev-ref HEAD
[  +34 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD
[        ] beta
[  +38 ms] Artifact Instance of 'AndroidMavenArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update.
[   +1 ms] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterWebSdk' is not required, skipping update.
[  +11 ms] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[  +31 ms] executing: C:\Android\sdk\platform-tools\adb.exe devices -l
[  +28 ms] Exit code 0 from: C:\Android\sdk\platform-tools\adb.exe devices -l
[   +1 ms] List of devices attached
           RF8M80G7PGZ            device product:beyond0lteeea model:SM_G970F device:beyond0 transport_id:23
[   +9 ms] C:\Android\sdk\platform-tools\adb.exe -s RF8M80G7PGZ shell getprop
[  +90 ms] Artifact Instance of 'AndroidMavenArtifacts' is not required, skipping update.
[   +9 ms] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterWebSdk' is not required, skipping update.
[   +2 ms] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update.
[   +1 ms] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[  +15 ms] "flutter run" took 281ms.
Target file "lib\main.dart" not found.

#0      FlutterCommand.validateCommand (package:flutter_tools/src/runner/flutter_command.dart:739:9)
#1      RunCommand.validateCommand (package:flutter_tools/src/commands/run.dart:320:19)
#2      FlutterCommand.verifyThenRunCommand (package:flutter_tools/src/runner/flutter_command.dart:619:11)
<asynchronous suspension>
#3      FlutterCommand.run.<anonymous closure> (package:flutter_tools/src/runner/flutter_command.dart:537:33)
<asynchronous suspension>
#4      AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:29)
#5      _rootRun (dart:async/zone.dart:1126:13)
#6      _CustomZone.run (dart:async/zone.dart:1023:19)
#7      _runZoned (dart:async/zone.dart:1518:10)
#8      runZoned (dart:async/zone.dart:1465:12)
#9      AppContext.run (package:flutter_tools/src/base/context.dart:149:18)
#10     FlutterCommand.run (package:flutter_tools/src/runner/flutter_command.dart:527:20)
#11     CommandRunner.runCommand (package:args/command_runner.dart:197:27)
#12     FlutterCommandRunner.runCommand.<anonymous closure> (package:flutter_tools/src/runner/flutter_command_runner.dart:338:21)
<asynchronous suspension>
#13     AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:29)
#14     _rootRun (dart:async/zone.dart:1126:13)
#15     _CustomZone.run (dart:async/zone.dart:1023:19)
#16     _runZoned (dart:async/zone.dart:1518:10)
#17     runZoned (dart:async/zone.dart:1465:12)
#18     AppContext.run (package:flutter_tools/src/base/context.dart:149:18)
#19     FlutterCommandRunner.runCommand (package:flutter_tools/src/runner/flutter_command_runner.dart:288:19)
#20     CommandRunner.run.<anonymous closure> (package:args/command_runner.dart:112:25)
#21     new Future.sync (dart:async/future.dart:224:31)
#22     CommandRunner.run (package:args/command_runner.dart:112:14)
#23     FlutterCommandRunner.run (package:flutter_tools/src/runner/flutter_command_runner.dart:231:18)
#24     run.<anonymous closure>.<anonymous closure> (package:flutter_tools/runner.dart:64:22)
#25     _rootRun (dart:async/zone.dart:1126:13)
#26     _CustomZone.run (dart:async/zone.dart:1023:19)
#27     _runZoned (dart:async/zone.dart:1518:10)
#28     runZoned (dart:async/zone.dart:1502:12)
#29     run.<anonymous closure> (package:flutter_tools/runner.dart:62:18)
<asynchronous suspension>
#30     AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:29)
#31     _rootRun (dart:async/zone.dart:1126:13)
#32     _CustomZone.run (dart:async/zone.dart:1023:19)
#33     _runZoned (dart:async/zone.dart:1518:10)
#34     runZoned (dart:async/zone.dart:1465:12)
#35     AppContext.run (package:flutter_tools/src/base/context.dart:149:18)
#36     runInContext (package:flutter_tools/src/context_runner.dart:64:24)
#37     run (package:flutter_tools/runner.dart:51:10)
#38     main (package:flutter_tools/executable.dart:65:9)
#39     main (file:///C:/Android/flutter/packages/flutter_tools/bin/flutter_tools.dart:8:3)
#40     _startIsolate.<anonymous closure> (dart:isolate-patch/isolate_patch.dart:299:32)
#41     _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:168:12)




C:\Users\msienczyk\Documents\Repos\packages\packages\animations>
C:\Users\msienczyk\Documents\Repos\packages\packages\animations>cd example

C:\Users\msienczyk\Documents\Repos\packages\packages\animations\example>flutter run --verbose
[  +22 ms] executing: [C:\Android\flutter/] git -c log.showSignature=false log -n 1 --pretty=format:%H
[  +71 ms] Exit code 0 from: git -c log.showSignature=false log -n 1 --pretty=format:%H
[        ] fabeb2a16f1d008ab8230f450c49141d35669798
[        ] executing: [C:\Android\flutter/] git describe --match v*.*.* --first-parent --long --tags
[  +67 ms] Exit code 0 from: git describe --match v*.*.* --first-parent --long --tags
[        ] v1.14.6-0-gfabeb2a16
[   +5 ms] executing: [C:\Android\flutter/] git rev-parse --abbrev-ref --symbolic @{u}
[  +37 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{u}
[        ] origin/beta
[        ] executing: [C:\Android\flutter/] git ls-remote --get-url origin
[  +42 ms] Exit code 0 from: git ls-remote --get-url origin
[        ] https://github.com/flutter/flutter.git
[  +66 ms] executing: [C:\Android\flutter/] git rev-parse --abbrev-ref HEAD
[  +30 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD
[        ] beta
[  +31 ms] Artifact Instance of 'AndroidMavenArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterWebSdk' is not required, skipping update.
[   +3 ms] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[  +33 ms] executing: C:\Android\sdk\platform-tools\adb.exe devices -l
[  +25 ms] Exit code 0 from: C:\Android\sdk\platform-tools\adb.exe devices -l
[        ] List of devices attached
           RF8M80G7PGZ            device product:beyond0lteeea model:SM_G970F device:beyond0 transport_id:23
[   +9 ms] C:\Android\sdk\platform-tools\adb.exe -s RF8M80G7PGZ shell getprop
[  +83 ms] Artifact Instance of 'AndroidMavenArtifacts' is not required, skipping update.
[   +3 ms] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterWebSdk' is not required, skipping update.
[   +2 ms] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[ +157 ms] Generating C:\Users\msienczyk\Documents\Repos\packages\packages\animations\example\android\app\src\main\java\io\flutter\plugins\GeneratedPluginRegistrant.java
[  +21 ms] ro.hardware = exynos9820
[        ] ro.build.characteristics = phone
[  +33 ms] Launching lib\main.dart on SM G970F in debug mode...
[   +8 ms] executing: C:\Android\sdk\build-tools\29.0.2\aapt dump xmltree C:\Users\msienczyk\Documents\Repos\packages\packages\animations\example\build\app\outputs\apk\app.apk AndroidManifest.xml
[  +22 ms] Exit code 0 from: C:\Android\sdk\build-tools\29.0.2\aapt dump xmltree C:\Users\msienczyk\Documents\Repos\packages\packages\animations\example\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)="0.0.1" (Raw: "0.0.1")
               A: android:compileSdkVersion(0x01010572)=(type 0x10)0x1c
               A: android:compileSdkVersionCodename(0x01010573)="9" (Raw: "9")
               A: package="dev.flutter.packages.animations.example" (Raw: "dev.flutter.packages.animations.example")
               A: platformBuildVersionCode=(type 0x10)0x1c
               A: platformBuildVersionName=(type 0x10)0x9
               E: uses-sdk (line=7)
                 A: android:minSdkVersion(0x0101020c)=(type 0x10)0x10
                 A: android:targetSdkVersion(0x01010270)=(type 0x10)0x1c
               E: uses-permission (line=14)
                 A: android:name(0x01010003)="android.permission.INTERNET" (Raw: "android.permission.INTERNET")
               E: application (line=22)
                 A: android:label(0x01010001)="example" (Raw: "example")
                 A: android:icon(0x01010002)=@0x7f080000
                 A: android:name(0x01010003)="io.flutter.app.FlutterApplication" (Raw: "io.flutter.app.FlutterApplication")
                 A: android:debuggable(0x0101000f)=(type 0x12)0xffffffff
                 A: android:appComponentFactory(0x0101057a)="androidx.core.app.CoreComponentFactory" (Raw: "androidx.core.app.CoreComponentFactory")
                 E: activity (line=28)
                   A: android:theme(0x01010000)=@0x7f0a0000
                   A: android:name(0x01010003)="dev.flutter.packages.animations.example.MainActivity" (Raw: "dev.flutter.packages.animations.example.MainActivity")
                   A: android:launchMode(0x0101001d)=(type 0x10)0x1
                   A: android:configChanges(0x0101001f)=(type 0x11)0x40003fb4
                   A: android:windowSoftInputMode(0x0101022b)=(type 0x11)0x10
                   A: android:hardwareAccelerated(0x010102d3)=(type 0x12)0xffffffff
                   E: intent-filter (line=35)
                     E: action (line=36)
                       A: android:name(0x01010003)="android.intent.action.MAIN" (Raw: "android.intent.action.MAIN")
                     E: category (line=38)
                       A: android:name(0x01010003)="android.intent.category.LAUNCHER" (Raw: "android.intent.category.LAUNCHER")
                 E: meta-data (line=45)
                   A: android:name(0x01010003)="flutterEmbedding" (Raw: "flutterEmbedding")
                   A: android:value(0x01010024)=(type 0x10)0x2
[   +5 ms] executing: C:\Android\sdk\platform-tools\adb.exe -s RF8M80G7PGZ shell -x logcat -v time -t 1
[ +120 ms] Exit code 0 from: C:\Android\sdk\platform-tools\adb.exe -s RF8M80G7PGZ shell -x logcat -v time -t 1
[        ] --------- beginning of main
           02-24 14:56:48.908 D/[DOP]ControlUtils(20151): [208:run] ConnDaemonInitThread  App start indication listening...
[   +5 ms] executing: C:\Android\sdk\platform-tools\adb.exe version
[   +1 ms] executing: C:\Android\sdk\platform-tools\adb.exe -s RF8M80G7PGZ logcat -v time -T 02-24 14:56:48.908
[  +98 ms] Android Debug Bridge version 1.0.41
           Version 29.0.5-5949299
           Installed as C:\Android\sdk\platform-tools\adb.exe
[   +2 ms] executing: C:\Android\sdk\platform-tools\adb.exe start-server
[  +26 ms] Building APK
[  +14 ms] Running Gradle task 'assembleDebug'...
[   +2 ms] gradle.properties already sets `android.enableR8`
[   +3 ms] Using gradle from C:\Users\msienczyk\Documents\Repos\packages\packages\animations\example\android\gradlew.bat.
[   +1 ms] C:\Users\msienczyk\Documents\Repos\packages\packages\animations\example\android\gradlew.bat mode: 33279 rwxrwxrwx.
[   +5 ms] executing: C:\Android\Android Studio\jre\bin\java -version
[  +99 ms] Exit code 0 from: C:\Android\Android Studio\jre\bin\java -version
[        ] openjdk version "1.8.0_202-release"
           OpenJDK Runtime Environment (build 1.8.0_202-release-1483-b03)
           OpenJDK 64-Bit Server VM (build 25.202-b03, mixed mode)
[   +2 ms] executing: [C:\Users\msienczyk\Documents\Repos\packages\packages\animations\example\android/] C:\Users\msienczyk\Documents\Repos\packages\packages\animations\example\android\gradlew.bat -Pverbose=true
-Ptarget=C:\Users\msienczyk\Documents\Repos\packages\packages\animations\example\lib\main.dart -Ptrack-widget-creation=true -Pfilesystem-scheme=org-dartlang-root -Ptarget-platform=android-arm64 assembleDebug
[+3911 ms] > Task :app:compileFlutterBuildDebug
[        ] [  +19 ms] executing: [C:\Android\flutter/] git -c log.showSignature=false log -n 1 --pretty=format:%H
[        ] [  +79 ms] Exit code 0 from: git -c log.showSignature=false log -n 1 --pretty=format:%H
[        ] [        ] fabeb2a16f1d008ab8230f450c49141d35669798
[        ] [        ] executing: [C:\Android\flutter/] git describe --match v*.*.* --first-parent --long --tags
[        ] [  +71 ms] Exit code 0 from: git describe --match v*.*.* --first-parent --long --tags
[        ] [        ] v1.14.6-0-gfabeb2a16
[        ] [   +5 ms] executing: [C:\Android\flutter/] git rev-parse --abbrev-ref --symbolic @{u}
[        ] [  +31 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{u}
[        ] [        ] origin/beta
[        ] [        ] executing: [C:\Android\flutter/] git ls-remote --get-url origin
[        ] [  +48 ms] Exit code 0 from: git ls-remote --get-url origin
[        ] [        ] https://github.com/flutter/flutter.git
[        ] [  +68 ms] executing: [C:\Android\flutter/] git rev-parse --abbrev-ref HEAD
[        ] [  +35 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD
[        ] [        ] beta
[        ] [  +16 ms] Artifact Instance of 'AndroidMavenArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'FlutterWebSdk' is not required, skipping update.
[        ] [   +2 ms] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[        ] [  +10 ms] Artifact Instance of 'MaterialFonts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'GradleWrapper' is not required, skipping update.
[        ] [        ] Artifact Instance of 'AndroidMavenArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'FlutterWebSdk' is not required, skipping update.
[        ] [        ] Artifact Instance of 'FlutterSdk' is not required, skipping update.
[        ] [        ] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[        ] [        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'FontSubsetArtifacts' is not required, skipping update.
[        ] [  +56 ms] Initializing file store
[        ] [  +15 ms] Done initializing file store
[ +268 ms] [+1301 ms] kernel_snapshot: Starting due to {InvalidatedReason.inputChanged}
[   +2 ms] [  +10 ms] C:\Android\flutter\bin\cache\dart-sdk\bin\dart.exe C:\Android\flutter\bin\cache\artifacts\engine\windows-x64\frontend_server.dart.snapshot --sdk-root C:\Android\flutter\bin\cache\artifacts\engine\common\flutter_patched_sdk/ --target=flutter
-Ddart.developer.causal_async_stacks=true -Ddart.vm.profile=false -Ddart.vm.product=false --bytecode-options=source-positions,local-var-info,debugger-stops,instance-field-initializers,keep-unreachable-code,avoid-closure-call-instructions --enable-asserts
--track-widget-creation --no-link-platform --packages C:\Users\msienczyk\Documents\Repos\packages\packages\animations\example\.packages --output-dill
C:\Users\msienczyk\Documents\Repos\packages\packages\animations\example\.dart_tool\flutter_build\dd90c711b07f76eb39b90d572d6164f7\app.dill --depfile
C:\Users\msienczyk\Documents\Repos\packages\packages\animations\example\.dart_tool\flutter_build\dd90c711b07f76eb39b90d572d6164f7\kernel_snapshot.d package:animations_example/main.dart
[+4698 ms] [+4699 ms] kernel_snapshot: Complete
[ +299 ms] [ +308 ms] debug_android_application: Starting due to {InvalidatedReason.inputChanged, InvalidatedReason.outputMissing}
[ +200 ms] [ +251 ms] debug_android_application: Complete
[   +1 ms] [  +13 ms] Persisting file store
[        ] [   +6 ms] Done persisting file store
[        ] [   +2 ms] build succeeded.
[  +96 ms] [  +10 ms] "flutter assemble" took 6 742ms.
[  +99 ms] > Task :app:packLibsflutterBuildDebug UP-TO-DATE
[   +1 ms] > Task :app:preBuild UP-TO-DATE
[        ] > Task :app:preDebugBuild UP-TO-DATE
[        ] > Task :app:checkDebugManifest UP-TO-DATE
[        ] > Task :app:generateDebugBuildConfig UP-TO-DATE
[        ] > Task :app:compileDebugRenderscript NO-SOURCE
[        ] > Task :app:compileDebugAidl NO-SOURCE
[        ] > Task :app:cleanMergeDebugAssets
[  +96 ms] > Task :app:mergeDebugShaders UP-TO-DATE
[        ] > Task :app:compileDebugShaders UP-TO-DATE
[        ] > Task :app:generateDebugAssets UP-TO-DATE
[        ] > Task :app:mergeDebugAssets
[ +196 ms] > Task :app:copyFlutterAssetsDebug
[        ] > Task :app:mainApkListPersistenceDebug UP-TO-DATE
[        ] > Task :app:generateDebugResValues UP-TO-DATE
[        ] > Task :app:generateDebugResources UP-TO-DATE
[        ] > Task :app:mergeDebugResources UP-TO-DATE
[        ] > Task :app:createDebugCompatibleScreenManifests UP-TO-DATE
[ +103 ms] > Task :app:processDebugManifest UP-TO-DATE
[  +13 ms] > Task :app:processDebugResources UP-TO-DATE
[        ] > Task :app:compileDebugKotlin UP-TO-DATE
[        ] > Task :app:javaPreCompileDebug UP-TO-DATE
[        ] > Task :app:compileDebugJavaWithJavac UP-TO-DATE
[        ] > Task :app:compileDebugSources UP-TO-DATE
[        ] > Task :app:processDebugJavaRes NO-SOURCE
[        ] > Task :app:mergeDebugJavaResource UP-TO-DATE
[        ] > Task :app:checkDebugDuplicateClasses UP-TO-DATE
[  +76 ms] > Task :app:transformClassesWithDexBuilderForDebug UP-TO-DATE
[   +2 ms] > Task :app:desugarDebugFileDependencies UP-TO-DATE
[        ] > Task :app:mergeExtDexDebug UP-TO-DATE
[        ] > Task :app:mergeDexDebug UP-TO-DATE
[        ] > Task :app:validateSigningDebug UP-TO-DATE
[        ] > Task :app:signingConfigWriterDebug UP-TO-DATE
[        ] > Task :app:mergeDebugJniLibFolders UP-TO-DATE
[  +93 ms] > Task :app:mergeDebugNativeLibs UP-TO-DATE
[        ] > Task :app:stripDebugDebugSymbols UP-TO-DATE
[+1251 ms] > Task :app:packageDebug
[   +3 ms] > Task :app:assembleDebug
[   +1 ms] BUILD SUCCESSFUL in 11s
[        ] 30 actionable tasks: 5 executed, 25 up-to-date
[ +362 ms] Running Gradle task 'assembleDebug'... (completed in 11,9s)
[  +23 ms] calculateSha: LocalDirectory: 'C:\Users\msienczyk\Documents\Repos\packages\packages\animations\example\build\app\outputs\apk'/app.apk
[  +45 ms] calculateSha: reading file took 44us
[ +485 ms] calculateSha: computing sha took 484us
[   +5 ms] √ Built build\app\outputs\apk\debug\app-debug.apk.
[   +6 ms] executing: C:\Android\sdk\build-tools\29.0.2\aapt dump xmltree C:\Users\msienczyk\Documents\Repos\packages\packages\animations\example\build\app\outputs\apk\app.apk AndroidManifest.xml
[  +15 ms] Exit code 0 from: C:\Android\sdk\build-tools\29.0.2\aapt dump xmltree C:\Users\msienczyk\Documents\Repos\packages\packages\animations\example\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)="0.0.1" (Raw: "0.0.1")
               A: android:compileSdkVersion(0x01010572)=(type 0x10)0x1c
               A: android:compileSdkVersionCodename(0x01010573)="9" (Raw: "9")
               A: package="dev.flutter.packages.animations.example" (Raw: "dev.flutter.packages.animations.example")
               A: platformBuildVersionCode=(type 0x10)0x1c
               A: platformBuildVersionName=(type 0x10)0x9
               E: uses-sdk (line=7)
                 A: android:minSdkVersion(0x0101020c)=(type 0x10)0x10
                 A: android:targetSdkVersion(0x01010270)=(type 0x10)0x1c
               E: uses-permission (line=14)
                 A: android:name(0x01010003)="android.permission.INTERNET" (Raw: "android.permission.INTERNET")
               E: application (line=22)
                 A: android:label(0x01010001)="example" (Raw: "example")
                 A: android:icon(0x01010002)=@0x7f080000
                 A: android:name(0x01010003)="io.flutter.app.FlutterApplication" (Raw: "io.flutter.app.FlutterApplication")
                 A: android:debuggable(0x0101000f)=(type 0x12)0xffffffff
                 A: android:appComponentFactory(0x0101057a)="androidx.core.app.CoreComponentFactory" (Raw: "androidx.core.app.CoreComponentFactory")
                 E: activity (line=28)
                   A: android:theme(0x01010000)=@0x7f0a0000
                   A: android:name(0x01010003)="dev.flutter.packages.animations.example.MainActivity" (Raw: "dev.flutter.packages.animations.example.MainActivity")
                   A: android:launchMode(0x0101001d)=(type 0x10)0x1
                   A: android:configChanges(0x0101001f)=(type 0x11)0x40003fb4
                   A: android:windowSoftInputMode(0x0101022b)=(type 0x11)0x10
                   A: android:hardwareAccelerated(0x010102d3)=(type 0x12)0xffffffff
                   E: intent-filter (line=35)
                     E: action (line=36)
                       A: android:name(0x01010003)="android.intent.action.MAIN" (Raw: "android.intent.action.MAIN")
                     E: category (line=38)
                       A: android:name(0x01010003)="android.intent.category.LAUNCHER" (Raw: "android.intent.category.LAUNCHER")
                 E: meta-data (line=45)
                   A: android:name(0x01010003)="flutterEmbedding" (Raw: "flutterEmbedding")
                   A: android:value(0x01010024)=(type 0x10)0x2
[   +1 ms] Stopping app 'app.apk' on SM G970F.
[   +1 ms] executing: C:\Android\sdk\platform-tools\adb.exe -s RF8M80G7PGZ shell am force-stop dev.flutter.packages.animations.example
[ +127 ms] executing: C:\Android\sdk\platform-tools\adb.exe -s RF8M80G7PGZ shell pm list packages dev.flutter.packages.animations.example
[  +99 ms] package:dev.flutter.packages.animations.example
[   +3 ms] executing: C:\Android\sdk\platform-tools\adb.exe -s RF8M80G7PGZ shell cat /data/local/tmp/sky.dev.flutter.packages.animations.example.sha1
[  +53 ms] dcd2239586bb16ab31dce537bdf5e207480ac1fc
[   +1 ms] Installing APK.
[   +1 ms] executing: C:\Android\sdk\platform-tools\adb.exe version
[  +25 ms] Android Debug Bridge version 1.0.41
           Version 29.0.5-5949299
           Installed as C:\Android\sdk\platform-tools\adb.exe
[   +1 ms] executing: C:\Android\sdk\platform-tools\adb.exe start-server
[  +25 ms] Installing build\app\outputs\apk\app.apk...
[   +1 ms] executing: C:\Android\sdk\platform-tools\adb.exe -s RF8M80G7PGZ install -t -r C:\Users\msienczyk\Documents\Repos\packages\packages\animations\example\build\app\outputs\apk\app.apk
[+12355 ms] Performing Streamed Install
                     Success
[        ] Installing build\app\outputs\apk\app.apk... (completed in 12,4s)
[   +1 ms] executing: C:\Android\sdk\platform-tools\adb.exe -s RF8M80G7PGZ shell echo -n 0a9088d1a7db6ac79011783a12534b343d6bc5ad > /data/local/tmp/sky.dev.flutter.packages.animations.example.sha1
[  +46 ms] SM G970F startApp
[   +1 ms] executing: C:\Android\sdk\platform-tools\adb.exe -s RF8M80G7PGZ shell am start -a android.intent.action.RUN -f 0x20000000 --ez enable-background-compilation true --ez enable-dart-profiling true --ez enable-checked-mode true --ez verify-entry-points true
dev.flutter.packages.animations.example/dev.flutter.packages.animations.example.MainActivity
[ +151 ms] Starting: Intent { act=android.intent.action.RUN flg=0x20000000 cmp=dev.flutter.packages.animations.example/.MainActivity (has extras) }
[   +1 ms] Waiting for observatory port to be available...
[+4993 ms] Observatory URL on device: http://127.0.0.1:36873/Xo7I_DIzhB0=/
[   +2 ms] executing: C:\Android\sdk\platform-tools\adb.exe -s RF8M80G7PGZ forward tcp:0 tcp:36873
[  +34 ms] 50583
[        ] Forwarded host port 50583 to device port 36873 for Observatory
[   +6 ms] Connecting to service protocol: http://127.0.0.1:50583/Xo7I_DIzhB0=/
[+1115 ms] Successfully connected to service protocol: http://127.0.0.1:50583/Xo7I_DIzhB0=/
[   +7 ms] Sending to VM service: getVM({})
[  +18 ms] Result: {type: VM, name: vm, architectureBits: 64, hostCPU: Unknown, operatingSystem: android, targetCPU: arm64, version: 2.8.0-dev.5.0.flutter-fc3af737c7 (Fri Jan 24 09:53:26 2020 +0000) on "android_arm64", _profilerMode: VM, _nativeZoneMemoryUsage: 0,
p...
[   +4 ms] Sending to VM service: getIsolate({isolateId: isolates/4327579177820019})
[   +2 ms] Sending to VM service: _flutter.listViews({})
[  +24 ms] Result: {type: FlutterViewList, views: [{type: FlutterView, id: _flutterView/0x77efdc0420, isolate: {type: @Isolate, fixedId: true, id: isolates/4327579177820019, name: main.dart$main-4327579177820019, number: 4327579177820019}}]}
[   +4 ms] DevFS: Creating new filesystem on the device (null)
[   +1 ms] Sending to VM service: _createDevFS({fsName: example})
[ +212 ms] Result: {type: Isolate, id: isolates/4327579177820019, name: main, number: 4327579177820019, _originNumber: 4327579177820019, startTime: 1582552639247, _heaps: {new: {type: HeapSpace, name: new, vmName: Scavenger, collections: 0,
avgCollectionPeriodMillis...
[   +9 ms] Result: {type: FileSystem, name: example, uri: file:///data/user/0/dev.flutter.packages.animations.example/code_cache/exampleXBVUVQ/example/}
[   +1 ms] DevFS: Created new filesystem on the device (file:///data/user/0/dev.flutter.packages.animations.example/code_cache/exampleXBVUVQ/example/)
[   +2 ms] Updating assets
[  +72 ms] Syncing files to device SM G970F...
[   +2 ms] Scanning asset files
[   +2 ms] <- reset
[        ] Compiling dart to kernel with 0 updated files
[   +6 ms] C:\Android\flutter\bin\cache\dart-sdk\bin\dart.exe C:\Android\flutter\bin\cache\artifacts\engine\windows-x64\frontend_server.dart.snapshot --sdk-root C:\Android\flutter\bin\cache\artifacts\engine\common\flutter_patched_sdk/ --incremental --target=flutter
-Ddart.developer.causal_async_stacks=true --output-dill C:\Users\MSIENC~1\AppData\Local\Temp\flutter_tool.8004f22d-570d-11ea-9502-c8f7500069cb\app.dill --packages C:\Users\msienczyk\Documents\Repos\packages\packages\animations\example\.packages
-Ddart.vm.profile=false -Ddart.vm.product=false --bytecode-options=source-positions,local-var-info,debugger-stops,instance-field-initializers,keep-unreachable-code,avoid-closure-call-instructions --enable-asserts --track-widget-creation --filesystem-scheme
org-dartlang-root
[   +4 ms] <- compile package:animations_example/main.dart
[   +3 ms] D/SurfaceView(20985): onWindowVisibilityChanged(4) false io.flutter.embedding.android.FlutterSurfaceView{66fb4c9 V.E...... ......I. 0,0-0,0} of ViewRootImpl@f58ab2a[MainActivity]
[  +37 ms] D/ViewRootImpl@f58ab2a[MainActivity](20985): Relayout returned: old=[0,0][1080,2280] new=[0,0][1080,2280] req=(0,0)4 dur=8 res=0x1 s={false 0} ch=false
[  +33 ms] D/ViewRootImpl@f58ab2a[MainActivity](20985): stopped(false) old=true
[   +6 ms] D/SurfaceView(20985): windowStopped(false) false io.flutter.embedding.android.FlutterSurfaceView{66fb4c9 V.E...... ......I. 0,0-0,0} of ViewRootImpl@f58ab2a[MainActivity]
[   +1 ms] D/ViewRootImpl@f58ab2a[MainActivity](20985): stopped(false) old=false
[   +3 ms] D/SurfaceView(20985): onWindowVisibilityChanged(0) true io.flutter.embedding.android.FlutterSurfaceView{66fb4c9 V.E...... ......I. 0,0-0,0} of ViewRootImpl@f58ab2a[MainActivity]
[   +2 ms] D/ViewRootImpl@f58ab2a[MainActivity](20985): Relayout returned: old=[0,0][1080,2280] new=[0,0][1080,2280] req=(1080,2280)0 dur=4 res=0x7 s={true 515125882880} ch=true
[        ] D/OpenGLRenderer(20985): createReliableSurface : 0x775cc1b6c0, 0x77efe53000
[        ] D/OpenGLRenderer(20985): SurfaceChanged : 0x0 -> 0x0
[   +2 ms] D/SurfaceView(20985): surfaceCreated 1 #8 io.flutter.embedding.android.FlutterSurfaceView{66fb4c9 V.E...... ......ID 0,0-1080,2136}
[        ] I/mali_winsys(20985): new_window_surface() [1080x2280] return: 0x3000
[        ] I/mali_winsys(20985): new_window_surface() [1080x2136] return: 0x3000
[ +481 ms] D/SurfaceView(20985): surfaceChanged (1080,2136) 1 #8 io.flutter.embedding.android.FlutterSurfaceView{66fb4c9 V.E...... ......ID 0,0-1080,2136}
[   +2 ms] D/OpenGLRenderer(20985): SurfaceChanged : 0x0 -> 0x775cc1e080
[   +4 ms] W/Gralloc3(20985): mapper 3.x is not supported
[   +7 ms] I/gralloc (20985): Arm Module v1.0
[ +126 ms] D/ViewRootImpl@f58ab2a[MainActivity](20985): MSG_RESIZED_REPORT: frame=[0,0][1080,2280] ci=[0,117][0,144] vi=[0,117][0,144] or=1
[  +20 ms] D/ViewRootImpl@f58ab2a[MainActivity](20985): MSG_RESIZED_REPORT: frame=[0,0][1080,2280] ci=[0,117][0,144] vi=[0,117][0,144] or=1
[  +65 ms] D/ViewRootImpl@f58ab2a[MainActivity](20985): MSG_WINDOW_FOCUS_CHANGED 1 1
[   +1 ms] D/InputMethodManager(20985): prepareNavigationBarInfo() DecorView@1ebfb1e[MainActivity]
[        ] D/InputMethodManager(20985): getNavigationBarColor() -855310
[        ] D/InputMethodManager(20985): prepareNavigationBarInfo() DecorView@1ebfb1e[MainActivity]
[        ] D/InputMethodManager(20985): getNavigationBarColor() -855310
[        ] V/InputMethodManager(20985): Starting input: tba=dev.flutter.packages.animations.example ic=null mNaviBarColor -855310 mIsGetNaviBarColorSuccess true , NavVisible : true , NavTrans : false
[        ] D/InputMethodManager(20985): startInputInner - Id : 0
[        ] I/InputMethodManager(20985): startInputInner - mService.startInputOrWindowGainedFocus
[  +58 ms] D/InputMethodManager(20985): prepareNavigationBarInfo() DecorView@1ebfb1e[MainActivity]
[        ] D/InputMethodManager(20985): getNavigationBarColor() -855310
[        ] V/InputMethodManager(20985): Starting input: tba=dev.flutter.packages.animations.example ic=null mNaviBarColor -855310 mIsGetNaviBarColorSuccess true , NavVisible : true , NavTrans : false
[        ] D/InputMethodManager(20985): startInputInner - Id : 0
[+3483 ms] Updating files
[ +137 ms] DevFS: Sync finished
[   +1 ms] Syncing files to device SM G970F... (completed in 4 501ms, longer than expected)
[   +1 ms] Synced 0.9MB.
[   +1 ms] Sending to VM service: _flutter.listViews({})
[   +3 ms] Result: {type: FlutterViewList, views: [{type: FlutterView, id: _flutterView/0x77efdc0420, isolate: {type: @Isolate, fixedId: true, id: isolates/4327579177820019, name: main.dart$main-4327579177820019, number: 4327579177820019}}]}
[   +1 ms] <- accept
[        ] Connected to _flutterView/0x77efdc0420.
[   +1 ms] Flutter run key commands.
[   +1 ms] r Hot reload. ���
[   +1 ms] R Hot restart.
[        ] h Repeat this help message.
[        ] d Detach (terminate "flutter run" but leave application running).
[        ] q Quit (terminate the application on the device).
[        ] An Observatory debugger and profiler on SM G970F is available at: http://127.0.0.1:50583/Xo7I_DIzhB0=/
Analyzing example...
No issues found! (ran in 2.4s)
[√] Flutter (Channel beta, v1.14.6, on Microsoft Windows [Version 10.0.18362.657], locale pl-PL)
    • Flutter version 1.14.6 at C:\Android\flutter
    • Framework revision fabeb2a16f (4 weeks ago), 2020-01-28 07:56:51 -0800
    • Engine revision c4229bfbba
    • Dart version 2.8.0 (build 2.8.0-dev.5.0 fc3af737c7)


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

[√] Android Studio (version 3.5)
    • Android Studio at C:\Android\Android Studio
    • Flutter plugin version 43.0.1
    • Dart plugin version 191.8593
    • Java version OpenJDK Runtime Environment (build 1.8.0_202-release-1483-b03)

[√] VS Code (version 1.41.1)
    • VS Code at C:\Users\msienczyk\AppData\Local\Programs\Microsoft VS Code
    • Flutter extension version 3.6.0

[√] Connected device (1 available)
    • SM G970F • RF8M80G7PGZ • android-arm64 • Android 10 (API 29)

• No issues found!

Activity

  1. changed the title [-]Hero animation don't work with new animations library.[/-] [+]Hero animation don't work with new animations library (OpenContainer).[/+] on Feb 24, 2020
  2. added
    p: material_uimaterial_ui package in flutter/packages
    frameworkflutter/packages/flutter repository. See also f: labels.
    on Feb 25, 2020
  3. changed the title [-]Hero animation don't work with new animations library (OpenContainer).[/-] [+]OpenContainer should support Hero animations (Focal Elements).[/+] on Mar 30, 2020
  4. added
    c: new featureNothing broken; request for a new capability
    packageflutter/packages repository. See also p: labels.
    on Mar 30, 2020
  5. Faiyyaz commented on Jun 17, 2020

    @Faiyyaz

    Even i have the exact same issue my first screen use openContainer and then my second screen uses hero to open third screen but the hero animation wont work.

  6. erickdaros commented on Jun 18, 2020

    @erickdaros

    same issue here

  7. RafiqCR7 commented on Jun 21, 2020

    @RafiqCR7

    I'm also having this issue - the hero animations aren't working when using opencontainer

  8. ichitaka commented on Aug 3, 2020

    @ichitaka

    Sadly also now have to drop the OpenContainer, as the Hero animation makes more sense from a UX perspective.

  9. added
    customer: crowdAffects or could affect many people, though not necessarily a specific customer.
    on Oct 18, 2021
  10. added
    P2Important issues not at the top of the work list
    on Nov 4, 2021
  11. llauritz commented on Nov 19, 2021

    @llauritz
  12. 2 remaining items

  13. iamsahilsonawane commented on Sep 14, 2022

    @iamsahilsonawane
  14. kamami commented on Feb 4, 2023

    @kamami
  15. brvm commented on May 26, 2023

    @brvm
  16. Khurshidddbek commented on Jun 15, 2023

    @Khurshidddbek
  17. nikolicpetar17 commented on Aug 7, 2023

    @nikolicpetar17
  18. Ahmed-Tarek-Designfy commented on May 1, 2024

    @Ahmed-Tarek-Designfy
  19. NonymousMorlock commented on Aug 17, 2024

    @NonymousMorlock
  20. Lukas-io commented on Jul 23, 2025

    @Lukas-io
  21. changed the title [-]OpenContainer should support Hero animations (Focal Elements).[/-] [+][animations] OpenContainer should support Hero animations (Focal Elements).[/+] on Jul 29, 2025
  22. removed
    frameworkflutter/packages/flutter repository. See also f: labels.
    on Aug 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2Important issues not at the top of the work lista: animationAnimation APIsc: new featureNothing broken; request for a new capabilitycustomer: crowdAffects or could affect many people, though not necessarily a specific customer.p: animationsThe animations packagep: material_uimaterial_ui package in flutter/packagespackageflutter/packages repository. See also p: labels.team-designOwned by Design Languages teamtriaged-designTriaged by Design Languages team

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions