Repository: flutter
Issue: Widgets don't refresh when using MaterialApp.navigatorKey in some cases.
Labels: framework,f: material design,f: routes,has reproducible steps,P3,found in release: 3.0,found in release: 3.1,team-design,triaged-design

## Steps to Reproduce

1. Execute `flutter run` on the code sample <!-- (see "Code sample" section below) -->

**Expected results:** <!-- what did you want to see? -->
The number in the middle of the screen should change from 0 to 1;

**Actual results:** <!-- what did you see? -->
The number in the middle of the screen never changes.

<details>
<summary>Code sample</summary>

```dart
import 'package:flutter/material.dart';

void main() {
  runApp(const MyApp());
}

final navigatorKey = GlobalKey<NavigatorState>();

class MyApp extends StatefulWidget {
  const MyApp({Key? key}) : super(key: key);

  @override
  State<MyApp> createState() => _MyAppState();
}

class _MyAppState extends State<MyApp> {
  int _pageState = 0;

  @override
  void initState() {
    super.initState();
    _run();
  }

  void _run() async {
    await Future.delayed(const Duration(seconds: 1));
    setState(() {
      _pageState += 1;
    });
  }

  @override
  Widget build(BuildContext context) {
    switch (_pageState) {
      case 0:
        return _mockApp(
          Center(
            child: Text(_pageState.toString()),
          ),
        );
      case 1:
        return Container(    // If remove this Container (keep its child), the issue is gone. 
          child: _mockApp(
            Center(
              child: Text(_pageState.toString()),
            ),
          ),
        );

      default:
        assert(false);
        return Container();
    }
  }

  Widget _mockApp(Widget body) {
    return MaterialApp(
      navigatorKey: navigatorKey,   // If set null as the navigatorKey, the issue is gone. 
      home: Scaffold(
        body: body,
      ),
    );
  }
}

```

</details>

<details>
  <summary>Logs</summary>


```
wangyy@HWT2QK75R2 FlutterTest % flutter run --verbose
[  +43 ms] executing: sysctl hw.optional.arm64
[   +9 ms] Exit code 0 from: sysctl hw.optional.arm64
[        ] hw.optional.arm64: 1
[   +2 ms] executing: [/Users/wangyy/.flutter/] git -c log.showSignature=false log -n 1 --pretty=format:%H
[  +14 ms] Exit code 0 from: git -c log.showSignature=false log -n 1 --pretty=format:%H
[        ] fb57da5f945d02ef4f98dfd9409a72b7cce74268
[        ] executing: [/Users/wangyy/.flutter/] git tag --points-at fb57da5f945d02ef4f98dfd9409a72b7cce74268
[  +69 ms] Exit code 0 from: git tag --points-at fb57da5f945d02ef4f98dfd9409a72b7cce74268
[        ] 3.0.1
[   +4 ms] executing: [/Users/wangyy/.flutter/] git rev-parse --abbrev-ref --symbolic @{u}
[  +12 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{u}
[        ] origin/stable
[        ] executing: [/Users/wangyy/.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
[  +61 ms] executing: [/Users/wangyy/.flutter/] git rev-parse --abbrev-ref HEAD
[  +13 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD
[        ] stable
[   +1 ms] Failed to initialize analytics reporting: FileSystemException: Cannot create file, path = '/Users/wangyy/.flutter' (OS Error: Is a directory, errno = 21)
[  +30 ms] 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.
[   +1 ms] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'WindowsUwpEngineArtifacts' 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: /Users/wangyy/Library/Android/sdk/platform-tools/adb devices -l
[  +12 ms] executing: sysctl hw.optional.arm64
[   +6 ms] Exit code 0 from: sysctl hw.optional.arm64
[        ] hw.optional.arm64: 1
[        ] executing: /usr/bin/arch -arm64e xcrun xcodebuild -version
[ +107 ms] Exit code 0 from: /usr/bin/arch -arm64e xcrun xcodebuild -version
[   +1 ms] Xcode 13.2.1
           Build version 13C100
[        ] objc[86278]: Class AMSupportURLConnectionDelegate is implemented in both /usr/lib/libamsupport.dylib (0x1e3117678) and
/Library/Apple/System/Library/PrivateFrameworks/MobileDevice.framework/Versions/A/MobileDevice (0x103a682c8). One of the two will be used. Which one is undefined.
           objc[86278]: Class AMSupportURLSession is implemented in both /usr/lib/libamsupport.dylib (0x1e31176c8) and
           /Library/Apple/System/Library/PrivateFrameworks/MobileDevice.framework/Versions/A/MobileDevice (0x103a68318). One of the two will be used. Which one is undefined.
[   +2 ms] executing: /usr/bin/arch -arm64e xcrun xcdevice list --timeout 2
[   +1 ms] /usr/bin/arch -arm64e xcrun simctl list --json devices
[        ] executing: /usr/bin/arch -arm64e xcrun simctl list --json devices
[   +1 ms] executing: /usr/bin/arch -arm64e xcrun simctl list
[  +87 ms] Exit code 0 from: /usr/bin/arch -arm64e xcrun simctl list
[        ] == Device Types ==
           iPhone 4s (com.apple.CoreSimulator.SimDeviceType.iPhone-4s)
           iPhone 5 (com.apple.CoreSimulator.SimDeviceType.iPhone-5)
           iPhone 5s (com.apple.CoreSimulator.SimDeviceType.iPhone-5s)
           iPhone 6 Plus (com.apple.CoreSimulator.SimDeviceType.iPhone-6-Plus)
           iPhone 6 (com.apple.CoreSimulator.SimDeviceType.iPhone-6)
           iPhone 6s (com.apple.CoreSimulator.SimDeviceType.iPhone-6s)
           iPhone 6s Plus (com.apple.CoreSimulator.SimDeviceType.iPhone-6s-Plus)
           iPhone SE (1st generation) (com.apple.CoreSimulator.SimDeviceType.iPhone-SE)
           iPhone 7 (com.apple.CoreSimulator.SimDeviceType.iPhone-7)
           iPhone 7 Plus (com.apple.CoreSimulator.SimDeviceType.iPhone-7-Plus)
           iPhone 8 (com.apple.CoreSimulator.SimDeviceType.iPhone-8)
           iPhone 8 Plus (com.apple.CoreSimulator.SimDeviceType.iPhone-8-Plus)
           iPhone X (com.apple.CoreSimulator.SimDeviceType.iPhone-X)
           iPhone Xs (com.apple.CoreSimulator.SimDeviceType.iPhone-XS)
           iPhone Xs Max (com.apple.CoreSimulator.SimDeviceType.iPhone-XS-Max)
           iPhone Xʀ (com.apple.CoreSimulator.SimDeviceType.iPhone-XR)
           iPhone 11 (com.apple.CoreSimulator.SimDeviceType.iPhone-11)
           iPhone 11 Pro (com.apple.CoreSimulator.SimDeviceType.iPhone-11-Pro)
           iPhone 11 Pro Max (com.apple.CoreSimulator.SimDeviceType.iPhone-11-Pro-Max)
           iPhone SE (2nd generation) (com.apple.CoreSimulator.SimDeviceType.iPhone-SE--2nd-generation-)
           iPhone 12 mini (com.apple.CoreSimulator.SimDeviceType.iPhone-12-mini)
           iPhone 12 (com.apple.CoreSimulator.SimDeviceType.iPhone-12)
           iPhone 12 Pro (com.apple.CoreSimulator.SimDeviceType.iPhone-12-Pro)
           iPhone 12 Pro Max (com.apple.CoreSimulator.SimDeviceType.iPhone-12-Pro-Max)
           iPhone 13 Pro (com.apple.CoreSimulator.SimDeviceType.iPhone-13-Pro)
           iPhone 13 Pro Max (com.apple.CoreSimulator.SimDeviceType.iPhone-13-Pro-Max)
           iPhone 13 mini (com.apple.CoreSimulator.SimDeviceType.iPhone-13-mini)
           iPhone 13 (com.apple.CoreSimulator.SimDeviceType.iPhone-13)
           iPod touch (7th generation) (com.apple.CoreSimulator.SimDeviceType.iPod-touch--7th-generation-)
           iPad 2 (com.apple.CoreSimulator.SimDeviceType.iPad-2)
           iPad Retina (com.apple.CoreSimulator.SimDeviceType.iPad-Retina)
           iPad Air (com.apple.CoreSimulator.SimDeviceType.iPad-Air)
           iPad mini 2 (com.apple.CoreSimulator.SimDeviceType.iPad-mini-2)
           iPad mini 3 (com.apple.CoreSimulator.SimDeviceType.iPad-mini-3)
           iPad mini 4 (com.apple.CoreSimulator.SimDeviceType.iPad-mini-4)
           iPad Air 2 (com.apple.CoreSimulator.SimDeviceType.iPad-Air-2)
           iPad Pro (9.7-inch) (com.apple.CoreSimulator.SimDeviceType.iPad-Pro--9-7-inch-)
           iPad Pro (12.9-inch) (1st generation) (com.apple.CoreSimulator.SimDeviceType.iPad-Pro)
           iPad (5th generation) (com.apple.CoreSimulator.SimDeviceType.iPad--5th-generation-)
           iPad Pro (12.9-inch) (2nd generation) (com.apple.CoreSimulator.SimDeviceType.iPad-Pro--12-9-inch---2nd-generation-)
           iPad Pro (10.5-inch) (com.apple.CoreSimulator.SimDeviceType.iPad-Pro--10-5-inch-)
           iPad (6th generation) (com.apple.CoreSimulator.SimDeviceType.iPad--6th-generation-)
           iPad (7th generation) (com.apple.CoreSimulator.SimDeviceType.iPad--7th-generation-)
           iPad Pro (11-inch) (1st generation) (com.apple.CoreSimulator.SimDeviceType.iPad-Pro--11-inch-)
           iPad Pro (12.9-inch) (3rd generation) (com.apple.CoreSimulator.SimDeviceType.iPad-Pro--12-9-inch---3rd-generation-)
           iPad Pro (11-inch) (2nd generation) (com.apple.CoreSimulator.SimDeviceType.iPad-Pro--11-inch---2nd-generation-)
           iPad Pro (12.9-inch) (4th generation) (com.apple.CoreSimulator.SimDeviceType.iPad-Pro--12-9-inch---4th-generation-)
           iPad mini (5th generation) (com.apple.CoreSimulator.SimDeviceType.iPad-mini--5th-generation-)
           iPad Air (3rd generation) (com.apple.CoreSimulator.SimDeviceType.iPad-Air--3rd-generation-)
           iPad (8th generation) (com.apple.CoreSimulator.SimDeviceType.iPad--8th-generation-)
           iPad (9th generation) (com.apple.CoreSimulator.SimDeviceType.iPad-9th-generation)
           iPad Air (4th generation) (com.apple.CoreSimulator.SimDeviceType.iPad-Air--4th-generation-)
           iPad Pro (11-inch) (3rd generation) (com.apple.CoreSimulator.SimDeviceType.iPad-Pro-11-inch-3rd-generation)
           iPad Pro (12.9-inch) (5th generation) (com.apple.CoreSimulator.SimDeviceType.iPad-Pro-12-9-inch-5th-generation)
           iPad mini (6th generation) (com.apple.CoreSimulator.SimDeviceType.iPad-mini-6th-generation)
           Apple TV (com.apple.CoreSimulator.SimDeviceType.Apple-TV-1080p)
           Apple TV 4K (com.apple.CoreSimulator.SimDeviceType.Apple-TV-4K-4K)
           Apple TV 4K (at 1080p) (com.apple.CoreSimulator.SimDeviceType.Apple-TV-4K-1080p)
           Apple TV 4K (2nd generation) (com.apple.CoreSimulator.SimDeviceType.Apple-TV-4K-2nd-generation-4K)
           Apple TV 4K (at 1080p) (2nd generation) (com.apple.CoreSimulator.SimDeviceType.Apple-TV-4K-2nd-generation-1080p)
           Apple Watch - 38mm (com.apple.CoreSimulator.SimDeviceType.Apple-Watch-38mm)
           Apple Watch - 42mm (com.apple.CoreSimulator.SimDeviceType.Apple-Watch-42mm)
           Apple Watch Series 2 - 38mm (com.apple.CoreSimulator.SimDeviceType.Apple-Watch-Series-2-38mm)
           Apple Watch Series 2 - 42mm (com.apple.CoreSimulator.SimDeviceType.Apple-Watch-Series-2-42mm)
           Apple Watch Series 3 - 38mm (com.apple.CoreSimulator.SimDeviceType.Apple-Watch-Series-3-38mm)
           Apple Watch Series 3 - 42mm (com.apple.CoreSimulator.SimDeviceType.Apple-Watch-Series-3-42mm)
           Apple Watch Series 4 - 40mm (com.apple.CoreSimulator.SimDeviceType.Apple-Watch-Series-4-40mm)
           Apple Watch Series 4 - 44mm (com.apple.CoreSimulator.SimDeviceType.Apple-Watch-Series-4-44mm)
           Apple Watch Series 5 - 40mm (com.apple.CoreSimulator.SimDeviceType.Apple-Watch-Series-5-40mm)
           Apple Watch Series 5 - 44mm (com.apple.CoreSimulator.SimDeviceType.Apple-Watch-Series-5-44mm)
           Apple Watch SE - 40mm (com.apple.CoreSimulator.SimDeviceType.Apple-Watch-SE-40mm)
           Apple Watch SE - 44mm (com.apple.CoreSimulator.SimDeviceType.Apple-Watch-SE-44mm)
           Apple Watch Series 6 - 40mm (com.apple.CoreSimulator.SimDeviceType.Apple-Watch-Series-6-40mm)
           Apple Watch Series 6 - 44mm (com.apple.CoreSimulator.SimDeviceType.Apple-Watch-Series-6-44mm)
           Apple Watch Series 7 - 41mm (com.apple.CoreSimulator.SimDeviceType.Apple-Watch-Series-7-41mm)
           Apple Watch Series 7 - 45mm (com.apple.CoreSimulator.SimDeviceType.Apple-Watch-Series-7-45mm)
           == Runtimes ==
           iOS 12.4 (12.4 - 16G73) - com.apple.CoreSimulator.SimRuntime.iOS-12-4
           iOS 14.2 (14.2 - 18B79) - com.apple.CoreSimulator.SimRuntime.iOS-14-2
           iOS 15.2 (15.2 - 19C51) - com.apple.CoreSimulator.SimRuntime.iOS-15-2
           tvOS 15.2 (15.2 - 19K50) - com.apple.CoreSimulator.SimRuntime.tvOS-15-2
           watchOS 8.3 (8.3 - 19S51) - com.apple.CoreSimulator.SimRuntime.watchOS-8-3
           == Devices ==
           -- iOS 12.4 --
               iPhone 5s (DB99E549-6B1E-4869-9BF4-37F1E83607A6) (Shutdown) 
               iPhone 6 Plus (E28707DE-A1CE-45A9-AD3B-48A27D43C2BA) (Shutdown) 
               iPhone 6 (CE5561B3-0A96-47E3-B1C3-27D264E7BA72) (Shutdown) 
               iPhone 6s (18209DBC-D00D-489B-9888-C1EF9D2741D5) (Shutdown) 
               iPhone 6s Plus (6AD45E8B-0097-4970-8ACE-21C7919591E8) (Shutdown) 
               iPhone SE (1st generation) (097511D4-D891-4436-833C-78A31AAF27A0) (Shutdown) 
               iPhone 7 (995113FA-B50F-4430-B7A0-1115229E53BA) (Shutdown) 
               iPhone 7 Plus (7ACE952D-CFF1-465F-B4E9-3384DD65ECCF) (Shutdown) 
               iPhone 8 (B46F8970-87AB-4694-A305-615DB6B1D727) (Shutdown) 
               iPhone 8 Plus (C7D7D192-D408-4B70-BFA2-C68442FDEFF4) (Shutdown) 
               iPhone X (3F8394F1-8F8C-4324-9060-2BA19604EE81) (Shutdown) 
               iPhone Xs (34C2D66D-55AA-4E99-AF31-95FBEBEC954C) (Shutdown) 
               iPhone Xs Max (C187CB50-739D-4318-ACE0-BC24AA8E3783) (Shutdown) 
               iPhone Xʀ (9EAF40CA-0172-4E1C-BA73-5166BB2CF446) (Shutdown) 
               iPad Air (C35D37C5-8BD9-4CE8-94C1-5DB09C2F91D9) (Shutdown) 
               iPad Air 2 (13B9FAB6-2889-459F-A989-E6667322AD10) (Shutdown) 
               iPad Pro (9.7-inch) (95FD95E1-2983-4CF8-8ED2-C8C613A0254C) (Shutdown) 
               iPad Pro (12.9-inch) (1st generation) (BBBBD0F3-BACD-4C83-A385-3D82B4A94D80) (Shutdown) 
               iPad (5th generation) (C914FF0D-F536-4D98-82B0-237BFC962CE9) (Shutdown) 
               iPad Pro (12.9-inch) (2nd generation) (B78433A4-9DAF-4CA3-A034-5FEE57820894) (Shutdown) 
               iPad Pro (10.5-inch) (478CA43F-532A-4378-98C9-C80FEDF1A9B9) (Shutdown) 
               iPad (6th generation) (796D7C3E-4F3B-489B-A84C-B4F5DED3C765) (Shutdown) 
               iPad Pro (11-inch) (1st generation) (63E89C95-77F2-4007-BEFA-D4AC91BCA3E4) (Shutdown) 
               iPad Pro (12.9-inch) (3rd generation) (75934E13-546B-4751-B587-AD8CB0479AC9) (Shutdown) 
               iPad Air (3rd generation) (75F614DA-9A48-497F-BA75-B017E4750C44) (Shutdown) 
           -- iOS 14.2 --
               iPhone 8 (7E5D2BCB-8C24-42C7-B888-51DFE77E7B86) (Shutdown) 
               iPhone 8 Plus (A1E83488-4A53-4DD4-AF0E-5982B40AF79C) (Shutdown) 
               iPhone Xs Max (D300316B-41E6-4558-9E3C-B786B9E83EF8) (Shutdown) 
               iPhone 11 (0E34D1AC-E39B-4891-B41D-2770F145176C) (Shutdown) 
               iPhone 11 Pro (A4FCD7EA-D1B4-4B7E-98FA-47267ADDF74D) (Shutdown) 
               iPhone 11 Pro Max (5C78E452-B76D-460E-83B3-DE2F288588D9) (Shutdown) 
               iPhone SE (2nd generation) (F7C9F979-117A-4AC2-BD0D-A361D2EA8116) (Shutdown) 
               iPhone 12 mini (0E88C8D1-A905-4249-AF8D-DC4A5AF7B967) (Shutdown) 
               iPhone 12 (5C549E25-358A-4ADD-87C6-50B6FDD3C866) (Shutdown) 
               iPhone 12 Pro (87835697-5D62-4700-A076-DC607A8995BF) (Shutdown) 
               iPhone 12 Pro Max (2696B62B-20AB-4D84-A305-35F6586951C4) (Shutdown) 
               iPod touch (7th generation) (C733F404-FCB5-4032-A68B-4D342A0A94DE) (Shutdown) 
               iPad Pro (9.7-inch) (A43F223B-7A53-499F-9DF9-6DA8ECC5F7B8) (Shutdown) 
               iPad Pro (11-inch) (2nd generation) (A2AF0825-4679-4F3D-8289-3EBD4B845CB8) (Shutdown) 
               iPad Pro (12.9-inch) (4th generation) (3FB66724-4A95-4328-85D0-93F0EFA0341C) (Shutdown) 
               iPad (8th generation) (EAC0CDA8-83F8-4A51-94C2-852E337F1EBB) (Shutdown) 
               iPad Air (4th generation) (BA596781-8646-41C4-93BC-CC226C99A067) (Shutdown) 
           -- iOS 15.2 --
               iPhone 8 (E99BDDB0-49AB-4418-9D32-952B31396DBB) (Shutdown) 
               iPhone 8 Plus (4034ABC2-7BD5-451F-BD53-052B62D6D365) (Shutdown) 
               iPhone 11 (7F907113-3ECC-43C5-8525-C24F3E00D2F0) (Shutdown) 
               iPhone 11 Pro (B668F0B0-A0DF-4077-A9B5-BC0C57ADC8CB) (Shutdown) 
               iPhone 11 Pro Max (B2267F5A-C9AC-4313-80A5-7E77C0E7BB8A) (Shutdown) 
               iPhone SE (2nd generation) (39E9C912-0C9C-4BB5-A6AC-CF69DFA28942) (Shutdown) 
               iPhone 12 mini (9867D4F7-C226-44D5-BA10-60A184C07CC4) (Shutdown) 
               iPhone 12 (38B145E4-9C04-4B07-B951-6571F905D8FF) (Shutdown) 
               iPhone 12 Pro (9DD8A3CE-E853-4F49-AA51-F70E1B9B58E0) (Shutdown) 
               iPhone 12 Pro Max (F1F22571-6FCA-441B-AEC7-FB5115A5AD38) (Shutdown) 
               iPhone 13 Pro (3E22BD3C-ECA6-4EDF-8AF9-C39AACF09A1A) (Shutdown) 
               iPhone 13 Pro Max (E8B9DC18-545F-42DA-A54A-C18137867518) (Shutdown) 
               iPhone 13 mini (55B6EA64-C958-46A0-B7E4-A8A2896FFAC5) (Shutdown) 
               iPhone 13 (10DD8DDD-D936-4C21-9B14-2E2CC329706B) (Shutdown) 
               iPod touch (7th generation) (A5766038-364E-48B4-8085-269DE4C7C1DB) (Shutdown) 
               iPad Pro (9.7-inch) (B9BF8F25-9F67-4ADE-A814-83AEDD4F2FB0) (Shutdown) 
               iPad (9th generation) (35655092-C321-4603-B16F-EC2920824A1A) (Shutdown) 
               iPad Air (4th generation) (92C00834-7D7F-42B7-A096-6B671DC3DEB3) (Shutdown) 
               iPad Pro (11-inch) (3rd generation) (633354A3-0377-4BE4-BFE4-AC2FF0E469C3) (Shutdown) 
               iPad Pro (12.9-inch) (5th generation) (AD21E797-9C46-426B-9B73-6009D9D9D8BF) (Shutdown) 
               iPad mini (6th generation) (C248CB70-65DB-403D-9871-D24C7FF07705) (Shutdown) 
           -- tvOS 15.2 --
               Apple TV (42D3EF3A-EBAA-41DA-B523-9E916818EDAC) (Shutdown) 
               Apple TV 4K (2nd generation) (BCBC23DA-BA1A-487C-AF27-C07594637B00) (Shutdown) 
               Apple TV 4K (at 1080p) (2nd generation) (CDAD707C-7F92-4818-A210-FFDF04FF7584) (Shutdown) 
           -- watchOS 8.3 --
               Apple Watch Series 5 - 40mm (FD0CC4AB-47E0-4AF6-8E77-385D6ED044F3) (Shutdown) 
               Apple Watch Series 5 - 44mm (63057EB7-908E-47DE-BB4F-9593DE5218D5) (Shutdown) 
               Apple Watch Series 6 - 40mm (9D708910-1665-4005-8627-847E76831441) (Shutdown) 
               Apple Watch Series 6 - 44mm (F8B2A8FB-6733-42D9-AB82-C482CD74FEA0) (Shutdown) 
               Apple Watch Series 7 - 41mm (22954834-8F04-4CED-B843-3CDA5B9F56F4) (Shutdown) 
               Apple Watch Series 7 - 45mm (41BB1FA9-AA38-44A4-B784-51C49CE9E533) (Shutdown) 
           == Device Pairs ==
           C063687A-7EA9-43AF-B45C-F7A2F16B3E76 (active, disconnected)
               Watch: Apple Watch Series 5 - 40mm (FD0CC4AB-47E0-4AF6-8E77-385D6ED044F3) (Shutdown)
               Phone: iPhone 12 Pro (9DD8A3CE-E853-4F49-AA51-F70E1B9B58E0) (Shutdown)
           EAC73146-53C8-4060-8EB3-04773FD0EF49 (active, disconnected)
               Watch: Apple Watch Series 5 - 44mm (63057EB7-908E-47DE-BB4F-9593DE5218D5) (Shutdown)
               Phone: iPhone 12 Pro Max (F1F22571-6FCA-441B-AEC7-FB5115A5AD38) (Shutdown)
           B87C6CDC-E2F5-43E2-8404-E478F5D45D41 (active, disconnected)
               Watch: Apple Watch Series 6 - 40mm (9D708910-1665-4005-8627-847E76831441) (Shutdown)
               Phone: iPhone 13 Pro (3E22BD3C-ECA6-4EDF-8AF9-C39AACF09A1A) (Shutdown)
           5EB899CA-6033-4AB4-8A0F-5A9D49BEEA09 (active, disconnected)
               Watch: Apple Watch Series 6 - 44mm (F8B2A8FB-6733-42D9-AB82-C482CD74FEA0) (Shutdown)
               Phone: iPhone 13 Pro Max (E8B9DC18-545F-42DA-A54A-C18137867518) (Shutdown)
           BEDB28BA-BCAD-409D-A8CF-B9DFCDC11556 (active, disconnected)
               Watch: Apple Watch Series 7 - 41mm (22954834-8F04-4CED-B843-3CDA5B9F56F4) (Shutdown)
               Phone: iPhone 13 mini (55B6EA64-C958-46A0-B7E4-A8A2896FFAC5) (Shutdown)
           44F4B876-51E7-4A86-87A3-833652BD193F (active, disconnected)
               Watch: Apple Watch Series 7 - 45mm (41BB1FA9-AA38-44A4-B784-51C49CE9E533) (Shutdown)
               Phone: iPhone 13 (10DD8DDD-D936-4C21-9B14-2E2CC329706B) (Shutdown)
[  +25 ms] List of devices attached
           emulator-5554          device product:sdk_gphone64_arm64 model:sdk_gphone64_arm64 device:emulator64_arm64 transport_id:3
[  +10 ms] /Users/wangyy/Library/Android/sdk/platform-tools/adb -s emulator-5554 shell getprop
[  +43 ms] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[   +2 ms] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'WindowsUwpEngineArtifacts' is not required, skipping update.
[   +1 ms] 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] Multiple devices found:
[   +1 ms] ro.hardware = ranchu
[  +33 ms] sdk gphone64 arm64 (mobile)    • emulator-5554                            • android-arm64  • Android 12 (API 32) (emulator)
[        ] Yanni’s iPhone 8 plus (mobile) • 3be87361c4457fbc9a39b5fe73a980755cd94568 • ios            • iOS 14.4 18D52
[        ] Chrome (web)                   • chrome                                   • web-javascript • Google Chrome 102.0.5005.61
[        ] [1]: sdk gphone64 arm64 (emulator-5554)
[        ] [2]: Yanni’s iPhone 8 plus (3be87361c4457fbc9a39b5fe73a980755cd94568)
[        ] [3]: Chrome (chrome)
[        ] Please choose one (To quit, press "q/Q")
[        ] : 
[+39943 ms] 1
[  +41 ms] Skipping pub get: version match.
[  +40 ms] Generating /Users/wangyy/Documents/Others/FlutterTest/android/app/src/main/java/io/flutter/plugins/GeneratedPluginRegistrant.java
[  +25 ms] Using hardware rendering with device sdk gphone64 arm64. If you notice graphics artifacts, consider enabling software rendering with "--enable-software-rendering".
[  +12 ms] Initializing file store
[   +5 ms] Skipping target: gen_localizations
[   +3 ms] gen_dart_plugin_registrant: Starting due to {InvalidatedReasonKind.inputChanged: The following inputs have updated contents:
/Users/wangyy/Documents/Others/FlutterTest/.dart_tool/package_config_subset}
[  +10 ms] gen_dart_plugin_registrant: Complete
[        ] Skipping target: _composite
[   +1 ms] complete
[   +2 ms] Launching lib/main.dart on sdk gphone64 arm64 in debug mode...
[   +3 ms] /Users/wangyy/.flutter/bin/cache/dart-sdk/bin/dart --disable-dart-dev /Users/wangyy/.flutter/bin/cache/dart-sdk/bin/snapshots/frontend_server.dart.snapshot --sdk-root
/Users/wangyy/.flutter/bin/cache/artifacts/engine/common/flutter_patched_sdk/ --incremental --target=flutter --debugger-module-names --experimental-emit-debug-metadata
-DFLUTTER_WEB_AUTO_DETECT=true --output-dill /var/folders/9f/djxdfdv14z1746bx_9prwy8c0000gp/T/flutter_tools.pLSAIH/flutter_tool.VidNH5/app.dill --packages
/Users/wangyy/Documents/Others/FlutterTest/.dart_tool/package_config.json -Ddart.vm.profile=false -Ddart.vm.product=false --enable-asserts --track-widget-creation --filesystem-scheme
org-dartlang-root --initialize-from-dill build/c075001b96339384a97db4862b8ab8db.cache.dill.track.dill --enable-experiment=alternative-invalidation-strategy
[   +6 ms] executing: /Users/wangyy/Library/Android/sdk/build-tools/32.1.0-rc1/aapt dump xmltree /Users/wangyy/Documents/Others/FlutterTest/build/app/outputs/flutter-apk/app.apk
AndroidManifest.xml
[  +18 ms] Exit code 0 from: /Users/wangyy/Library/Android/sdk/build-tools/32.1.0-rc1/aapt dump xmltree /Users/wangyy/Documents/Others/FlutterTest/build/app/outputs/flutter-apk/app.apk
AndroidManifest.xml
[        ] N: android=http://schemas.android.com/apk/res/android
             E: manifest (line=2)
               A: android:versionCode(0x0101021b)=(type 0x10)0x1
               A: android:versionName(0x0101021c)="1.0.0" (Raw: "1.0.0")
               A: android:compileSdkVersion(0x01010572)=(type 0x10)0x1f
               A: android:compileSdkVersionCodename(0x01010573)="12" (Raw: "12")
               A: package="com.example.test" (Raw: "com.example.test")
               A: platformBuildVersionCode=(type 0x10)0x1f
               A: platformBuildVersionName=(type 0x10)0xc
               E: uses-sdk (line=7)
                 A: android:minSdkVersion(0x0101020c)=(type 0x10)0x10
                 A: android:targetSdkVersion(0x01010270)=(type 0x10)0x1f
               E: uses-permission (line=14)
                 A: android:name(0x01010003)="android.permission.INTERNET" (Raw: "android.permission.INTERNET")
               E: application (line=16)
                 A: android:label(0x01010001)="test" (Raw: "test")
                 A: android:icon(0x01010002)=@0x7f080000
                 A: android:name(0x01010003)="android.app.Application" (Raw: "android.app.Application")
                 A: android:debuggable(0x0101000f)=(type 0x12)0xffffffff
                 A: android:appComponentFactory(0x0101057a)="androidx.core.app.CoreComponentFactory" (Raw: "androidx.core.app.CoreComponentFactory")
                 E: activity (line=22)
                   A: android:theme(0x01010000)=@0x7f0a0000
                   A: android:name(0x01010003)="com.example.test.MainActivity" (Raw: "com.example.test.MainActivity")
                   A: android:exported(0x01010010)=(type 0x12)0xffffffff
                   A: android:launchMode(0x0101001d)=(type 0x10)0x1
                   A: android:configChanges(0x0101001f)=(type 0x11)0x40003fb4
                   A: android:windowSoftInputMode(0x0101022b)=(type 0x11)0x10
                   A: android:hardwareAccelerated(0x010102d3)=(type 0x12)0xffffffff
                   E: meta-data (line=37)
                     A: android:name(0x01010003)="io.flutter.embedding.android.NormalTheme" (Raw: "io.flutter.embedding.android.NormalTheme")
                     A: android:resource(0x01010025)=@0x7f0a0001
                   E: intent-filter (line=41)
                     E: action (line=42)
                       A: android:name(0x01010003)="android.intent.action.MAIN" (Raw: "android.intent.action.MAIN")
                     E: category (line=44)
                       A: android:name(0x01010003)="android.intent.category.LAUNCHER" (Raw: "android.intent.category.LAUNCHER")
                 E: meta-data (line=51)
                   A: android:name(0x01010003)="flutterEmbedding" (Raw: "flutterEmbedding")
                   A: android:value(0x01010024)=(type 0x10)0x2
                 E: uses-library (line=55)
                   A: android:name(0x01010003)="androidx.window.extensions" (Raw: "androidx.window.extensions")
                   A: android:required(0x0101028e)=(type 0x12)0x0
                 E: uses-library (line=58)
                   A: android:name(0x01010003)="androidx.window.sidecar" (Raw: "androidx.window.sidecar")
                   A: android:required(0x0101028e)=(type 0x12)0x0
[   +3 ms] executing: /Users/wangyy/Library/Android/sdk/platform-tools/adb -s emulator-5554 shell -x logcat -v time -t 1
[   +5 ms] <- compile package:test/main.dart
[  +46 ms] --------- beginning of main
           06-03 21:28:56.573 I/Finsky  (11606): [54] got.run(36): Stats for Executor: bgExecutor iwk@946388[Running, pool size = 4, active threads = 0, queued tasks = 0, completed tasks
           = 330]
[   +6 ms] executing: /Users/wangyy/Library/Android/sdk/platform-tools/adb version
[  +13 ms] Android Debug Bridge version 1.0.41
           Version 33.0.0-8141338
           Installed as /Users/wangyy/Library/Android/sdk/platform-tools/adb
[   +1 ms] executing: /Users/wangyy/Library/Android/sdk/platform-tools/adb start-server
[  +18 ms] Building APK
[   +9 ms] Running Gradle task 'assembleDebug'...
[   +2 ms] Using gradle from /Users/wangyy/Documents/Others/FlutterTest/android/gradlew.
[  +71 ms] executing: /usr/bin/plutil -convert xml1 -o - /Applications/Android Studio.app/Contents/Info.plist
[   +9 ms] Exit code 0 from: /usr/bin/plutil -convert xml1 -o - /Applications/Android Studio.app/Contents/Info.plist
[        ] <?xml version="1.0" encoding="UTF-8"?>
           <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
           <plist version="1.0">
           <dict>
           	<key>CFBundleDevelopmentRegion</key>
           	<string>English</string>
           	<key>CFBundleDocumentTypes</key>
           	<array>
           		<dict>
           			<key>CFBundleTypeExtensions</key>
           			<array>
           				<string>ipr</string>
           			</array>
           			<key>CFBundleTypeIconFile</key>
           			<string>studio.icns</string>
           			<key>CFBundleTypeName</key>
           			<string>Android Studio Project File</string>
           			<key>CFBundleTypeRole</key>
           			<string>Editor</string>
           		</dict>
           		<dict>
           			<key>CFBundleTypeExtensions</key>
           			<array>
           				<string>*</string>
           			</array>
           			<key>CFBundleTypeName</key>
           			<string>All documents</string>
           			<key>CFBundleTypeOSTypes</key>
           			<array>
           				<string>****</string>
           			</array>
           			<key>CFBundleTypeRole</key>
           			<string>Editor</string>
           			<key>LSTypeIsPackage</key>
           			<false/>
           		</dict>
           	</array>
           	<key>CFBundleExecutable</key>
           	<string>studio</string>
           	<key>CFBundleGetInfoString</key>
           	<string>Android Studio 2021.1, build AI-211.7628.21.2111.8193401. Copyright JetBrains s.r.o., (c) 2000-2022</string>
           	<key>CFBundleIconFile</key>
           	<string>studio.icns</string>
           	<key>CFBundleIdentifier</key>
           	<string>com.google.android.studio</string>
           	<key>CFBundleInfoDictionaryVersion</key>
           	<string>6.0</string>
           	<key>CFBundleName</key>
           	<string>Android Studio</string>
           	<key>CFBundlePackageType</key>
           	<string>APPL</string>
           	<key>CFBundleShortVersionString</key>
           	<string>2021.1</string>
           	<key>CFBundleSignature</key>
           	<string>????</string>
           	<key>CFBundleURLTypes</key>
           	<array>
           		<dict>
           			<key>CFBundleTypeRole</key>
           			<string>Editor</string>
           			<key>CFBundleURLName</key>
           			<string>Stacktrace</string>
           			<key>CFBundleURLSchemes</key>
           			<array>
           				<string>idea</string>
           			</array>
           		</dict>
           	</array>
           	<key>CFBundleVersion</key>
           	<string>AI-211.7628.21.2111.8193401</string>
           	<key>JVMOptions</key>
           	<dict>
           		<key>ClassPath</key>
           		<string>$APP_PACKAGE/Contents/lib/bootstrap.jar:$APP_PACKAGE/Contents/lib/util.jar:$APP_PACKAGE/Contents/lib/jdom.jar:$APP_PACKAGE/Contents/lib/log4j.jar:$APP_PACKAGE/Content
           		s/lib/jna.jar</string>
           		<key>JVMVersion</key>
           		<string>1.8*,1.8+</string>
           		<key>MainClass</key>
           		<string>com.intellij.idea.Main</string>
           		<key>Properties</key>
           		<dict>
           			<key>idea.executable</key>
           			<string>studio</string>
           			<key>idea.home.path</key>
           			<string>$APP_PACKAGE/Contents</string>
           			<key>idea.paths.selector</key>
           			<string>AndroidStudio2021.1</string>
           			<key>idea.platform.prefix</key>
           			<string>AndroidStudio</string>
           			<key>idea.vendor.name</key>
           			<string>Google</string>
           		</dict>
           	</dict>
           	<key>LSApplicationCategoryType</key>
           	<string>public.app-category.developer-tools</string>
           	<key>LSArchitecturePriority</key>
           	<array>
           		<string>arm64</string>
           		<string>x86_64</string>
           	</array>
           	<key>LSMinimumSystemVersion</key>
           	<string>10.8</string>
           	<key>LSRequiresNativeExecution</key>
           	<string>YES</string>
           	<key>NSBluetoothAlwaysUsageDescription</key>
           	<string>An application in Android Studio requests access to Bluetooth.</string>
           	<key>NSCameraUsageDescription</key>
           	<string>An application in Android Studio requests access to the device's camera.</string>
           	<key>NSDesktopFolderUsageDescription</key>
           	<string>An application in Android Studio requests access to the user's Desktop folder.</string>
           	<key>NSDocumentsFolderUsageDescription</key>
           	<string>An application in Android Studio requests access to the user's Documents folder.</string>
           	<key>NSDownloadsFolderUsageDescription</key>
           	<string>An application in Android Studio requests access to the user's Downloads folder.</string>
           	<key>NSHighResolutionCapable</key>
           	<true/>
           	<key>NSLocationUsageDescription</key>
           	<string>An application in Android Studio requests access to the user's location information.</string>
           	<key>NSMicrophoneUsageDescription</key>
           	<string>An application in Android Studio requests access to the device's microphone.</string>
           	<key>NSNetworkVolumesUsageDescription</key>
           	<string>An application in Android Studio requests access to files on a network volume.</string>
           	<key>NSRemovableVolumesUsageDescription</key>
           	<string>An application in Android Studio requests access to files on a removable volume.</string>
           	<key>NSSupportsAutomaticGraphicsSwitching</key>
           	<true/>
           </dict>
           </plist>
[   +5 ms] executing: /Applications/Android Studio.app/Contents/jre/Contents/Home/bin/java -version
[ +165 ms] Exit code 0 from: /Applications/Android Studio.app/Contents/jre/Contents/Home/bin/java -version
[        ] openjdk version "11.0.11" 2021-04-20
           OpenJDK Runtime Environment (build 11.0.11+0-b60-7772763)
           OpenJDK 64-Bit Server VM (build 11.0.11+0-b60-7772763, mixed mode)
[   +1 ms] executing: [/Users/wangyy/Documents/Others/FlutterTest/android/] /Users/wangyy/Documents/Others/FlutterTest/android/gradlew -Pverbose=true -Ptarget-platform=android-arm64
-Ptarget=/Users/wangyy/Documents/Others/FlutterTest/lib/main.dart -Pbase-application-name=android.app.Application -Pdart-defines=RkxVVFRFUl9XRUJfQVVUT19ERVRFQ1Q9dHJ1ZQ==
-Pdart-obfuscation=false -Ptrack-widget-creation=true -Ptree-shake-icons=false -Pfilesystem-scheme=org-dartlang-root assembleDebug
[ +602 ms] Starting a Gradle Daemon (subsequent builds will be faster)
[+3899 ms] > Task :app:compileFlutterBuildDebug UP-TO-DATE
[  +95 ms] > Task :app:packLibsflutterBuildDebug UP-TO-DATE
[        ] > Task :app:preBuild UP-TO-DATE
[        ] > Task :app:preDebugBuild UP-TO-DATE
[        ] > Task :app:compileDebugAidl NO-SOURCE
[        ] > Task :app:compileDebugRenderscript NO-SOURCE
[        ] > Task :app:generateDebugBuildConfig UP-TO-DATE
[  +98 ms] > Task :app:checkDebugAarMetadata UP-TO-DATE
[        ] > Task :app:cleanMergeDebugAssets
[        ] > Task :app:mergeDebugShaders UP-TO-DATE
[        ] > Task :app:compileDebugShaders NO-SOURCE
[        ] > Task :app:generateDebugAssets UP-TO-DATE
[        ] > Task :app:mergeDebugAssets
[ +299 ms] > Task :app:copyFlutterAssetsDebug
[        ] > Task :app:generateDebugResValues UP-TO-DATE
[        ] > Task :app:generateDebugResources UP-TO-DATE
[        ] > Task :app:mergeDebugResources UP-TO-DATE
[        ] > Task :app:createDebugCompatibleScreenManifests UP-TO-DATE
[        ] > Task :app:extractDeepLinksDebug UP-TO-DATE
[        ] > Task :app:processDebugMainManifest UP-TO-DATE
[        ] > Task :app:processDebugManifest UP-TO-DATE
[        ] > Task :app:processDebugManifestForPackage UP-TO-DATE
[ +104 ms] > Task :app:processDebugResources UP-TO-DATE
[ +196 ms] > 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:mergeDebugNativeDebugMetadata NO-SOURCE
[        ] > Task :app:compressDebugAssets UP-TO-DATE
[        ] > Task :app:processDebugJavaRes NO-SOURCE
[ +100 ms] > Task :app:mergeDebugJavaResource UP-TO-DATE
[        ] > Task :app:checkDebugDuplicateClasses UP-TO-DATE
[        ] > Task :app:dexBuilderDebug UP-TO-DATE
[        ] > Task :app:desugarDebugFileDependencies UP-TO-DATE
[        ] > Task :app:mergeExtDexDebug UP-TO-DATE
[        ] > Task :app:mergeDexDebug UP-TO-DATE
[        ] > Task :app:mergeDebugJniLibFolders UP-TO-DATE
[        ] > Task :app:mergeDebugNativeLibs UP-TO-DATE
[        ] > Task :app:stripDebugDebugSymbols UP-TO-DATE
[        ] > Task :app:validateSigningDebug UP-TO-DATE
[        ] > Task :app:packageDebug UP-TO-DATE
[ +149 ms] > Task :app:assembleDebug
[        ] Deprecated Gradle features were used in this build, making it incompatible with Gradle 7.0.
[        ] Use '--warning-mode all' to show the individual deprecation warnings.
[        ] See https://docs.gradle.org/6.7/userguide/command_line_interface.html#sec:command_line_warnings
[        ] BUILD SUCCESSFUL in 5s
[        ] 32 actionable tasks: 4 executed, 28 up-to-date
[ +385 ms] Running Gradle task 'assembleDebug'... (completed in 6.2s)
[  +24 ms] calculateSha: LocalDirectory: '/Users/wangyy/Documents/Others/FlutterTest/build/app/outputs/flutter-apk'/app.apk
[ +549 ms] ✓  Built build/app/outputs/flutter-apk/app-debug.apk.
[   +1 ms] executing: /Users/wangyy/Library/Android/sdk/build-tools/32.1.0-rc1/aapt dump xmltree /Users/wangyy/Documents/Others/FlutterTest/build/app/outputs/flutter-apk/app.apk
AndroidManifest.xml
[  +19 ms] Exit code 0 from: /Users/wangyy/Library/Android/sdk/build-tools/32.1.0-rc1/aapt dump xmltree /Users/wangyy/Documents/Others/FlutterTest/build/app/outputs/flutter-apk/app.apk
AndroidManifest.xml
[        ] N: android=http://schemas.android.com/apk/res/android
             E: manifest (line=2)
               A: android:versionCode(0x0101021b)=(type 0x10)0x1
               A: android:versionName(0x0101021c)="1.0.0" (Raw: "1.0.0")
               A: android:compileSdkVersion(0x01010572)=(type 0x10)0x1f
               A: android:compileSdkVersionCodename(0x01010573)="12" (Raw: "12")
               A: package="com.example.test" (Raw: "com.example.test")
               A: platformBuildVersionCode=(type 0x10)0x1f
               A: platformBuildVersionName=(type 0x10)0xc
               E: uses-sdk (line=7)
                 A: android:minSdkVersion(0x0101020c)=(type 0x10)0x10
                 A: android:targetSdkVersion(0x01010270)=(type 0x10)0x1f
               E: uses-permission (line=14)
                 A: android:name(0x01010003)="android.permission.INTERNET" (Raw: "android.permission.INTERNET")
               E: application (line=16)
                 A: android:label(0x01010001)="test" (Raw: "test")
                 A: android:icon(0x01010002)=@0x7f080000
                 A: android:name(0x01010003)="android.app.Application" (Raw: "android.app.Application")
                 A: android:debuggable(0x0101000f)=(type 0x12)0xffffffff
                 A: android:appComponentFactory(0x0101057a)="androidx.core.app.CoreComponentFactory" (Raw: "androidx.core.app.CoreComponentFactory")
                 E: activity (line=22)
                   A: android:theme(0x01010000)=@0x7f0a0000
                   A: android:name(0x01010003)="com.example.test.MainActivity" (Raw: "com.example.test.MainActivity")
                   A: android:exported(0x01010010)=(type 0x12)0xffffffff
                   A: android:launchMode(0x0101001d)=(type 0x10)0x1
                   A: android:configChanges(0x0101001f)=(type 0x11)0x40003fb4
                   A: android:windowSoftInputMode(0x0101022b)=(type 0x11)0x10
                   A: android:hardwareAccelerated(0x010102d3)=(type 0x12)0xffffffff
                   E: meta-data (line=37)
                     A: android:name(0x01010003)="io.flutter.embedding.android.NormalTheme" (Raw: "io.flutter.embedding.android.NormalTheme")
                     A: android:resource(0x01010025)=@0x7f0a0001
                   E: intent-filter (line=41)
                     E: action (line=42)
                       A: android:name(0x01010003)="android.intent.action.MAIN" (Raw: "android.intent.action.MAIN")
                     E: category (line=44)
                       A: android:name(0x01010003)="android.intent.category.LAUNCHER" (Raw: "android.intent.category.LAUNCHER")
                 E: meta-data (line=51)
                   A: android:name(0x01010003)="flutterEmbedding" (Raw: "flutterEmbedding")
                   A: android:value(0x01010024)=(type 0x10)0x2
                 E: uses-library (line=55)
                   A: android:name(0x01010003)="androidx.window.extensions" (Raw: "androidx.window.extensions")
                   A: android:required(0x0101028e)=(type 0x12)0x0
                 E: uses-library (line=58)
                   A: android:name(0x01010003)="androidx.window.sidecar" (Raw: "androidx.window.sidecar")
                   A: android:required(0x0101028e)=(type 0x12)0x0
[        ] Stopping app 'app.apk' on sdk gphone64 arm64.
[        ] executing: /Users/wangyy/Library/Android/sdk/platform-tools/adb -s emulator-5554 shell am force-stop com.example.test
[ +138 ms] executing: /Users/wangyy/Library/Android/sdk/platform-tools/adb -s emulator-5554 shell pm list packages com.example.test
[  +38 ms] package:com.example.test
[   +1 ms] executing: /Users/wangyy/Library/Android/sdk/platform-tools/adb -s emulator-5554 shell cat /data/local/tmp/sky.com.example.test.sha1
[  +51 ms] f7e45b268d3336eb1bf108853628852fdb1b8fac
[        ] Latest build already installed.
[        ] executing: /Users/wangyy/Library/Android/sdk/platform-tools/adb -s emulator-5554 shell -x logcat -v time -t 1
[  +39 ms] --------- beginning of main
           06-03 21:29:04.678 I/GsaVoiceInteractionSrv( 1441): Cannot start hotword, hotword has been explicitly disabled.
[   +6 ms] executing: /Users/wangyy/Library/Android/sdk/platform-tools/adb -s emulator-5554 shell am start -a android.intent.action.RUN -f 0x20000000 --ez enable-dart-profiling true --ez
enable-checked-mode true --ez verify-entry-points true com.example.test/com.example.test.MainActivity
[  +52 ms] Starting: Intent { act=android.intent.action.RUN flg=0x20000000 cmp=com.example.test/.MainActivity (has extras) }
[        ] Waiting for observatory port to be available...
[ +473 ms] Observatory URL on device: http://127.0.0.1:43159/wxhLb1p6aMI=/
[        ] executing: /Users/wangyy/Library/Android/sdk/platform-tools/adb -s emulator-5554 forward tcp:0 tcp:43159
[  +18 ms] 53528
[        ] Forwarded host port 53528 to device port 43159 for Observatory
[   +3 ms] Caching compiled dill
[  +30 ms] Connecting to service protocol: http://127.0.0.1:53528/wxhLb1p6aMI=/
[ +119 ms] Launching a Dart Developer Service (DDS) instance at http://127.0.0.1:0, connecting to VM service at http://127.0.0.1:53528/wxhLb1p6aMI=/.
[  +79 ms] DDS is listening at http://127.0.0.1:53531/fq-LPvywtwU=/.
[  +30 ms] Successfully connected to service protocol: http://127.0.0.1:53528/wxhLb1p6aMI=/
[  +38 ms] DevFS: Creating new filesystem on the device (null)
[  +20 ms] DevFS: Created new filesystem on the device (file:///data/user/0/com.example.test/code_cache/FlutterTestLTLDJQ/FlutterTest/)
[   +1 ms] Updating assets
[  +44 ms] Syncing files to device sdk gphone64 arm64...
[        ] <- reset
[        ] Compiling dart to kernel with 0 updated files
[        ] Processing bundle.
[        ] <- recompile package:test/main.dart adeb0e08-aa51-4ed7-b79a-05d5491b97f4
[        ] <- adeb0e08-aa51-4ed7-b79a-05d5491b97f4
[        ] Bundle processing done.
[  +42 ms] Updating files.
[        ] DevFS: Sync finished
[        ] Syncing files to device sdk gphone64 arm64... (completed in 44ms)
[        ] Synced 0.0MB.
[        ] <- accept
[   +3 ms] Connected to _flutterView/0xb400006ed40c7530.
[   +1 ms] Flutter run key commands.
[        ] r Hot reload. 🔥🔥🔥
[        ] R Hot restart.
[        ] h List all available interactive commands.
[        ] d Detach (terminate "flutter run" but leave application running).
[        ] c Clear the screen
[        ] q Quit (terminate the application on the device).
[        ] 💪 Running with sound null safety 💪
[        ] An Observatory debugger and profiler on sdk gphone64 arm64 is available at: http://127.0.0.1:53531/fq-LPvywtwU=/
[ +118 ms] The Flutter DevTools debugger and profiler on sdk gphone64 arm64 is available at: http://127.0.0.1:9102?uri=http://127.0.0.1:53531/fq-LPvywtwU=/



```

<!--
     Run `flutter analyze` and attach any output of that command below.
     If there are any analysis errors, try resolving them before filing this issue.
-->

```
Analyzing FlutterTest...                                                
No issues found! (ran in 1.2s)
```

</details>


<!-- Finally, paste the output of running `flutter doctor -v` here. -->

<details>
<summary>flutter doctor -v</summary>

```bash
[✓] Flutter (Channel stable, 3.0.1, on macOS 12.2.1 21D62 darwin-arm, locale en-SG)
    • Flutter version 3.0.1 at /Users/wangyy/.flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision fb57da5f94 (2 weeks ago), 2022-05-19 15:50:29 -0700
    • Engine revision caaafc5604
    • Dart version 2.17.1
    • DevTools version 2.12.2

[✓] Android toolchain - develop for Android devices (Android SDK version 32.1.0-rc1)
    • Android SDK at /Users/wangyy/Library/Android/sdk
    • Platform android-32, build-tools 32.1.0-rc1
    • Java binary at: /Applications/Android Studio.app/Contents/jre/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.11+0-b60-7772763)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 13.2.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • CocoaPods version 1.11.3

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2021.1)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.11+0-b60-7772763)

[✓] VS Code (version 1.67.2)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.42.0

[✓] Connected device (4 available)
    • sdk gphone64 arm64 (mobile)    • emulator-5554                            • android-arm64  • Android 12 (API 32) (emulator)
    • Yanni’s iPhone 8 plus (mobile) • 3be87361c4457fbc9a39b5fe73a980755cd94568 • ios            • iOS 14.4 18D52
    • macOS (desktop)                • macos                                    • darwin-arm64   • macOS 12.2.1 21D62 darwin-arm
    • Chrome (web)                   • chrome                                   • web-javascript • Google Chrome 102.0.5005.61

[✓] HTTP Host Availability
    • All required HTTP hosts are available

• No issues found!
```
</details>

<!--
      Consider also attaching screenshots and/or videos to better
      illustrate the issue.

      You can upload them directly on GitHub.
      Beware that video file size is limited to 10MB.
-->