Skip to content

[camera] [BUG] Flutter camera crashes on android on using takePicture while VideoRecording is going on #94994

Closed

Description

@as1605

I was writing a screen for an app which records the video and allows you take a snapshot. App unexpectedly crashes (gets killed) on Android device (Redmi 9 Prime) without any error message in console, just Lost connection to device., even if I pause recording and then try. But this works fine on flutter web.

Steps to Reproduce

  1. Execute flutter run on the code sample
  2. Give permissions
  3. Press "Start Record"
  4. Press "Take Snapshot"

Expected results:
Should take photo
Actual results:
App crashes on android

Code sample
import 'dart:async';

import 'package:camera/camera.dart';
import 'package:flutter/material.dart';

Future<void> main() async {
  WidgetsFlutterBinding.ensureInitialized();
  final firstCamera = (await availableCameras()).first;
  runApp(MaterialApp(
      theme: ThemeData.dark(), home: TakePictureScreen(camera: firstCamera)));
}

class TakePictureScreen extends StatefulWidget {
  const TakePictureScreen({
    Key? key,
    required this.camera,
  }) : super(key: key);

  final CameraDescription camera;

  @override
  TakePictureScreenState createState() => TakePictureScreenState();
}

class TakePictureScreenState extends State<TakePictureScreen> {
  late CameraController _controller;
  late Future<void> _initializeControllerFuture;
  bool _isRecording = false;

  void start() async {
    print("start");
    try {
      await _initializeControllerFuture;
      await _controller.prepareForVideoRecording();
      await _controller.startVideoRecording();
      setState(() => _isRecording = true);
    } catch (e) {
      print(e);
    }
  }

  void stop() async {
    print("stop");
    try {
      setState(() => _isRecording = false);
      final _file = await _controller.stopVideoRecording();
      print(_file.path);
    } catch (e) {
      print(e);
    }
  }

  void snap() async {
    print("snap");
    try {
      await _initializeControllerFuture;
      final _img = await _controller.takePicture();
      print(_img.path);
    } catch (e) {
      print(e);
    }
  }

  void snapPause() async {
    print("snapPause");
    try {
      await _initializeControllerFuture;
      await _controller.pauseVideoRecording();
      print("paused");
      final _img = await _controller.takePicture();
      print(_img.path);
      await _controller.resumeVideoRecording();
    } catch (e) {
      print(e);
    }
  }

  @override
  void initState() {
    super.initState();
    _controller = CameraController(
      widget.camera,
      ResolutionPreset.medium,
    );
    _initializeControllerFuture = _controller.initialize();
  }

  @override
  void dispose() {
    _controller.dispose();
    super.dispose();
  }

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(title: const Text('Take a picture')),
      body: FutureBuilder<void>(
        future: _initializeControllerFuture,
        builder: (context, snapshot) {
          if (snapshot.connectionState == ConnectionState.done) {
            return Column(children: [
              ElevatedButton(
                  onPressed: _isRecording ? stop : start,
                  child: _isRecording
                      ? const Text("Stop Record")
                      : const Text("Start Record")),
              ElevatedButton(
                  onPressed: snap, child: const Text("Take Snapshot")),
              ElevatedButton(
                  onPressed: snapPause,
                  child: const Text("Pause, SnapShot, Resume")),
              CameraPreview(_controller)
            ]);
          } else {
            return const Center(child: CircularProgressIndicator());
          }
        },
      ),
    );
  }
}
Logs
[ +146 ms] executing: sysctl hw.optional.arm64
[  +36 ms] Exit code 0 from: sysctl hw.optional.arm64
[  +10 ms] hw.optional.arm64: 1
[  +11 ms] executing: [/Users/adityasingh/desktop/codes/devclub/flutter/] git -c log.showSignature=false log -n 1 --pretty=format:%H
[  +41 ms] Exit code 0 from: git -c log.showSignature=false log -n 1 --pretty=format:%H
[   +1 ms] cf4400006550b70f28e4b4af815151d1e74846c6
[   +1 ms] executing: [/Users/adityasingh/desktop/codes/devclub/flutter/] git tag --points-at cf4400006550b70f28e4b4af815151d1e74846c6
[ +118 ms] Exit code 0 from: git tag --points-at cf4400006550b70f28e4b4af815151d1e74846c6
[   +1 ms] 2.8.0
[  +14 ms] executing: [/Users/adityasingh/desktop/codes/devclub/flutter/] git rev-parse --abbrev-ref --symbolic @{u}
[  +27 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{u}
[   +4 ms] origin/stable
[        ] executing: [/Users/adityasingh/desktop/codes/devclub/flutter/] git ls-remote --get-url origin
[  +18 ms] Exit code 0 from: git ls-remote --get-url origin
[        ] https://github.com/flutter/flutter.git
[ +161 ms] executing: [/Users/adityasingh/desktop/codes/devclub/flutter/] git rev-parse --abbrev-ref HEAD
[  +50 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD
[   +1 ms] stable
[  +34 ms] executing: sw_vers -productName
[  +42 ms] Exit code 0 from: sw_vers -productName
[   +7 ms] macOS
[        ] executing: sw_vers -productVersion
[  +18 ms] Exit code 0 from: sw_vers -productVersion
[  +26 ms] 12.0.1
[        ] executing: sw_vers -buildVersion
[  +19 ms] Exit code 0 from: sw_vers -buildVersion
[  +10 ms] 21A559
[  +73 ms] Artifact Instance of 'AndroidGenSnapshotArtifacts' 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.
[   +3 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.
[  +56 ms] executing: /Users/adityasingh/Library/Android/sdk/platform-tools/adb devices -l
[  +21 ms] executing: sysctl hw.optional.arm64
[  +13 ms] Exit code 0 from: sysctl hw.optional.arm64
[  +15 ms] hw.optional.arm64: 1
[        ] executing: /usr/bin/arch -arm64e xcrun xcodebuild -version
[ +913 ms] Exit code 0 from: /usr/bin/arch -arm64e xcrun xcodebuild -version
[        ] Xcode 13.1
           Build version 13A1030d
[   +5 ms] executing: /usr/bin/arch -arm64e xcrun xcdevice list --timeout 2
[  +20 ms] /usr/bin/arch -arm64e xcrun simctl list --json devices
[        ] executing: /usr/bin/arch -arm64e xcrun simctl list --json devices
[   +6 ms] executing: /usr/bin/arch -arm64e xcrun simctl list
[ +115 ms] Exit code 0 from: /usr/bin/arch -arm64e xcrun simctl list
[  +17 ms] == 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 13.7 (13.7 - 17H22) - com.apple.CoreSimulator.SimRuntime.iOS-13-7
           iOS 15.0 (15.0 - 19A339) - com.apple.CoreSimulator.SimRuntime.iOS-15-0
           tvOS 15.0 (15.0 - 19J344) - com.apple.CoreSimulator.SimRuntime.tvOS-15-0
           watchOS 8.0 (8.0 - 19R345) - com.apple.CoreSimulator.SimRuntime.watchOS-8-0
           == Devices ==
           -- iOS 13.7 --
               iPhone 8 (2ADB9463-6BC1-4D04-BDED-196D7E178106) (Shutdown) 
               iPhone 8 Plus (DE4FB73A-1CCE-4400-81F1-674376051B89) (Shutdown) 
               iPhone 11 (D930E053-F44C-4E12-9D08-2723039A95FD) (Shutdown) 
               iPhone 11 Pro (89AFE55F-EC36-482F-95F3-2605B9705ECB) (Shutdown) 
               iPhone 11 Pro Max (B3887590-408C-4F07-8684-BF4413BFF618) (Shutdown) 
               iPhone SE (2nd generation) (87056417-487A-4269-B281-262713BAEAAD) (Shutdown) 
               iPad Pro (9.7-inch) (9AD0BB0B-6178-4B0B-905D-036E4A4473AD) (Shutdown) 
               iPad (7th generation) (82AF850F-06A3-4796-834F-BAAAD1B321F2) (Shutdown) 
               iPad Pro (11-inch) (2nd generation) (8AB944D3-E6BE-4F93-9B14-90F7D3AF7C01) (Shutdown) 
               iPad Pro (12.9-inch) (4th generation) (AC97FD67-A776-43E9-8697-0CC697C06F72) (Shutdown) 
               iPad Air (3rd generation) (A0BB43D4-EE29-416F-853F-70BC579ECDA9) (Shutdown) 
           -- iOS 15.0 --
               iPhone 8 (4DC4033D-85C7-4B6D-A723-C46F4E7D4300) (Shutdown) 
               iPhone 8 Plus (EA67A259-12FD-4F1E-8E5B-F8C18E370CDD) (Shutdown) 
               iPhone 11 (C89A483B-9B59-44EB-982B-D797BF24E192) (Shutdown) 
               iPhone 11 Pro (30CDE01B-9070-445D-9531-C6F216004717) (Shutdown) 
               iPhone 11 Pro Max (85757FF2-DB06-4C37-8556-A9DD02ED8C85) (Shutdown) 
               iPhone SE (2nd generation) (D8FCB7A9-32AD-46A5-9174-29B56B1E830E) (Shutdown) 
               iPhone 12 mini (E5B34019-0D9E-4241-94C5-D478DD146132) (Shutdown) 
               iPhone 12 (F6B343E7-8127-41F8-BA85-AAC362E47462) (Shutdown) 
               iPhone 12 Pro (9E0F8D04-6975-4F16-A057-C237C8E59099) (Shutdown) 
               iPhone 12 Pro Max (10D9AAFA-5BA3-420F-859F-93833E62EA53) (Shutdown) 
               iPhone 12 Pro Max (806F2797-202A-45DD-A710-9F7FBAFA051E) (Shutdown) 
               iPhone 13 Pro (C8B83040-D2E1-4282-99FA-616B6D4CE991) (Shutdown) 
               iPhone 13 Pro Max (3B60261B-4190-4004-BC8E-4144EF2C8A19) (Shutdown) 
               iPhone 13 mini (28E2906F-1EA0-46A4-9132-973D6C3B528D) (Shutdown) 
               iPhone 13 (0544F0B2-A4F6-4CC8-87BF-D6212FCA3AC5) (Shutdown) 
               iPod touch (7th generation) (CCEECA9E-E092-49AE-BBA3-9B7A2754AA4E) (Shutdown) 
               iPad Pro (9.7-inch) (A113371E-698A-43D2-AEFE-2DC4DFA657CE) (Shutdown) 
               iPad (9th generation) (FCE94582-875F-4554-A405-53113B48CFED) (Shutdown) 
               iPad Air (4th generation) (C2761CBE-C147-47E1-86E9-D0B525720E48) (Shutdown) 
               iPad Pro (11-inch) (3rd generation) (C249AF2F-36E5-4118-A2D1-F6C3912EFF1B) (Shutdown) 
               iPad Pro (12.9-inch) (5th generation) (BEDB7D56-5A94-40A3-B204-FB3EDCC04F2C) (Shutdown) 
               iPad mini (6th generation) (988501C2-A038-44E8-8730-DA33FA2CC995) (Shutdown) 
           -- tvOS 15.0 --
               Apple TV (36A25F7F-3371-4146-ABDC-C7FE96EDC064) (Shutdown) 
               Apple TV 4K (2nd generation) (6CCAE4ED-63B3-4205-A191-997F73C4F6A7) (Shutdown) 
               Apple TV 4K (at 1080p) (2nd generation) (53A7108A-B566-4F15-AB78-A61CD15FD53E) (Shutdown) 
           -- watchOS 8.0 --
               Apple Watch Series 5 - 40mm (7421961D-2097-4CEA-8F47-5F08159ECDB8) (Shutdown) 
               Apple Watch Series 5 - 44mm (49C4236E-B711-407C-A14D-54BC64FD058D) (Shutdown) 
               Apple Watch Series 6 - 40mm (BC1CEBEC-17D2-4D8A-904A-0DA1AF7A8D1F) (Shutdown) 
               Apple Watch Series 6 - 44mm (810E2AC6-1B4F-4C7F-AD1D-0D9085E6FD53) (Shutdown) 
               Apple Watch Series 7 - 41mm (38AABD52-5DA9-456B-B205-50ED13EAFA35) (Shutdown) 
               Apple Watch Series 7 - 45mm (2E24B7CD-8FB0-4AB6-80E9-D651E4E6AABE) (Shutdown) 
           == Device Pairs ==
           85D4611E-61A0-424B-AE9B-C04A80F7F8D2 (active, disconnected)
               Watch: Apple Watch Series 5 - 40mm (7421961D-2097-4CEA-8F47-5F08159ECDB8) (Shutdown)
               Phone: iPhone 12 Pro (9E0F8D04-6975-4F16-A057-C237C8E59099) (Shutdown)
           5B2B60DA-53B2-4987-94B7-FF5A0CB1F8BB (active, disconnected)
               Watch: Apple Watch Series 5 - 44mm (49C4236E-B711-407C-A14D-54BC64FD058D) (Shutdown)
               Phone: iPhone 12 Pro Max (10D9AAFA-5BA3-420F-859F-93833E62EA53) (Shutdown)
           C6820BBB-4CA3-44B8-8435-0A3445632291 (active, disconnected)
               Watch: Apple Watch Series 6 - 40mm (BC1CEBEC-17D2-4D8A-904A-0DA1AF7A8D1F) (Shutdown)
               Phone: iPhone 13 Pro (C8B83040-D2E1-4282-99FA-616B6D4CE991) (Shutdown)
           B19B49A6-4AEF-41DA-8479-14D7470D9391 (active, disconnected)
               Watch: Apple Watch Series 6 - 44mm (810E2AC6-1B4F-4C7F-AD1D-0D9085E6FD53) (Shutdown)
               Phone: iPhone 13 Pro Max (3B60261B-4190-4004-BC8E-4144EF2C8A19) (Shutdown)
           33C93049-F8C5-4059-8F58-3FDEB4C5838B (active, disconnected)
               Watch: Apple Watch Series 7 - 41mm (38AABD52-5DA9-456B-B205-50ED13EAFA35) (Shutdown)
               Phone: iPhone 13 mini (28E2906F-1EA0-46A4-9132-973D6C3B528D) (Shutdown)
           66EFF502-3B97-4224-9F19-E256C1DF80C4 (active, disconnected)
               Watch: Apple Watch Series 7 - 45mm (2E24B7CD-8FB0-4AB6-80E9-D651E4E6AABE) (Shutdown)
               Phone: iPhone 13 (0544F0B2-A4F6-4CC8-87BF-D6212FCA3AC5) (Shutdown)
[  +81 ms] List of devices attached
           dd3cce400408           device usb:1048576X product:lancelot_in model:M2004J19C device:lancelot transport_id:8
[  +67 ms] {
             "devices" : {
               "com.apple.CoreSimulator.SimRuntime.iOS-15-0" : [
                 {
                   "dataPath" : "\/Users\/adityasingh\/Library\/Developer\/CoreSimulator\/Devices\/4DC4033D-85C7-4B6D-A723-C46F4E7D4300\/data",
                   "logPath" : "\/Users\/adityasingh\/Library\/Logs\/CoreSimulator\/4DC4033D-85C7-4B6D-A723-C46F4E7D4300",
                   "udid" : "4DC4033D-85C7-4B6D-A723-C46F4E7D4300",
                   "isAvailable" : true,
                   "deviceTypeIdentifier" : "com.apple.CoreSimulator.SimDeviceType.iPhone-8",
                   "state" : "Shutdown",
                   "name" : "iPhone 8"
                 },
                 {
                   "dataPath" : "\/Users\/adityasingh\/Library\/Developer\/CoreSimulator\/Devices\/EA67A259-12FD-4F1E-8E5B-F8C18E370CDD\/data",
                   "logPath" : "\/Users\/adityasingh\/Library\/Logs\/CoreSimulator\/EA67A259-12FD-4F1E-8E5B-F8C18E370CDD",
                   "udid" : "EA67A259-12FD-4F1E-8E5B-F8C18E370CDD",
                   "isAvailable" : true,
                   "deviceTypeIdentifier" : "com.apple.CoreSimulator.SimDeviceType.iPhone-8-Plus",
                   "state" : "Shutdown",
                   "name" : "iPhone 8 Plus"
                 },
                 {
                   "dataPath" : "\/Users\/adityasingh\/Library\/Developer\/CoreSimulator\/Devices\/C89A483B-9B59-44EB-982B-D797BF24E192\/data",
                   "logPath" : "\/Users\/adityasingh\/Library\/Logs\/CoreSimulator\/C89A483B-9B59-44EB-982B-D797BF24E192",
                   "udid" : "C89A483B-9B59-44EB-982B-D797BF24E192",
                   "isAvailable" : true,
                   "deviceTypeIdentifier" : "com.apple.CoreSimulator.SimDeviceType.iPhone-11",
                   "state" : "Shutdown",
                   "name" : "iPhone 11"
                 },
                 {
                   "dataPath" : "\/Users\/adityasingh\/Library\/Developer\/CoreSimulator\/Devices\/30CDE01B-9070-445D-9531-C6F216004717\/data",
                   "logPath" : "\/Users\/adityasingh\/Library\/Logs\/CoreSimulator\/30CDE01B-9070-445D-9531-C6F216004717",
                   "udid" : "30CDE01B-9070-445D-9531-C6F216004717",
                   "isAvailable" : true,
                   "deviceTypeIdentifier" : "com.apple.CoreSimulator.SimDeviceType.iPhone-11-Pro",
                   "state" : "Shutdown",
                   "name" : "iPhone 11 Pro"
                 },
                 {
                   "dataPath" : "\/Users\/adityasingh\/Library\/Developer\/CoreSimulator\/Devices\/85757FF2-DB06-4C37-8556-A9DD02ED8C85\/data",
                   "logPath" : "\/Users\/adityasingh\/Library\/Logs\/CoreSimulator\/85757FF2-DB06-4C37-8556-A9DD02ED8C85",
                   "udid" : "85757FF2-DB06-4C37-8556-A9DD02ED8C85",
                   "isAvailable" : true,
                   "deviceTypeIdentifier" : "com.apple.CoreSimulator.SimDeviceType.iPhone-11-Pro-Max",
                   "state" : "Shutdown",
                   "name" : "iPhone 11 Pro Max"
                 },
                 {
                   "dataPath" : "\/Users\/adityasingh\/Library\/Developer\/CoreSimulator\/Devices\/D8FCB7A9-32AD-46A5-9174-29B56B1E830E\/data",
                   "logPath" : "\/Users\/adityasingh\/Library\/Logs\/CoreSimulator\/D8FCB7A9-32AD-46A5-9174-29B56B1E830E",
                   "udid" : "D8FCB7A9-32AD-46A5-9174-29B56B1E830E",
                   "isAvailable" : true,
                   "deviceTypeIdentifier" : "com.apple.CoreSimulator.SimDeviceType.iPhone-SE--2nd-generation-",
                   "state" : "Shutdown",
                   "name" : "iPhone SE (2nd generation)"
                 },
                 {
                   "dataPath" : "\/Users\/adityasingh\/Library\/Developer\/CoreSimulator\/Devices\/E5B34019-0D9E-4241-94C5-D478DD146132\/data",
                   "logPath" : "\/Users\/adityasingh\/Library\/Logs\/CoreSimulator\/E5B34019-0D9E-4241-94C5-D478DD146132",
                   "udid" : "E5B34019-0D9E-4241-94C5-D478DD146132",
                   "isAvailable" : true,
                   "deviceTypeIdentifier" : "com.apple.CoreSimulator.SimDeviceType.iPhone-12-mini",
                   "state" : "Shutdown",
                   "name" : "iPhone 12 mini"
                 },
                 {
                   "dataPath" : "\/Users\/adityasingh\/Library\/Developer\/CoreSimulator\/Devices\/F6B343E7-8127-41F8-BA85-AAC362E47462\/data",
                   "logPath" : "\/Users\/adityasingh\/Library\/Logs\/CoreSimulator\/F6B343E7-8127-41F8-BA85-AAC362E47462",
                   "udid" : "F6B343E7-8127-41F8-BA85-AAC362E47462",
                   "isAvailable" : true,
                   "deviceTypeIdentifier" : "com.apple.CoreSimulator.SimDeviceType.iPhone-12",
                   "state" : "Shutdown",
                   "name" : "iPhone 12"
                 },
                 {
                   "dataPath" : "\/Users\/adityasingh\/Library\/Developer\/CoreSimulator\/Devices\/9E0F8D04-6975-4F16-A057-C237C8E59099\/data",
                   "logPath" : "\/Users\/adityasingh\/Library\/Logs\/CoreSimulator\/9E0F8D04-6975-4F16-A057-C237C8E59099",
                   "udid" : "9E0F8D04-6975-4F16-A057-C237C8E59099",
                   "isAvailable" : true,
                   "deviceTypeIdentifier" : "com.apple.CoreSimulator.SimDeviceType.iPhone-12-Pro",
                   "state" : "Shutdown",
                   "name" : "iPhone 12 Pro"
                 },
                 {
                   "dataPath" : "\/Users\/adityasingh\/Library\/Developer\/CoreSimulator\/Devices\/10D9AAFA-5BA3-420F-859F-93833E62EA53\/data",
                   "logPath" : "\/Users\/adityasingh\/Library\/Logs\/CoreSimulator\/10D9AAFA-5BA3-420F-859F-93833E62EA53",
                   "udid" : "10D9AAFA-5BA3-420F-859F-93833E62EA53",
                   "isAvailable" : true,
                   "deviceTypeIdentifier" : "com.apple.CoreSimulator.SimDeviceType.iPhone-12-Pro-Max",
                   "state" : "Shutdown",
                   "name" : "iPhone 12 Pro Max"
                 },
                 {
                   "dataPath" : "\/Users\/adityasingh\/Library\/Developer\/CoreSimulator\/Devices\/806F2797-202A-45DD-A710-9F7FBAFA051E\/data",
                   "logPath" : "\/Users\/adityasingh\/Library\/Logs\/CoreSimulator\/806F2797-202A-45DD-A710-9F7FBAFA051E",
                   "udid" : "806F2797-202A-45DD-A710-9F7FBAFA051E",
                   "isAvailable" : true,
                   "deviceTypeIdentifier" : "com.apple.CoreSimulator.SimDeviceType.iPhone-12-Pro-Max",
                   "state" : "Shutdown",
                   "name" : "iPhone 12 Pro Max"
                 },
                 {
                   "dataPath" : "\/Users\/adityasingh\/Library\/Developer\/CoreSimulator\/Devices\/C8B83040-D2E1-4282-99FA-616B6D4CE991\/data",
                   "logPath" : "\/Users\/adityasingh\/Library\/Logs\/CoreSimulator\/C8B83040-D2E1-4282-99FA-616B6D4CE991",
                   "udid" : "C8B83040-D2E1-4282-99FA-616B6D4CE991",
                   "isAvailable" : true,
                   "deviceTypeIdentifier" : "com.apple.CoreSimulator.SimDeviceType.iPhone-13-Pro",
                   "state" : "Shutdown",
                   "name" : "iPhone 13 Pro"
                 },
                 {
                   "dataPath" : "\/Users\/adityasingh\/Library\/Developer\/CoreSimulator\/Devices\/3B60261B-4190-4004-BC8E-4144EF2C8A19\/data",
                   "logPath" : "\/Users\/adityasingh\/Library\/Logs\/CoreSimulator\/3B60261B-4190-4004-BC8E-4144EF2C8A19",
                   "udid" : "3B60261B-4190-4004-BC8E-4144EF2C8A19",
                   "isAvailable" : true,
                   "deviceTypeIdentifier" : "com.apple.CoreSimulator.SimDeviceType.iPhone-13-Pro-Max",
                   "state" : "Shutdown",
                   "name" : "iPhone 13 Pro Max"
                 },
                 {
                   "dataPath" : "\/Users\/adityasingh\/Library\/Developer\/CoreSimulator\/Devices\/28E2906F-1EA0-46A4-9132-973D6C3B528D\/data",
                   "logPath" : "\/Users\/adityasingh\/Library\/Logs\/CoreSimulator\/28E2906F-1EA0-46A4-9132-973D6C3B528D",
                   "udid" : "28E2906F-1EA0-46A4-9132-973D6C3B528D",
                   "isAvailable" : true,
                   "deviceTypeIdentifier" : "com.apple.CoreSimulator.SimDeviceType.iPhone-13-mini",
                   "state" : "Shutdown",
                   "name" : "iPhone 13 mini"
                 },
                 {
                   "dataPath" : "\/Users\/adityasingh\/Library\/Developer\/CoreSimulator\/Devices\/0544F0B2-A4F6-4CC8-87BF-D6212FCA3AC5\/data",
                   "logPath" : "\/Users\/adityasingh\/Library\/Logs\/CoreSimulator\/0544F0B2-A4F6-4CC8-87BF-D6212FCA3AC5",
                   "udid" : "0544F0B2-A4F6-4CC8-87BF-D6212FCA3AC5",
                   "isAvailable" : true,
                   "deviceTypeIdentifier" : "com.apple.CoreSimulator.SimDeviceType.iPhone-13",
                   "state" : "Shutdown",
                   "name" : "iPhone 13"
                 },
                 {
                   "dataPath" : "\/Users\/adityasingh\/Library\/Developer\/CoreSimulator\/Devices\/CCEECA9E-E092-49AE-BBA3-9B7A2754AA4E\/data",
                   "logPath" : "\/Users\/adityasingh\/Library\/Logs\/CoreSimulator\/CCEECA9E-E092-49AE-BBA3-9B7A2754AA4E",
                   "udid" : "CCEECA9E-E092-49AE-BBA3-9B7A2754AA4E",
                   "isAvailable" : true,
                   "deviceTypeIdentifier" : "com.apple.CoreSimulator.SimDeviceType.iPod-touch--7th-generation-",
                   "state" : "Shutdown",
                   "name" : "iPod touch (7th generation)"
                 },
                 {
                   "dataPath" : "\/Users\/adityasingh\/Library\/Developer\/CoreSimulator\/Devices\/A113371E-698A-43D2-AEFE-2DC4DFA657CE\/data",
                   "logPath" : "\/Users\/adityasingh\/Library\/Logs\/CoreSimulator\/A113371E-698A-43D2-AEFE-2DC4DFA657CE",
                   "udid" : "A113371E-698A-43D2-AEFE-2DC4DFA657CE",
                   "isAvailable" : true,
                   "deviceTypeIdentifier" : "com.apple.CoreSimulator.SimDeviceType.iPad-Pro--9-7-inch-",
                   "state" : "Shutdown",
                   "name" : "iPad Pro (9.7-inch)"
                 },
                 {
                   "dataPath" : "\/Users\/adityasingh\/Library\/Developer\/CoreSimulator\/Devices\/FCE94582-875F-4554-A405-53113B48CFED\/data",
                   "logPath" : "\/Users\/adityasingh\/Library\/Logs\/CoreSimulator\/FCE94582-875F-4554-A405-53113B48CFED",
                   "udid" : "FCE94582-875F-4554-A405-53113B48CFED",
                   "isAvailable" : true,
                   "deviceTypeIdentifier" : "com.apple.CoreSimulator.SimDeviceType.iPad-9th-generation",
                   "state" : "Shutdown",
                   "name" : "iPad (9th generation)"
                 },
                 {
                   "dataPath" : "\/Users\/adityasingh\/Library\/Developer\/CoreSimulator\/Devices\/C2761CBE-C147-47E1-86E9-D0B525720E48\/data",
                   "logPath" : "\/Users\/adityasingh\/Library\/Logs\/CoreSimulator\/C2761CBE-C147-47E1-86E9-D0B525720E48",
                   "udid" : "C2761CBE-C147-47E1-86E9-D0B525720E48",
                   "isAvailable" : true,
                   "deviceTypeIdentifier" : "com.apple.CoreSimulator.SimDeviceType.iPad-Air--4th-generation-",
                   "state" : "Shutdown",
                   "name" : "iPad Air (4th generation)"
                 },
                 {
                   "dataPath" : "\/Users\/adityasingh\/Library\/Developer\/CoreSimulator\/Devices\/C249AF2F-36E5-4118-A2D1-F6C3912EFF1B\/data",
                   "logPath" : "\/Users\/adityasingh\/Library\/Logs\/CoreSimulator\/C249AF2F-36E5-4118-A2D1-F6C3912EFF1B",
                   "udid" : "C249AF2F-36E5-4118-A2D1-F6C3912EFF1B",
                   "isAvailable" : true,
                   "deviceTypeIdentifier" : "com.apple.CoreSimulator.SimDeviceType.iPad-Pro-11-inch-3rd-generation",
                   "state" : "Shutdown",
                   "name" : "iPad Pro (11-inch) (3rd generation)"
                 },
                 {
                   "dataPath" : "\/Users\/adityasingh\/Library\/Developer\/CoreSimulator\/Devices\/BEDB7D56-5A94-40A3-B204-FB3EDCC04F2C\/data",
                   "logPath" : "\/Users\/adityasingh\/Library\/Logs\/CoreSimulator\/BEDB7D56-5A94-40A3-B204-FB3EDCC04F2C",
                   "udid" : "BEDB7D56-5A94-40A3-B204-FB3EDCC04F2C",
                   "isAvailable" : true,
                   "deviceTypeIdentifier" : "com.apple.CoreSimulator.SimDeviceType.iPad-Pro-12-9-inch-5th-generation",
                   "state" : "Shutdown",
                   "name" : "iPad Pro (12.9-inch) (5th generation)"
                 },
                 {
                   "dataPath" : "\/Users\/adityasingh\/Library\/Developer\/CoreSimulator\/Devices\/988501C2-A038-44E8-8730-DA33FA2CC995\/data",
                   "logPath" : "\/Users\/adityasingh\/Library\/Logs\/CoreSimulator\/988501C2-A038-44E8-8730-DA33FA2CC995",
                   "udid" : "988501C2-A038-44E8-8730-DA33FA2CC995",
                   "isAvailable" : true,
                   "deviceTypeIdentifier" : "com.apple.CoreSimulator.SimDeviceType.iPad-mini-6th-generation",
                   "state" : "Shutdown",
                   "name" : "iPad mini (6th generation)"
                 }
               ],
               "com.apple.CoreSimulator.SimRuntime.tvOS-15-0" : [
                 {
                   "dataPath" : "\/Users\/adityasingh\/Library\/Developer\/CoreSimulator\/Devices\/36A25F7F-3371-4146-ABDC-C7FE96EDC064\/data",
                   "logPath" : "\/Users\/adityasingh\/Library\/Logs\/CoreSimulator\/36A25F7F-3371-4146-ABDC-C7FE96EDC064",
                   "udid" : "36A25F7F-3371-4146-ABDC-C7FE96EDC064",
                   "isAvailable" : true,
                   "deviceTypeIdentifier" : "com.apple.CoreSimulator.SimDeviceType.Apple-TV-1080p",
                   "state" : "Shutdown",
                   "name" : "Apple TV"
                 },
                 {
                   "dataPath" : "\/Users\/adityasingh\/Library\/Developer\/CoreSimulator\/Devices\/6CCAE4ED-63B3-4205-A191-997F73C4F6A7\/data",
                   "logPath" : "\/Users\/adityasingh\/Library\/Logs\/CoreSimulator\/6CCAE4ED-63B3-4205-A191-997F73C4F6A7",
                   "udid" : "6CCAE4ED-63B3-4205-A191-997F73C4F6A7",
                   "isAvailable" : true,
                   "deviceTypeIdentifier" : "com.apple.CoreSimulator.SimDeviceType.Apple-TV-4K-2nd-generation-4K",
                   "state" : "Shutdown",
                   "name" : "Apple TV 4K (2nd generation)"
                 },
                 {
                   "dataPath" : "\/Users\/adityasingh\/Library\/Developer\/CoreSimulator\/Devices\/53A7108A-B566-4F15-AB78-A61CD15FD53E\/data",
                   "logPath" : "\/Users\/adityasingh\/Library\/Logs\/CoreSimulator\/53A7108A-B566-4F15-AB78-A61CD15FD53E",
                   "udid" : "53A7108A-B566-4F15-AB78-A61CD15FD53E",
                   "isAvailable" : true,
                   "deviceTypeIdentifier" : "com.apple.CoreSimulator.SimDeviceType.Apple-TV-4K-2nd-generation-1080p",
                   "state" : "Shutdown",
                   "name" : "Apple TV 4K (at 1080p) (2nd generation)"
                 }
               ],
               "com.apple.CoreSimulator.SimRuntime.iOS-13-7" : [
                 {
                   "dataPath" : "\/Users\/adityasingh\/Library\/Developer\/CoreSimulator\/Devices\/2ADB9463-6BC1-4D04-BDED-196D7E178106\/data",
                   "logPath" : "\/Users\/adityasingh\/Library\/Logs\/CoreSimulator\/2ADB9463-6BC1-4D04-BDED-196D7E178106",
                   "udid" : "2ADB9463-6BC1-4D04-BDED-196D7E178106",
                   "isAvailable" : true,
                   "deviceTypeIdentifier" : "com.apple.CoreSimulator.SimDeviceType.iPhone-8",
                   "state" : "Shutdown",
                   "name" : "iPhone 8"
                 },
                 {
                   "dataPath" : "\/Users\/adityasingh\/Library\/Developer\/CoreSimulator\/Devices\/DE4FB73A-1CCE-4400-81F1-674376051B89\/data",
                   "logPath" : "\/Users\/adityasingh\/Library\/Logs\/CoreSimulator\/DE4FB73A-1CCE-4400-81F1-674376051B89",
                   "udid" : "DE4FB73A-1CCE-4400-81F1-674376051B89",
                   "isAvailable" : true,
                   "deviceTypeIdentifier" : "com.apple.CoreSimulator.SimDeviceType.iPhone-8-Plus",
                   "state" : "Shutdown",
                   "name" : "iPhone 8 Plus"
                 },
                 {
                   "dataPath" : "\/Users\/adityasingh\/Library\/Developer\/CoreSimulator\/Devices\/D930E053-F44C-4E12-9D08-2723039A95FD\/data",
                   "logPath" : "\/Users\/adityasingh\/Library\/Logs\/CoreSimulator\/D930E053-F44C-4E12-9D08-2723039A95FD",
                   "udid" : "D930E053-F44C-4E12-9D08-2723039A95FD",
                   "isAvailable" : true,
                   "deviceTypeIdentifier" : "com.apple.CoreSimulator.SimDeviceType.iPhone-11",
                   "state" : "Shutdown",
                   "name" : "iPhone 11"
                 },
                 {
                   "dataPath" : "\/Users\/adityasingh\/Library\/Developer\/CoreSimulator\/Devices\/89AFE55F-EC36-482F-95F3-2605B9705ECB\/data",
                   "logPath" : "\/Users\/adityasingh\/Library\/Logs\/CoreSimulator\/89AFE55F-EC36-482F-95F3-2605B9705ECB",
                   "udid" : "89AFE55F-EC36-482F-95F3-2605B9705ECB",
                   "isAvailable" : true,
                   "deviceTypeIdentifier" : "com.apple.CoreSimulator.SimDeviceType.iPhone-11-Pro",
                   "state" : "Shutdown",
                   "name" : "iPhone 11 Pro"
                 },
                 {
                   "dataPath" : "\/Users\/adityasingh\/Library\/Developer\/CoreSimulator\/Devices\/B3887590-408C-4F07-8684-BF4413BFF618\/data",
                   "logPath" : "\/Users\/adityasingh\/Library\/Logs\/CoreSimulator\/B3887590-408C-4F07-8684-BF4413BFF618",
                   "udid" : "B3887590-408C-4F07-8684-BF4413BFF618",
                   "isAvailable" : true,
                   "deviceTypeIdentifier" : "com.apple.CoreSimulator.SimDeviceType.iPhone-11-Pro-Max",
                   "state" : "Shutdown",
                   "name" : "iPhone 11 Pro Max"
                 },
                 {
                   "dataPath" : "\/Users\/adityasingh\/Library\/Developer\/CoreSimulator\/Devices\/87056417-487A-4269-B281-262713BAEAAD\/data",
                   "logPath" : "\/Users\/adityasingh\/Library\/Logs\/CoreSimulator\/87056417-487A-4269-B281-262713BAEAAD",
                   "udid" : "87056417-487A-4269-B281-262713BAEAAD",
                   "isAvailable" : true,
                   "deviceTypeIdentifier" : "com.apple.CoreSimulator.SimDeviceType.iPhone-SE--2nd-generation-",
                   "state" : "Shutdown",
                   "name" : "iPhone SE (2nd generation)"
                 },
                 {
                   "dataPath" : "\/Users\/adityasingh\/Library\/Developer\/CoreSimulator\/Devices\/9AD0BB0B-6178-4B0B-905D-036E4A4473AD\/data",
                   "logPath" : "\/Users\/adityasingh\/Library\/Logs\/CoreSimulator\/9AD0BB0B-6178-4B0B-905D-036E4A4473AD",
                   "udid" : "9AD0BB0B-6178-4B0B-905D-036E4A4473AD",
                   "isAvailable" : true,
                   "deviceTypeIdentifier" : "com.apple.CoreSimulator.SimDeviceType.iPad-Pro--9-7-inch-",
                   "state" : "Shutdown",
                   "name" : "iPad Pro (9.7-inch)"
                 },
                 {
                   "dataPath" : "\/Users\/adityasingh\/Library\/Developer\/CoreSimulator\/Devices\/82AF850F-06A3-4796-834F-BAAAD1B321F2\/data",
                   "logPath" : "\/Users\/adityasingh\/Library\/Logs\/CoreSimulator\/82AF850F-06A3-4796-834F-BAAAD1B321F2",
                   "udid" : "82AF850F-06A3-4796-834F-BAAAD1B321F2",
                   "isAvailable" : true,
                   "deviceTypeIdentifier" : "com.apple.CoreSimulator.SimDeviceType.iPad--7th-generation-",
                   "state" : "Shutdown",
                   "name" : "iPad (7th generation)"
                 },
                 {
                   "dataPath" : "\/Users\/adityasingh\/Library\/Developer\/CoreSimulator\/Devices\/8AB944D3-E6BE-4F93-9B14-90F7D3AF7C01\/data",
                   "logPath" : "\/Users\/adityasingh\/Library\/Logs\/CoreSimulator\/8AB944D3-E6BE-4F93-9B14-90F7D3AF7C01",
                   "udid" : "8AB944D3-E6BE-4F93-9B14-90F7D3AF7C01",
                   "isAvailable" : true,
                   "deviceTypeIdentifier" : "com.apple.CoreSimulator.SimDeviceType.iPad-Pro--11-inch---2nd-generation-",
                   "state" : "Shutdown",
                   "name" : "iPad Pro (11-inch) (2nd generation)"
                 },
                 {
                   "dataPath" : "\/Users\/adityasingh\/Library\/Developer\/CoreSimulator\/Devices\/AC97FD67-A776-43E9-8697-0CC697C06F72\/data",
                   "logPath" : "\/Users\/adityasingh\/Library\/Logs\/CoreSimulator\/AC97FD67-A776-43E9-8697-0CC697C06F72",
                   "udid" : "AC97FD67-A776-43E9-8697-0CC697C06F72",
                   "isAvailable" : true,
                   "deviceTypeIdentifier" : "com.apple.CoreSimulator.SimDeviceType.iPad-Pro--12-9-inch---4th-generation-",
                   "state" : "Shutdown",
                   "name" : "iPad Pro (12.9-inch) (4th generation)"
                 },
                 {
                   "dataPath" : "\/Users\/adityasingh\/Library\/Developer\/CoreSimulator\/Devices\/A0BB43D4-EE29-416F-853F-70BC579ECDA9\/data",
                   "logPath" : "\/Users\/adityasingh\/Library\/Logs\/CoreSimulator\/A0BB43D4-EE29-416F-853F-70BC579ECDA9",
                   "udid" : "A0BB43D4-EE29-416F-853F-70BC579ECDA9",
                   "isAvailable" : true,
                   "deviceTypeIdentifier" : "com.apple.CoreSimulator.SimDeviceType.iPad-Air--3rd-generation-",
                   "state" : "Shutdown",
                   "name" : "iPad Air (3rd generation)"
                 }
               ],
               "com.apple.CoreSimulator.SimRuntime.watchOS-8-0" : [
                 {
                   "dataPath" : "\/Users\/adityasingh\/Library\/Developer\/CoreSimulator\/Devices\/7421961D-2097-4CEA-8F47-5F08159ECDB8\/data",
                   "logPath" : "\/Users\/adityasingh\/Library\/Logs\/CoreSimulator\/7421961D-2097-4CEA-8F47-5F08159ECDB8",
                   "udid" : "7421961D-2097-4CEA-8F47-5F08159ECDB8",
                   "isAvailable" : true,
                   "deviceTypeIdentifier" : "com.apple.CoreSimulator.SimDeviceType.Apple-Watch-Series-5-40mm",
                   "state" : "Shutdown",
                   "name" : "Apple Watch Series 5 - 40mm"
                 },
                 {
                   "dataPath" : "\/Users\/adityasingh\/Library\/Developer\/CoreSimulator\/Devices\/49C4236E-B711-407C-A14D-54BC64FD058D\/data",
                   "logPath" : "\/Users\/adityasingh\/Library\/Logs\/CoreSimulator\/49C4236E-B711-407C-A14D-54BC64FD058D",
                   "udid" : "49C4236E-B711-407C-A14D-54BC64FD058D",
                   "isAvailable" : true,
                   "deviceTypeIdentifier" : "com.apple.CoreSimulator.SimDeviceType.Apple-Watch-Series-5-44mm",
                   "state" : "Shutdown",
                   "name" : "Apple Watch Series 5 - 44mm"
                 },
                 {
                   "dataPath" : "\/Users\/adityasingh\/Library\/Developer\/CoreSimulator\/Devices\/BC1CEBEC-17D2-4D8A-904A-0DA1AF7A8D1F\/data",
                   "logPath" : "\/Users\/adityasingh\/Library\/Logs\/CoreSimulator\/BC1CEBEC-17D2-4D8A-904A-0DA1AF7A8D1F",
                   "udid" : "BC1CEBEC-17D2-4D8A-904A-0DA1AF7A8D1F",
                   "isAvailable" : true,
                   "deviceTypeIdentifier" : "com.apple.CoreSimulator.SimDeviceType.Apple-Watch-Series-6-40mm",
                   "state" : "Shutdown",
                   "name" : "Apple Watch Series 6 - 40mm"
                 },
                 {
                   "dataPath" : "\/Users\/adityasingh\/Library\/Developer\/CoreSimulator\/Devices\/810E2AC6-1B4F-4C7F-AD1D-0D9085E6FD53\/data",
                   "logPath" : "\/Users\/adityasingh\/Library\/Logs\/CoreSimulator\/810E2AC6-1B4F-4C7F-AD1D-0D9085E6FD53",
                   "udid" : "810E2AC6-1B4F-4C7F-AD1D-0D9085E6FD53",
                   "isAvailable" : true,
                   "deviceTypeIdentifier" : "com.apple.CoreSimulator.SimDeviceType.Apple-Watch-Series-6-44mm",
                   "state" : "Shutdown",
                   "name" : "Apple Watch Series 6 - 44mm"
                 },
                 {
                   "dataPath" : "\/Users\/adityasingh\/Library\/Developer\/CoreSimulator\/Devices\/38AABD52-5DA9-456B-B205-50ED13EAFA35\/data",
                   "logPath" : "\/Users\/adityasingh\/Library\/Logs\/CoreSimulator\/38AABD52-5DA9-456B-B205-50ED13EAFA35",
                   "udid" : "38AABD52-5DA9-456B-B205-50ED13EAFA35",
                   "isAvailable" : true,
                   "deviceTypeIdentifier" : "com.apple.CoreSimulator.SimDeviceType.Apple-Watch-Series-7-41mm",
                   "state" : "Shutdown",
                   "name" : "Apple Watch Series 7 - 41mm"
                 },
                 {
                   "dataPath" : "\/Users\/adityasingh\/Library\/Developer\/CoreSimulator\/Devices\/2E24B7CD-8FB0-4AB6-80E9-D651E4E6AABE\/data",
                   "logPath" : "\/Users\/adityasingh\/Library\/Logs\/CoreSimulator\/2E24B7CD-8FB0-4AB6-80E9-D651E4E6AABE",
                   "udid" : "2E24B7CD-8FB0-4AB6-80E9-D651E4E6AABE",
                   "isAvailable" : true,
                   "deviceTypeIdentifier" : "com.apple.CoreSimulator.SimDeviceType.Apple-Watch-Series-7-45mm",
                   "state" : "Shutdown",
                   "name" : "Apple Watch Series 7 - 45mm"
                 }
               ]
             }
           }
[+3081 ms] [
             {
               "simulator" : true,
               "operatingSystemVersion" : "15.0 (19A339)",
               "available" : true,
               "platform" : "com.apple.platform.iphonesimulator",
               "modelCode" : "iPhone13,4",
               "identifier" : "10D9AAFA-5BA3-420F-859F-93833E62EA53",
               "architecture" : "arm64",
               "modelUTI" : "com.apple.iphone-12-pro-max-1",
               "modelName" : "iPhone 12 Pro Max",
               "name" : "iPhone 12 Pro Max"
             },
             {
               "simulator" : true,
               "operatingSystemVersion" : "15.0 (19A339)",
               "available" : true,
               "platform" : "com.apple.platform.iphonesimulator",
               "modelCode" : "iPhone13,1",
               "identifier" : "E5B34019-0D9E-4241-94C5-D478DD146132",
               "architecture" : "arm64",
               "modelUTI" : "com.apple.iphone-12-mini-1",
               "modelName" : "iPhone 12 mini",
               "name" : "iPhone 12 mini"
             },
             {
               "simulator" : true,
               "operatingSystemVersion" : "15.0 (19J344)",
               "available" : true,
               "platform" : "com.apple.platform.appletvsimulator",
               "modelCode" : "AppleTV5,3",
               "identifier" : "36A25F7F-3371-4146-ABDC-C7FE96EDC064",
               "architecture" : "arm64",
               "modelUTI" : "com.apple.apple-tv-4",
               "modelName" : "Apple TV",
               "name" : "Apple TV"
             },
             {
               "simulator" : true,
               "operatingSystemVersion" : "15.0 (19A339)",
               "available" : true,
               "platform" : "com.apple.platform.iphonesimulator",
               "modelCode" : "iPhone13,3",
               "identifier" : "9E0F8D04-6975-4F16-A057-C237C8E59099",
               "architecture" : "arm64",
               "modelUTI" : "com.apple.iphone-12-pro-1",
               "modelName" : "iPhone 12 Pro",
               "name" : "iPhone 12 Pro"
             },
             {
               "simulator" : true,
               "operatingSystemVersion" : "15.0 (19A339)",
               "available" : true,
               "platform" : "com.apple.platform.iphonesimulator",
               "modelCode" : "iPhone14,2",
               "identifier" : "C8B83040-D2E1-4282-99FA-616B6D4CE991",
               "architecture" : "arm64",
               "modelUTI" : "com.apple.iphone-13-pro-1",
               "modelName" : "iPhone 13 Pro",
               "name" : "iPhone 13 Pro"
             },
             {
               "simulator" : true,
               "operatingSystemVersion" : "8.0 (19R345)",
               "available" : true,
               "platform" : "com.apple.platform.watchsimulator",
               "modelCode" : "Watch6,1",
               "identifier" : "BC1CEBEC-17D2-4D8A-904A-0DA1AF7A8D1F",
               "architecture" : "arm64",
               "modelUTI" : "com.apple.watch-series6-1",
               "modelName" : "Apple Watch Series 6 - 40mm",
               "name" : "Apple Watch Series 6 - 40mm"
             },
             {
               "simulator" : true,
               "operatingSystemVersion" : "13.7 (17H22)",
               "available" : true,
               "platform" : "com.apple.platform.iphonesimulator",
               "modelCode" : "iPad8,12",
               "identifier" : "AC97FD67-A776-43E9-8697-0CC697C06F72",
               "architecture" : "x86_64",
               "modelUTI" : "com.apple.ipad-pro-12point9-4th-1",
               "modelName" : "iPad Pro (12.9-inch) (4th generation)",
               "name" : "iPad Pro (12.9-inch) (4th generation)"
             },
             {
               "simulator" : true,
               "operatingSystemVersion" : "15.0 (19J344)",
               "available" : true,
               "platform" : "com.apple.platform.appletvsimulator",
               "modelCode" : "AppleTV11,1",
               "identifier" : "6CCAE4ED-63B3-4205-A191-997F73C4F6A7",
               "architecture" : "arm64",
               "modelUTI" : "com.apple.apple-tv-4k-2nd",
               "modelName" : "Apple TV 4K (2nd generation)",
               "name" : "Apple TV 4K (2nd generation)"
             },
             {
               "simulator" : false,
               "operatingSystemVersion" : "12.0.1 (21A559)",
               "interface" : "usb",
               "available" : true,
               "platform" : "com.apple.platform.macosx",
               "modelCode" : "MacBookAir10,1",
               "identifier" : "00008103-000859A401EA001E",
               "architecture" : "arm64e",
               "modelUTI" : "com.apple.macbookair-late-2020",
               "modelName" : "MacBook Air",
               "name" : "My Mac"
             },
             {
               "simulator" : true,
               "operatingSystemVersion" : "13.7 (17H22)",
               "available" : true,
               "platform" : "com.apple.platform.iphonesimulator",
               "modelCode" : "iPhone10,5",
               "identifier" : "DE4FB73A-1CCE-4400-81F1-674376051B89",
               "architecture" : "x86_64",
               "modelUTI" : "com.apple.iphone-8-plus-2",
               "modelName" : "iPhone 8 Plus",
               "name" : "iPhone 8 Plus"
             },
             {
               "simulator" : true,
               "operatingSystemVersion" : "15.0 (19A339)",
               "available" : true,
               "platform" : "com.apple.platform.iphonesimulator",
               "modelCode" : "iPhone12,5",
               "identifier" : "85757FF2-DB06-4C37-8556-A9DD02ED8C85",
               "architecture" : "arm64",
               "modelUTI" : "com.apple.iphone-11-pro-max-1",
               "modelName" : "iPhone 11 Pro Max",
               "name" : "iPhone 11 Pro Max"
             },
             {
               "simulator" : true,
               "operatingSystemVersion" : "15.0 (19A339)",
               "available" : true,
               "platform" : "com.apple.platform.iphonesimulator",
               "modelCode" : "iPhone14,3",
               "identifier" : "3B60261B-4190-4004-BC8E-4144EF2C8A19",
               "architecture" : "arm64",
               "modelUTI" : "com.apple.iphone-13-pro-max-1",
               "modelName" : "iPhone 13 Pro Max",
               "name" : "iPhone 13 Pro Max"
             },
             {
               "simulator" : true,
               "operatingSystemVersion" : "8.0 (19R345)",
               "available" : true,
               "platform" : "com.apple.platform.watchsimulator",
               "modelCode" : "Watch5,4",
               "identifier" : "49C4236E-B711-407C-A14D-54BC64FD058D",
               "architecture" : "arm64",
               "modelUTI" : "com.apple.watch-series5-1",
               "modelName" : "Apple Watch Series 5 - 44mm",
               "name" : "Apple Watch Series 5 - 44mm"
             },
             {
               "simulator" : true,
               "operatingSystemVersion" : "15.0 (19A339)",
               "available" : true,
               "platform" : "com.apple.platform.iphonesimulator",
               "modelCode" : "iPad13,2",
               "identifier" : "C2761CBE-C147-47E1-86E9-D0B525720E48",
               "architecture" : "arm64",
               "modelUTI" : "com.apple.ipad-air4-1",
               "modelName" : "iPad Air (4th generation)",
               "name" : "iPad Air (4th generation)"
             },
             {
               "simulator" : true,
               "operatingSystemVersion" : "13.7 (17H22)",
               "available" : true,
               "platform" : "com.apple.platform.iphonesimulator",
               "modelCode" : "iPad8,9",
               "identifier" : "8AB944D3-E6BE-4F93-9B14-90F7D3AF7C01",
               "architecture" : "x86_64",
               "modelUTI" : "com.apple.ipad-pro-11-2nd-1",
               "modelName" : "iPad Pro (11-inch) (2nd generation)",
               "name" : "iPad Pro (11-inch) (2nd generation)"
             },
             {
               "simulator" : true,
               "operatingSystemVersion" : "15.0 (19A339)",
               "available" : true,
               "platform" : "com.apple.platform.iphonesimulator",
               "modelCode" : "iPhone10,4",
               "identifier" : "4DC4033D-85C7-4B6D-A723-C46F4E7D4300",
               "architecture" : "arm64",
               "modelUTI" : "com.apple.iphone-8-2",
               "modelName" : "iPhone 8",
               "name" : "iPhone 8"
             },
             {
               "simulator" : true,
               "operatingSystemVersion" : "15.0 (19A339)",
               "available" : true,
               "platform" : "com.apple.platform.iphonesimulator",
               "modelCode" : "iPhone12,8",
               "identifier" : "D8FCB7A9-32AD-46A5-9174-29B56B1E830E",
               "architecture" : "arm64",
               "modelUTI" : "com.apple.iphone-se-1",
               "modelName" : "iPhone SE (2nd generation)",
               "name" : "iPhone SE (2nd generation)"
             },
             {
               "simulator" : true,
               "operatingSystemVersion" : "13.7 (17H22)",
               "available" : true,
               "platform" : "com.apple.platform.iphonesimulator",
               "modelCode" : "iPad11,3",
               "identifier" : "A0BB43D4-EE29-416F-853F-70BC579ECDA9",
               "architecture" : "x86_64",
               "modelUTI" : "com.apple.ipad-air3-wifi-1",
               "modelName" : "iPad Air (3rd generation)",
               "name" : "iPad Air (3rd generation)"
             },
             {
               "simulator" : true,
               "operatingSystemVersion" : "15.0 (19A339)",
               "available" : true,
               "platform" : "com.apple.platform.iphonesimulator",
               "modelCode" : "iPhone14,4",
               "identifier" : "28E2906F-1EA0-46A4-9132-973D6C3B528D",
               "architecture" : "arm64",
               "modelUTI" : "com.apple.iphone-13-mini-1",
               "modelName" : "iPhone 13 mini",
               "name" : "iPhone 13 mini"
             },
             {
               "simulator" : true,
               "operatingSystemVersion" : "15.0 (19A339)",
               "available" : true,
               "platform" : "com.apple.platform.iphonesimulator",
               "modelCode" : "iPad12,2",
               "identifier" : "FCE94582-875F-4554-A405-53113B48CFED",
               "architecture" : "arm64",
               "modelUTI" : "com.apple.ipad-9-wwan-1",
               "modelName" : "iPad (9th generation)",
               "name" : "iPad (9th generation)"
             },
             {
               "simulator" : true,
               "operatingSystemVersion" : "13.7 (17H22)",
               "available" : true,
               "platform" : "com.apple.platform.iphonesimulator",
               "modelCode" : "iPhone10,4",
               "identifier" : "2ADB9463-6BC1-4D04-BDED-196D7E178106",
               "architecture" : "x86_64",
               "modelUTI" : "com.apple.iphone-8-2",
               "modelName" : "iPhone 8",
               "name" : "iPhone 8"
             },
             {
               "simulator" : true,
               "operatingSystemVersion" : "8.0 (19R345)",
               "available" : true,
               "platform" : "com.apple.platform.watchsimulator",
               "modelCode" : "Watch6,9",
               "identifier" : "2E24B7CD-8FB0-4AB6-80E9-D651E4E6AABE",
               "architecture" : "arm64",
               "modelUTI" : "com.apple.watch-series7-1",
               "modelName" : "Apple Watch Series 7 - 45mm",
               "name" : "Apple Watch Series 7 - 45mm"
             },
             {
               "simulator" : true,
               "operatingSystemVersion" : "15.0 (19A339)",
               "available" : true,
               "platform" : "com.apple.platform.iphonesimulator",
               "modelCode" : "iPhone13,2",
               "identifier" : "F6B343E7-8127-41F8-BA85-AAC362E47462",
               "architecture" : "arm64",
               "modelUTI" : "com.apple.iphone-12-1",
               "modelName" : "iPhone 12",
               "name" : "iPhone 12"
             },
             {
               "simulator" : true,
               "operatingSystemVersion" : "15.0 (19A339)",
               "available" : true,
               "platform" : "com.apple.platform.iphonesimulator",
               "modelCode" : "iPad13,10",
               "identifier" : "BEDB7D56-5A94-40A3-B204-FB3EDCC04F2C",
               "architecture" : "arm64",
               "modelUTI" : "com.apple.ipad-pro-12point9-5th-1",
               "modelName" : "iPad Pro (12.9-inch) (5th generation)",
               "name" : "iPad Pro (12.9-inch) (5th generation)"
             },
             {
               "simulator" : true,
               "operatingSystemVersion" : "8.0 (19R345)",
               "available" : true,
               "platform" : "com.apple.platform.watchsimulator",
               "modelCode" : "Watch6,2",
               "identifier" : "810E2AC6-1B4F-4C7F-AD1D-0D9085E6FD53",
               "architecture" : "arm64",
               "modelUTI" : "com.apple.watch-series6-1",
               "modelName" : "Apple Watch Series 6 - 44mm",
               "name" : "Apple Watch Series 6 - 44mm"
             },
             {
               "simulator" : true,
               "operatingSystemVersion" : "15.0 (19A339)",
               "available" : true,
               "platform" : "com.apple.platform.iphonesimulator",
               "modelCode" : "iPad6,4",
               "identifier" : "A113371E-698A-43D2-AEFE-2DC4DFA657CE",
               "architecture" : "arm64",
               "modelUTI" : "com.apple.ipad-pro-9point7-a1674-b9b7ba",
               "modelName" : "iPad Pro (9.7-inch)",
               "name" : "iPad Pro (9.7-inch)"
             },
             {
               "simulator" : true,
               "operatingSystemVersion" : "8.0 (19R345)",
               "available" : true,
               "platform" : "com.apple.platform.watchsimulator",
               "modelCode" : "Watch5,3",
               "identifier" : "7421961D-2097-4CEA-8F47-5F08159ECDB8",
               "architecture" : "arm64",
               "modelUTI" : "com.apple.watch-series5-1",
               "modelName" : "Apple Watch Series 5 - 40mm",
               "name" : "Apple Watch Series 5 - 40mm"
             },
             {
               "simulator" : true,
               "operatingSystemVersion" : "13.7 (17H22)",
               "available" : true,
               "platform" : "com.apple.platform.iphonesimulator",
               "modelCode" : "iPhone12,5",
               "identifier" : "B3887590-408C-4F07-8684-BF4413BFF618",
               "architecture" : "x86_64",
               "modelUTI" : "com.apple.iphone-11-pro-max-1",
               "modelName" : "iPhone 11 Pro Max",
               "name" : "iPhone 11 Pro Max"
             },
             {
               "simulator" : true,
               "operatingSystemVersion" : "15.0 (19A339)",
               "available" : true,
               "platform" : "com.apple.platform.iphonesimulator",
               "modelCode" : "iPod9,1",
               "identifier" : "CCEECA9E-E092-49AE-BBA3-9B7A2754AA4E",
               "architecture" : "arm64",
               "modelUTI" : "com.apple.ipod-touch-7-2",
               "modelName" : "iPod touch (7th generation)",
               "name" : "iPod touch (7th generation)"
             },
             {
               "simulator" : true,
               "operatingSystemVersion" : "15.0 (19J344)",
               "available" : true,
               "platform" : "com.apple.platform.appletvsimulator",
               "modelCode" : "AppleTV11,1",
               "identifier" : "53A7108A-B566-4F15-AB78-A61CD15FD53E",
               "architecture" : "arm64",
               "modelUTI" : "com.apple.apple-tv-4k-2nd",
               "modelName" : "Apple TV 4K (at 1080p) (2nd generation)",
               "name" : "Apple TV 4K (at 1080p) (2nd generation)"
             },
             {
               "simulator" : true,
               "operatingSystemVersion" : "15.0 (19A339)",
               "available" : true,
               "platform" : "com.apple.platform.iphonesimulator",
               "modelCode" : "iPhone14,5",
               "identifier" : "0544F0B2-A4F6-4CC8-87BF-D6212FCA3AC5",
               "architecture" : "arm64",
               "modelUTI" : "com.apple.iphone-13-1",
               "modelName" : "iPhone 13",
               "name" : "iPhone 13"
             },
             {
               "simulator" : true,
               "operatingSystemVersion" : "15.0 (19A339)",
               "available" : true,
               "platform" : "com.apple.platform.iphonesimulator",
               "modelCode" : "iPhone12,3",
               "identifier" : "30CDE01B-9070-445D-9531-C6F216004717",
               "architecture" : "arm64",
               "modelUTI" : "com.apple.iphone-11-pro-1",
               "modelName" : "iPhone 11 Pro",
               "name" : "iPhone 11 Pro"
             },
             {
               "simulator" : true,
               "operatingSystemVersion" : "13.7 (17H22)",
               "available" : true,
               "platform" : "com.apple.platform.iphonesimulator",
               "modelCode" : "iPad7,12",
               "identifier" : "82AF850F-06A3-4796-834F-BAAAD1B321F2",
               "architecture" : "x86_64",
               "modelUTI" : "com.apple.ipad-7-wwan-1",
               "modelName" : "iPad (7th generation)",
               "name" : "iPad (7th generation)"
             },
             {
               "simulator" : true,
               "operatingSystemVersion" : "13.7 (17H22)",
               "available" : true,
               "platform" : "com.apple.platform.iphonesimulator",
               "modelCode" : "iPhone12,1",
               "identifier" : "D930E053-F44C-4E12-9D08-2723039A95FD",
               "architecture" : "x86_64",
               "modelUTI" : "com.apple.iphone-11-1",
               "modelName" : "iPhone 11",
               "name" : "iPhone 11"
             },
             {
               "simulator" : true,
               "operatingSystemVersion" : "13.7 (17H22)",
               "available" : true,
               "platform" : "com.apple.platform.iphonesimulator",
               "modelCode" : "iPhone12,8",
               "identifier" : "87056417-487A-4269-B281-262713BAEAAD",
               "architecture" : "x86_64",
               "modelUTI" : "com.apple.iphone-se-1",
               "modelName" : "iPhone SE (2nd generation)",
               "name" : "iPhone SE (2nd generation)"
             },
             {
               "simulator" : true,
               "operatingSystemVersion" : "15.0 (19A339)",
               "available" : true,
               "platform" : "com.apple.platform.iphonesimulator",
               "modelCode" : "iPad13,5",
               "identifier" : "C249AF2F-36E5-4118-A2D1-F6C3912EFF1B",
               "architecture" : "arm64",
               "modelUTI" : "com.apple.ipad-pro-11-3rd-1",
               "modelName" : "iPad Pro (11-inch) (3rd generation)",
               "name" : "iPad Pro (11-inch) (3rd generation)"
             },
             {
               "simulator" : true,
               "operatingSystemVersion" : "8.0 (19R345)",
               "available" : true,
               "platform" : "com.apple.platform.watchsimulator",
               "modelCode" : "Watch6,6",
               "identifier" : "38AABD52-5DA9-456B-B205-50ED13EAFA35",
               "architecture" : "arm64",
               "modelUTI" : "com.apple.watch-series7-1",
               "modelName" : "Apple Watch Series 7 - 41mm",
               "name" : "Apple Watch Series 7 - 41mm"
             },
             {
               "simulator" : true,
               "operatingSystemVersion" : "15.0 (19A339)",
               "available" : true,
               "platform" : "com.apple.platform.iphonesimulator",
               "modelCode" : "iPad14,1",
               "identifier" : "988501C2-A038-44E8-8730-DA33FA2CC995",
               "architecture" : "arm64",
               "modelUTI" : "com.apple.ipad-mini6-1",
               "modelName" : "iPad mini (6th generation)",
               "name" : "iPad mini (6th generation)"
             },
             {
               "simulator" : true,
               "operatingSystemVersion" : "13.7 (17H22)",
               "available" : true,
               "platform" : "com.apple.platform.iphonesimulator",
               "modelCode" : "iPad6,4",
               "identifier" : "9AD0BB0B-6178-4B0B-905D-036E4A4473AD",
               "architecture" : "x86_64",
               "modelUTI" : "com.apple.ipad-pro-9point7-a1674-b9b7ba",
               "modelName" : "iPad Pro (9.7-inch)",
               "name" : "iPad Pro (9.7-inch)"
             },
             {
               "simulator" : true,
               "operatingSystemVersion" : "15.0 (19A339)",
               "available" : true,
               "platform" : "com.apple.platform.iphonesimulator",
               "modelCode" : "iPhone13,4",
               "identifier" : "806F2797-202A-45DD-A710-9F7FBAFA051E",
               "architecture" : "arm64",
               "modelUTI" : "com.apple.iphone-12-pro-max-1",
               "modelName" : "iPhone 12 Pro Max",
               "name" : "iPhone 12 Pro Max"
             },
             {
               "simulator" : true,
               "operatingSystemVersion" : "15.0 (19A339)",
               "available" : true,
               "platform" : "com.apple.platform.iphonesimulator",
               "modelCode" : "iPhone10,5",
               "identifier" : "EA67A259-12FD-4F1E-8E5B-F8C18E370CDD",
               "architecture" : "arm64",
               "modelUTI" : "com.apple.iphone-8-plus-2",
               "modelName" : "iPhone 8 Plus",
               "name" : "iPhone 8 Plus"
             },
             {
               "simulator" : true,
               "operatingSystemVersion" : "13.7 (17H22)",
               "available" : true,
               "platform" : "com.apple.platform.iphonesimulator",
               "modelCode" : "iPhone12,3",
               "identifier" : "89AFE55F-EC36-482F-95F3-2605B9705ECB",
               "architecture" : "x86_64",
               "modelUTI" : "com.apple.iphone-11-pro-1",
               "modelName" : "iPhone 11 Pro",
               "name" : "iPhone 11 Pro"
             },
             {
               "simulator" : true,
               "operatingSystemVersion" : "15.0 (19A339)",
               "available" : true,
               "platform" : "com.apple.platform.iphonesimulator",
               "modelCode" : "iPhone12,1",
               "identifier" : "C89A483B-9B59-44EB-982B-D797BF24E192",
               "architecture" : "arm64",
               "modelUTI" : "com.apple.iphone-11-1",
               "modelName" : "iPhone 11",
               "name" : "iPhone 11"
             }
           ]

           objc[59429]: Class AMSupportURLConnectionDelegate is implemented in both /usr/lib/libamsupport.dylib (0x21b307130) and /Library/Apple/System/Library/PrivateFrameworks/MobileDevice.framework/Versions/A/MobileDevice (0x101d8c2c8). One of the two will be used. Which one is undefined.
           objc[59429]: Class AMSupportURLSession is implemented in both /usr/lib/libamsupport.dylib (0x21b307180) and /Library/Apple/System/Library/PrivateFrameworks/MobileDevice.framework/Versions/A/MobileDevice (0x101d8c318). One of the two will be used. Which one is undefined.
[  +47 ms] /Users/adityasingh/Library/Android/sdk/platform-tools/adb -s dd3cce400408 shell getprop
[ +121 ms] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[   +6 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.
[ +146 ms] Skipping pub get: version match.
[  +29 ms] Found plugin camera at /Users/adityasingh/.pub-cache/hosted/pub.dartlang.org/camera-0.9.4+5/
[  +28 ms] Found plugin camera_web at /Users/adityasingh/.pub-cache/hosted/pub.dartlang.org/camera_web-0.2.1+1/
[  +37 ms] Found plugin flutter_plugin_android_lifecycle at /Users/adityasingh/.pub-cache/hosted/pub.dartlang.org/flutter_plugin_android_lifecycle-2.0.5/
[ +156 ms] Found plugin camera at /Users/adityasingh/.pub-cache/hosted/pub.dartlang.org/camera-0.9.4+5/
[   +4 ms] Found plugin camera_web at /Users/adityasingh/.pub-cache/hosted/pub.dartlang.org/camera_web-0.2.1+1/
[   +6 ms] Found plugin flutter_plugin_android_lifecycle at /Users/adityasingh/.pub-cache/hosted/pub.dartlang.org/flutter_plugin_android_lifecycle-2.0.5/
[  +35 ms] Generating /Users/adityasingh/Desktop/Codes/Experimental/camera_bug/android/app/src/main/java/io/flutter/plugins/GeneratedPluginRegistrant.java
[ +125 ms] ro.hardware = mt6768
[   +6 ms] ro.build.characteristics = default
[  +55 ms] Initializing file store
[  +27 ms] Skipping target: gen_localizations
[  +17 ms] gen_dart_plugin_registrant: Starting due to {InvalidatedReasonKind.inputChanged: The following inputs have updated contents: /Users/adityasingh/Desktop/Codes/Experimental/camera_bug/.dart_tool/package_config_subset}
[  +10 ms] Found plugin camera at /Users/adityasingh/.pub-cache/hosted/pub.dartlang.org/camera-0.9.4+5/
[  +11 ms] Found plugin camera_web at /Users/adityasingh/.pub-cache/hosted/pub.dartlang.org/camera_web-0.2.1+1/
[   +6 ms] Found plugin flutter_plugin_android_lifecycle at /Users/adityasingh/.pub-cache/hosted/pub.dartlang.org/flutter_plugin_android_lifecycle-2.0.5/
[  +13 ms] gen_dart_plugin_registrant: Complete
[  +10 ms] Skipping target: _composite
[   +3 ms] complete
[   +8 ms] Launching lib/main.dart on M2004J19C in debug mode...
[  +22 ms] /Users/adityasingh/desktop/codes/devclub/flutter/bin/cache/dart-sdk/bin/dart --disable-dart-dev /Users/adityasingh/desktop/codes/devclub/flutter/bin/cache/artifacts/engine/darwin-x64/frontend_server.dart.snapshot --sdk-root /Users/adityasingh/desktop/codes/devclub/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/v_/7h9hf8f91m9cxmhg0xrmbstr0000gn/T/flutter_tools.wtlwRt/flutter_tool.EmQr5P/app.dill --packages /Users/adityasingh/Desktop/Codes/Experimental/camera_bug/.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
[  +12 ms] executing: /Users/adityasingh/Library/Android/sdk/build-tools/31.0.0/aapt dump xmltree /Users/adityasingh/Desktop/Codes/Experimental/camera_bug/build/app/outputs/flutter-apk/app.apk AndroidManifest.xml
[  +52 ms] Exit code 0 from: /Users/adityasingh/Library/Android/sdk/build-tools/31.0.0/aapt dump xmltree /Users/adityasingh/Desktop/Codes/Experimental/camera_bug/build/app/outputs/flutter-apk/app.apk AndroidManifest.xml
[   +2 ms] N: android=http://schemas.android.com/apk/res/android
             E: manifest (line=2)
               A: android:versionCode(0x0101021b)=(type 0x10)0x1
               A: android:versionName(0x0101021c)="1.0.0" (Raw: "1.0.0")
               A: android:compileSdkVersion(0x01010572)=(type 0x10)0x1f
               A: android:compileSdkVersionCodename(0x01010573)="12" (Raw: "12")
               A: package="com.example.camera_bug" (Raw: "com.example.camera_bug")
               A: platformBuildVersionCode=(type 0x10)0x1f
               A: platformBuildVersionName=(type 0x10)0xc
               E: uses-sdk (line=7)
                 A: android:minSdkVersion(0x0101020c)=(type 0x10)0x15
                 A: android:targetSdkVersion(0x01010270)=(type 0x10)0x1f
               E: uses-permission (line=14)
                 A: android:name(0x01010003)="android.permission.INTERNET" (Raw: "android.permission.INTERNET")
               E: uses-permission (line=15)
                 A: android:name(0x01010003)="android.permission.CAMERA" (Raw: "android.permission.CAMERA")
               E: uses-permission (line=16)
                 A: android:name(0x01010003)="android.permission.RECORD_AUDIO" (Raw: "android.permission.RECORD_AUDIO")
               E: application (line=18)
                 A: android:label(0x01010001)="camera_bug" (Raw: "camera_bug")
                 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=24)
                   A: android:theme(0x01010000)=@0x7f0a0000
                   A: android:name(0x01010003)="com.example.camera_bug.MainActivity" (Raw: "com.example.camera_bug.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=39)
                     A: android:name(0x01010003)="io.flutter.embedding.android.NormalTheme" (Raw: "io.flutter.embedding.android.NormalTheme")
                     A: android:resource(0x01010025)=@0x7f0a0001
                   E: intent-filter (line=43)
                     E: action (line=44)
                       A: android:name(0x01010003)="android.intent.action.MAIN" (Raw: "android.intent.action.MAIN")
                     E: category (line=46)
                       A: android:name(0x01010003)="android.intent.category.LAUNCHER" (Raw: "android.intent.category.LAUNCHER")
                 E: meta-data (line=53)
                   A: android:name(0x01010003)="flutterEmbedding" (Raw: "flutterEmbedding")
                   A: android:value(0x01010024)=(type 0x10)0x2
[  +11 ms] executing: /Users/adityasingh/Library/Android/sdk/platform-tools/adb -s dd3cce400408 shell -x logcat -v time -t 1
[  +68 ms] <- compile package:camera_bug/main.dart
[ +133 ms] --------- beginning of main
           12-10 13:04:53.175 D/ULogGuard(  918): Monitoring: 15 threads, 0 requests, 0 time-bombs; 12 guards. ResetFlags = 0x7
[  +29 ms] executing: /Users/adityasingh/Library/Android/sdk/platform-tools/adb version
[  +37 ms] Android Debug Bridge version 1.0.41
           Version 31.0.3-7562133
           Installed as /Users/adityasingh/Library/Android/sdk/platform-tools/adb
[   +3 ms] executing: /Users/adityasingh/Library/Android/sdk/platform-tools/adb start-server
[  +83 ms] Building APK
[  +49 ms] Running Gradle task 'assembleDebug'...
[   +6 ms] Using gradle from /Users/adityasingh/Desktop/Codes/Experimental/camera_bug/android/gradlew.
[ +171 ms] executing: /usr/bin/plutil -convert json -o - /Applications/Android Studio.app/Contents/Info.plist
[  +48 ms] Exit code 0 from: /usr/bin/plutil -convert json -o - /Applications/Android Studio.app/Contents/Info.plist
[  +13 ms] {"CFBundleName":"Android Studio","JVMOptions":{"ClassPath":"$APP_PACKAGE\/Contents\/lib\/bootstrap.jar:$APP_PACKAGE\/Contents\/lib\/extensions.jar:$APP_PACKAGE\/Contents\/lib\/util.jar:$APP_PACKAGE\/Contents\/lib\/jdom.jar:$APP_PACKAGE\/Contents\/lib\/log4j.jar:$APP_PACKAGE\/Contents\/lib\/jna.jar","JVMVersion":"1.8*,1.8+","MainClass":"com.intellij.idea.Main","Properties":{"idea.paths.selector":"AndroidStudio2020.3","idea.executable":"studio","idea.platform.prefix":"AndroidStudio","idea.vendor.name":"Google","idea.home.path":"$APP_PACKAGE\/Contents"}},"NSDesktopFolderUsageDescription":"An application in Android Studio requests access to the user's Desktop folder.","LSArchitecturePriority":["x86_64"],"CFBundleVersion":"AI-203.7717.56.2031.7784292","CFBundleDevelopmentRegion":"English","NSCameraUsageDescription":"An application in Android Studio requests access to the device's camera.","CFBundleDocumentTypes":[{"CFBundleTypeName":"Android Studio Project File","CFBundleTypeExtensions":["ipr"],"CFBundleTypeRole":"Editor","CFBundleTypeIconFile":"studio.icns"},{"CFBundleTypeName":"All documents","CFBundleTypeExtensions":["*"],"CFBundleTypeOSTypes":["****"],"CFBundleTypeRole":"Editor","LSTypeIsPackage":false}],"NSSupportsAutomaticGraphicsSwitching":true,"CFBundlePackageType":"APPL","CFBundleIconFile":"studio.icns","NSHighResolutionCapable":true,"CFBundleShortVersionString":"2020.3","NSMicrophoneUsageDescription":"An application in Android Studio requests access to the device's microphone.","CFBundleInfoDictionaryVersion":"6.0","CFBundleExecutable":"studio","NSLocationUsageDescription":"An application in Android Studio requests access to the user's location information.","LSRequiresNativeExecution":"YES","CFBundleURLTypes":[{"CFBundleTypeRole":"Editor","CFBundleURLName":"Stacktrace","CFBundleURLSchemes":["idea"]}],"CFBundleIdentifier":"com.google.android.studio","LSApplicationCategoryType":"public.app-category.developer-tools","CFBundleSignature":"????","LSMinimumSystemVersion":"10.8","NSDocumentsFolderUsageDescription":"An application in Android Studio requests access to the user's Documents folder.","NSDownloadsFolderUsageDescription":"An application in Android Studio requests access to the user's Downloads folder.","NSNetworkVolumesUsageDescription":"An application in Android Studio requests access to files on a network volume.","CFBundleGetInfoString":"Android Studio 2020.3, build AI-203.7717.56.2031.7784292. Copyright JetBrains s.r.o., (c) 2000-2021","NSRemovableVolumesUsageDescription":"An application in Android Studio requests access to files on a removable volume."}
[   +5 ms] executing: /Applications/Android Studio.app/Contents/jre/Contents/Home/bin/java -version
[ +116 ms] Exit code 0 from: /Applications/Android Studio.app/Contents/jre/Contents/Home/bin/java -version
[        ] openjdk version "11.0.10" 2021-01-19
           OpenJDK Runtime Environment (build 11.0.10+0-b96-7249189)
           OpenJDK 64-Bit Server VM (build 11.0.10+0-b96-7249189, mixed mode)
[   +2 ms] executing: [/Users/adityasingh/Desktop/Codes/Experimental/camera_bug/android/] /Users/adityasingh/Desktop/Codes/Experimental/camera_bug/android/gradlew -Pverbose=true -Ptarget-platform=android-arm64 -Ptarget=/Users/adityasingh/Desktop/Codes/Experimental/camera_bug/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
[+1300 ms] > Task :app:compileFlutterBuildDebug UP-TO-DATE
[  +14 ms] > Task :app:packLibsflutterBuildDebug UP-TO-DATE
[        ] > Task :app:preBuild UP-TO-DATE
[        ] > Task :app:preDebugBuild UP-TO-DATE
[        ] > Task :camera:preBuild UP-TO-DATE
[        ] > Task :camera:preDebugBuild UP-TO-DATE
[        ] > Task :flutter_plugin_android_lifecycle:preBuild UP-TO-DATE
[        ] > Task :flutter_plugin_android_lifecycle:preDebugBuild UP-TO-DATE
[        ] > Task :flutter_plugin_android_lifecycle:compileDebugAidl NO-SOURCE
[        ] > Task :camera:compileDebugAidl NO-SOURCE
[        ] > Task :app:compileDebugAidl NO-SOURCE
[        ] > Task :camera:packageDebugRenderscript NO-SOURCE
[        ] > Task :flutter_plugin_android_lifecycle:packageDebugRenderscript NO-SOURCE
[        ] > Task :app:compileDebugRenderscript NO-SOURCE
[        ] > Task :app:generateDebugBuildConfig UP-TO-DATE
[        ] > Task :camera:writeDebugAarMetadata UP-TO-DATE
[        ] > Task :flutter_plugin_android_lifecycle:writeDebugAarMetadata UP-TO-DATE
[  +61 ms] > Task :app:checkDebugAarMetadata UP-TO-DATE
[  +26 ms] > Task :app:cleanMergeDebugAssets
[        ] > Task :app:mergeDebugShaders UP-TO-DATE
[        ] > Task :app:compileDebugShaders NO-SOURCE
[        ] > Task :app:generateDebugAssets UP-TO-DATE
[        ] > Task :camera:mergeDebugShaders UP-TO-DATE
[        ] > Task :camera:compileDebugShaders NO-SOURCE
[        ] > Task :camera:generateDebugAssets UP-TO-DATE
[        ] > Task :camera:packageDebugAssets UP-TO-DATE
[        ] > Task :flutter_plugin_android_lifecycle:mergeDebugShaders UP-TO-DATE
[        ] > Task :flutter_plugin_android_lifecycle:compileDebugShaders NO-SOURCE
[        ] > Task :flutter_plugin_android_lifecycle:generateDebugAssets UP-TO-DATE
[        ] > Task :flutter_plugin_android_lifecycle:packageDebugAssets UP-TO-DATE
[        ] > Task :app:mergeDebugAssets
[ +589 ms] > Task :app:copyFlutterAssetsDebug
[   +9 ms] > Task :app:generateDebugResValues UP-TO-DATE
[        ] > Task :app:generateDebugResources UP-TO-DATE
[        ] > Task :camera:compileDebugRenderscript NO-SOURCE
[        ] > Task :camera:generateDebugResValues UP-TO-DATE
[        ] > Task :camera:generateDebugResources UP-TO-DATE
[        ] > Task :camera:packageDebugResources UP-TO-DATE
[        ] > Task :flutter_plugin_android_lifecycle:compileDebugRenderscript NO-SOURCE
[   +1 ms] > Task :flutter_plugin_android_lifecycle:generateDebugResValues UP-TO-DATE
[        ] > Task :flutter_plugin_android_lifecycle:generateDebugResources UP-TO-DATE
[        ] > Task :flutter_plugin_android_lifecycle:packageDebugResources UP-TO-DATE
[        ] > Task :app:mergeDebugResources UP-TO-DATE
[        ] > Task :app:createDebugCompatibleScreenManifests UP-TO-DATE
[        ] > Task :app:extractDeepLinksDebug UP-TO-DATE
[        ] > Task :camera:extractDeepLinksDebug UP-TO-DATE
[        ] > Task :camera:processDebugManifest UP-TO-DATE
[        ] > Task :flutter_plugin_android_lifecycle:extractDeepLinksDebug UP-TO-DATE
[  +68 ms] > Task :flutter_plugin_android_lifecycle:processDebugManifest UP-TO-DATE
[  +25 ms] > Task :app:processDebugMainManifest UP-TO-DATE
[        ] > Task :app:processDebugManifest UP-TO-DATE
[        ] > Task :app:processDebugManifestForPackage UP-TO-DATE
[        ] > Task :camera:compileDebugLibraryResources UP-TO-DATE
[        ] > Task :camera:parseDebugLocalResources UP-TO-DATE
[        ] > Task :flutter_plugin_android_lifecycle:parseDebugLocalResources UP-TO-DATE
[        ] > Task :flutter_plugin_android_lifecycle:generateDebugRFile UP-TO-DATE
[  +72 ms] > Task :camera:generateDebugRFile UP-TO-DATE
[   +3 ms] > Task :flutter_plugin_android_lifecycle:compileDebugLibraryResources UP-TO-DATE
[        ] > Task :app:processDebugResources UP-TO-DATE
[        ] > Task :camera:generateDebugBuildConfig UP-TO-DATE
[        ] > Task :camera:javaPreCompileDebug UP-TO-DATE
[        ] > Task :flutter_plugin_android_lifecycle:generateDebugBuildConfig UP-TO-DATE
[        ] > Task :flutter_plugin_android_lifecycle:javaPreCompileDebug UP-TO-DATE
[        ] > Task :flutter_plugin_android_lifecycle:compileDebugJavaWithJavac UP-TO-DATE
[        ] > Task :flutter_plugin_android_lifecycle:bundleLibCompileToJarDebug UP-TO-DATE
[        ] > Task :camera:compileDebugJavaWithJavac UP-TO-DATE
[        ] > Task :camera:bundleLibCompileToJarDebug UP-TO-DATE
[ +100 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
[   +1 ms] > Task :app:processDebugJavaRes NO-SOURCE
[        ] > Task :camera:processDebugJavaRes NO-SOURCE
[        ] > Task :camera:bundleLibResDebug NO-SOURCE
[        ] > Task :flutter_plugin_android_lifecycle:processDebugJavaRes NO-SOURCE
[        ] > Task :flutter_plugin_android_lifecycle:bundleLibResDebug NO-SOURCE
[        ] > Task :app:mergeDebugJavaResource UP-TO-DATE
[        ] > Task :app:checkDebugDuplicateClasses UP-TO-DATE
[        ] > Task :app:desugarDebugFileDependencies UP-TO-DATE
[        ] > Task :app:mergeExtDexDebug UP-TO-DATE
[        ] > Task :flutter_plugin_android_lifecycle:bundleLibRuntimeToJarDebug UP-TO-DATE
[        ] > Task :camera:bundleLibRuntimeToJarDebug UP-TO-DATE
[  +94 ms] > Task :app:dexBuilderDebug UP-TO-DATE
[        ] > Task :app:mergeLibDexDebug UP-TO-DATE
[        ] > Task :app:mergeProjectDexDebug UP-TO-DATE
[        ] > Task :app:mergeDebugJniLibFolders UP-TO-DATE
[        ] > Task :camera:mergeDebugJniLibFolders UP-TO-DATE
[        ] > Task :camera:mergeDebugNativeLibs NO-SOURCE
[        ] > Task :camera:stripDebugDebugSymbols NO-SOURCE
[        ] > Task :camera:copyDebugJniLibsProjectOnly UP-TO-DATE
[        ] > Task :flutter_plugin_android_lifecycle:mergeDebugJniLibFolders UP-TO-DATE
[        ] > Task :flutter_plugin_android_lifecycle:mergeDebugNativeLibs NO-SOURCE
[        ] > Task :flutter_plugin_android_lifecycle:stripDebugDebugSymbols NO-SOURCE
[        ] > Task :flutter_plugin_android_lifecycle:copyDebugJniLibsProjectOnly 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
[ +201 ms] > Task :app:assembleDebug
[  +11 ms] > Task :camera:copyDebugJniLibsProjectAndLocalJars UP-TO-DATE
[        ] > Task :camera:extractDebugAnnotations UP-TO-DATE
[        ] > Task :camera:mergeDebugGeneratedProguardFiles UP-TO-DATE
[        ] > Task :camera:mergeDebugConsumerProguardFiles UP-TO-DATE
[        ] > Task :camera:prepareLintJarForPublish UP-TO-DATE
[        ] > Task :camera:mergeDebugJavaResource UP-TO-DATE
[        ] > Task :camera:syncDebugLibJars UP-TO-DATE
[        ] > Task :camera:bundleDebugAar UP-TO-DATE
[  +69 ms] > Task :camera:mergeDebugResources UP-TO-DATE
[        ] > Task :camera:compileDebugSources UP-TO-DATE
[        ] > Task :camera:assembleDebug UP-TO-DATE
[        ] > Task :flutter_plugin_android_lifecycle:copyDebugJniLibsProjectAndLocalJars UP-TO-DATE
[        ] > Task :flutter_plugin_android_lifecycle:extractDebugAnnotations UP-TO-DATE
[        ] > Task :flutter_plugin_android_lifecycle:mergeDebugGeneratedProguardFiles UP-TO-DATE
[        ] > Task :flutter_plugin_android_lifecycle:mergeDebugConsumerProguardFiles UP-TO-DATE
[        ] > Task :flutter_plugin_android_lifecycle:prepareLintJarForPublish UP-TO-DATE
[        ] > Task :flutter_plugin_android_lifecycle:mergeDebugJavaResource UP-TO-DATE
[        ] > Task :flutter_plugin_android_lifecycle:syncDebugLibJars UP-TO-DATE
[        ] > Task :flutter_plugin_android_lifecycle:bundleDebugAar UP-TO-DATE
[        ] > Task :flutter_plugin_android_lifecycle:mergeDebugResources UP-TO-DATE
[        ] > Task :flutter_plugin_android_lifecycle:compileDebugSources UP-TO-DATE
[        ] > Task :flutter_plugin_android_lifecycle:assembleDebug UP-TO-DATE
[        ] 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 2s
[        ] 85 actionable tasks: 4 executed, 81 up-to-date
[ +409 ms] Running Gradle task 'assembleDebug'... (completed in 3.4s)
[  +56 ms] calculateSha: LocalDirectory: '/Users/adityasingh/Desktop/Codes/Experimental/camera_bug/build/app/outputs/flutter-apk'/app.apk
[ +542 ms] ✓  Built build/app/outputs/flutter-apk/app-debug.apk.
[   +7 ms] executing: /Users/adityasingh/Library/Android/sdk/build-tools/31.0.0/aapt dump xmltree /Users/adityasingh/Desktop/Codes/Experimental/camera_bug/build/app/outputs/flutter-apk/app.apk AndroidManifest.xml
[  +74 ms] Exit code 0 from: /Users/adityasingh/Library/Android/sdk/build-tools/31.0.0/aapt dump xmltree /Users/adityasingh/Desktop/Codes/Experimental/camera_bug/build/app/outputs/flutter-apk/app.apk AndroidManifest.xml
[   +6 ms] N: android=http://schemas.android.com/apk/res/android
             E: manifest (line=2)
               A: android:versionCode(0x0101021b)=(type 0x10)0x1
               A: android:versionName(0x0101021c)="1.0.0" (Raw: "1.0.0")
               A: android:compileSdkVersion(0x01010572)=(type 0x10)0x1f
               A: android:compileSdkVersionCodename(0x01010573)="12" (Raw: "12")
               A: package="com.example.camera_bug" (Raw: "com.example.camera_bug")
               A: platformBuildVersionCode=(type 0x10)0x1f
               A: platformBuildVersionName=(type 0x10)0xc
               E: uses-sdk (line=7)
                 A: android:minSdkVersion(0x0101020c)=(type 0x10)0x15
                 A: android:targetSdkVersion(0x01010270)=(type 0x10)0x1f
               E: uses-permission (line=14)
                 A: android:name(0x01010003)="android.permission.INTERNET" (Raw: "android.permission.INTERNET")
               E: uses-permission (line=15)
                 A: android:name(0x01010003)="android.permission.CAMERA" (Raw: "android.permission.CAMERA")
               E: uses-permission (line=16)
                 A: android:name(0x01010003)="android.permission.RECORD_AUDIO" (Raw: "android.permission.RECORD_AUDIO")
               E: application (line=18)
                 A: android:label(0x01010001)="camera_bug" (Raw: "camera_bug")
                 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=24)
                   A: android:theme(0x01010000)=@0x7f0a0000
                   A: android:name(0x01010003)="com.example.camera_bug.MainActivity" (Raw: "com.example.camera_bug.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=39)
                     A: android:name(0x01010003)="io.flutter.embedding.android.NormalTheme" (Raw: "io.flutter.embedding.android.NormalTheme")
                     A: android:resource(0x01010025)=@0x7f0a0001
                   E: intent-filter (line=43)
                     E: action (line=44)
                       A: android:name(0x01010003)="android.intent.action.MAIN" (Raw: "android.intent.action.MAIN")
                     E: category (line=46)
                       A: android:name(0x01010003)="android.intent.category.LAUNCHER" (Raw: "android.intent.category.LAUNCHER")
                 E: meta-data (line=53)
                   A: android:name(0x01010003)="flutterEmbedding" (Raw: "flutterEmbedding")
                   A: android:value(0x01010024)=(type 0x10)0x2
[   +4 ms] Stopping app 'app.apk' on M2004J19C.
[        ] executing: /Users/adityasingh/Library/Android/sdk/platform-tools/adb -s dd3cce400408 shell am force-stop com.example.camera_bug
[  +79 ms] executing: /Users/adityasingh/Library/Android/sdk/platform-tools/adb -s dd3cce400408 shell pm list packages com.example.camera_bug
[  +87 ms] package:com.example.camera_bug
[  +22 ms] executing: /Users/adityasingh/Library/Android/sdk/platform-tools/adb -s dd3cce400408 shell cat /data/local/tmp/sky.com.example.camera_bug.sha1
[  +83 ms] 46b61179136b2d6d394aee9b965c0d89b147b975
[  +77 ms] Latest build already installed.
[   +1 ms] executing: /Users/adityasingh/Library/Android/sdk/platform-tools/adb -s dd3cce400408 shell -x logcat -v time -t 1
[ +110 ms] --------- beginning of main
           12-10 13:04:58.010 D/CarrierSvcBindHelper( 1981): No carrier app for: 1
[  +42 ms] executing: /Users/adityasingh/Library/Android/sdk/platform-tools/adb -s dd3cce400408 shell am start -a android.intent.action.RUN -f 0x20000000 --ez enable-background-compilation true --ez enable-dart-profiling true --ez enable-checked-mode true --ez verify-entry-points true com.example.camera_bug/com.example.camera_bug.MainActivity
[ +106 ms] Starting: Intent { act=android.intent.action.RUN flg=0x20000000 cmp=com.example.camera_bug/.MainActivity (has extras) }
[   +1 ms] Waiting for observatory port to be available...
[ +557 ms] Observatory URL on device: http://127.0.0.1:41185/D6cFRyCdeiw=/
[   +2 ms] executing: /Users/adityasingh/Library/Android/sdk/platform-tools/adb -s dd3cce400408 forward tcp:0 tcp:41185
[  +48 ms] 51008
[        ] Forwarded host port 51008 to device port 41185 for Observatory
[  +19 ms] Caching compiled dill
[  +99 ms] Connecting to service protocol: http://127.0.0.1:51008/D6cFRyCdeiw=/
[ +315 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:51008/D6cFRyCdeiw=/.
[ +216 ms] DDS is listening at http://127.0.0.1:51011/ES227rKt5bs=/.
[ +104 ms] Successfully connected to service protocol: http://127.0.0.1:51008/D6cFRyCdeiw=/
[ +109 ms] DevFS: Creating new filesystem on the device (null)
[  +44 ms] DevFS: Created new filesystem on the device (file:///data/user/0/com.example.camera_bug/code_cache/camera_bugBYJHKS/camera_bug/)
[   +3 ms] Updating assets
[  +93 ms] Syncing files to device M2004J19C...
[  +12 ms] <- reset
[        ] Compiling dart to kernel with 0 updated files
[   +6 ms] <- recompile package:camera_bug/main.dart b94b5b79-6a62-4131-b5b5-c83b8592b482
[        ] <- b94b5b79-6a62-4131-b5b5-c83b8592b482
[  +76 ms] I/BufferQueueConsumer(24423): [](id:5f6700000000,api:0,p:106820,c:24423) connect(): controlledByApp=true
[  +23 ms] I/CameraManager(24423): zyk get pkg namecom.example.camera_bug
[ +104 ms] Updating files.
[        ] DevFS: Sync finished
[   +6 ms] Syncing files to device M2004J19C... (completed in 215ms)
[  +11 ms] Synced 0.0MB.
[   +3 ms] <- accept
[  +25 ms] Connected to _flutterView/0xb400007600727220.
[  +11 ms] Flutter run key commands.
[   +3 ms] r Hot reload. 🔥🔥🔥
[   +1 ms] 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 💪
[  +18 ms] An Observatory debugger and profiler on M2004J19C is available at: http://127.0.0.1:51011/ES227rKt5bs=/
[ +274 ms] E/ion     (24423): ioctl c0044901 failed with code -1: Invalid argument
[  +20 ms] I/mple.camera_bu(24423): ProcessProfilingInfo new_methods=0 is saved saved_to_disk=0 resolve_classes_delay=8000
[  +24 ms] I/BufferQueueConsumer(24423): [](id:5f6700000001,api:0,p:117945,c:24423) connect(): controlledByApp=true
[   +5 ms] W/Camera  (24423): The selected imageFormatGroup is not supported by Android. Defaulting to yuv420
[        ] I/BufferQueueConsumer(24423): [](id:5f6700000002,api:0,p:129065,c:24423) connect(): controlledByApp=true
[        ] I/CameraManager(24423): zyk get pkg namecom.example.camera_bug
[        ] E/libc    (24423): Access denied finding property "persist.vendor.camera.privapp.list"
[  +11 ms] E/CameraManagerGlobal(24423): Camera 61 is not available. Ignore physical camera status change
[        ] W/CameraManagerGlobal(24423): ignore the torch status update of camera: 20
[   +5 ms] W/CameraManagerGlobal(24423): ignore the torch status update of camera: 21
[   +3 ms] W/CameraManagerGlobal(24423): ignore the torch status update of camera: 22
[        ] W/CameraManagerGlobal(24423): ignore the torch status update of camera: 61
[        ] I/Camera  (24423): startPreview
[  +16 ms] E/CameraDevice-JV-0(24423): zyf_checkInputConfiguration_return
[  +52 ms] I/BufferQueueProducer(24423): [SurfaceTexture-0-24423-0](id:5f6700000000,api:4,p:871,c:24423) connect(): api=4 producerControlledByApp=true
[   +7 ms] The Flutter DevTools debugger and profiler on M2004J19C is available at: http://127.0.0.1:9102?uri=http://127.0.0.1:51011/ES227rKt5bs=/
[  +42 ms] I/BufferQueueProducer(24423): [ImageReader-640x480f100m1-24423-0](id:5f6700000001,api:4,p:871,c:24423) connect(): api=4 producerControlledByApp=false
[        ] I/Camera  (24423): CameraCaptureSession onConfigured
[        ] I/Camera  (24423): Updating builder settings
[        ] D/Camera  (24423): Updating builder with feature: ExposureLockFeature
[        ] D/Camera  (24423): Updating builder with feature: ExposurePointFeature
[        ] D/Camera  (24423): Updating builder with feature: ZoomLevelFeature
[        ] D/Camera  (24423): Updating builder with feature: AutoFocusFeature
[        ] D/Camera  (24423): Updating builder with feature: NoiseReductionFeature
[        ] I/Camera  (24423): updateNoiseReduction | currentSetting: fast
[        ] D/Camera  (24423): Updating builder with feature: FocusPointFeature
[        ] D/Camera  (24423): Updating builder with feature: ResolutionFeature
[        ] D/Camera  (24423): Updating builder with feature: SensorOrientationFeature
[        ] D/Camera  (24423): Updating builder with feature: FlashFeature
[        ] D/Camera  (24423): Updating builder with feature: ExposureOffsetFeature
[        ] D/Camera  (24423): Updating builder with feature: FpsRangeFeature
[        ] I/Camera  (24423): refreshPreviewCaptureSession
[ +188 ms] I/mali_config(24423): @get_buffer_dataspace_setting: update dataspace (0x10020000 -> 0x08020000)
[  +29 ms] I/mali_config(24423): @get_buffer_dataspace_setting: update dataspace (0x10020000 -> 0x08020000)
[  +48 ms] I/mali_config(24423): @get_buffer_dataspace_setting: update dataspace (0x10020000 -> 0x08020000)
[  +34 ms] I/mali_config(24423): @get_buffer_dataspace_setting: update dataspace (0x10020000 -> 0x08020000)
[  +34 ms] I/mali_config(24423): @get_buffer_dataspace_setting: update dataspace (0x10020000 -> 0x08020000)
[  +32 ms] I/mali_config(24423): @get_buffer_dataspace_setting: update dataspace (0x10020000 -> 0x08020000)
[  +33 ms] I/mali_config(24423): @get_buffer_dataspace_setting: update dataspace (0x10020000 -> 0x08020000)
[+10303 ms] Service protocol connection closed.
[  +10 ms] Lost connection to device.
[   +3 ms] DevFS: Deleting filesystem on the device (file:///data/user/0/com.example.camera_bug/code_cache/camera_bugBYJHKS/camera_bug/)
[ +257 ms] Ignored error while cleaning up DevFS: TimeoutException after 0:00:00.250000: Future not completed
[  +19 ms] "flutter run" took 24,029ms.
[ +271 ms] ensureAnalyticsSent: 254ms
[   +7 ms] Running shutdown hooks
[   +1 ms] Shutdown hooks complete
[        ] exiting with code 0

Analyzing camera_bug...                                                 

   info • Avoid `print` calls in production code • lib/main.dart:31:5 • avoid_print
   info • Avoid `print` calls in production code • lib/main.dart:38:7 • avoid_print
   info • Avoid `print` calls in production code • lib/main.dart:43:5 • avoid_print
   info • Avoid `print` calls in production code • lib/main.dart:47:7 • avoid_print
   info • Avoid `print` calls in production code • lib/main.dart:49:7 • avoid_print
   info • Avoid `print` calls in production code • lib/main.dart:54:5 • avoid_print
   info • Avoid `print` calls in production code • lib/main.dart:58:7 • avoid_print
   info • Avoid `print` calls in production code • lib/main.dart:60:7 • avoid_print
   info • Avoid `print` calls in production code • lib/main.dart:65:5 • avoid_print
   info • Avoid `print` calls in production code • lib/main.dart:69:7 • avoid_print
   info • Avoid `print` calls in production code • lib/main.dart:71:7 • avoid_print
   info • Avoid `print` calls in production code • lib/main.dart:74:7 • avoid_print

12 issues found. (ran in 3.6s)
[✓] Flutter (Channel stable, 2.8.0, on macOS 12.0.1 21A559 darwin-arm, locale en-IN)
    • Flutter version 2.8.0 at /Users/adityasingh/desktop/codes/devclub/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision cf44000065 (33 hours ago), 2021-12-08 14:06:50 -0800
    • Engine revision 40a99c5951
    • Dart version 2.15.0

[✓] Android toolchain - develop for Android devices (Android SDK version 31.0.0)
    • Android SDK at /Users/adityasingh/Library/Android/sdk
    • Platform android-31, build-tools 31.0.0
    • ANDROID_SDK_ROOT = /Users/adityasingh/Library/Android/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jre/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.10+0-b96-7249189)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 13.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • CocoaPods version 1.10.2

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2020.3)
    • 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.10+0-b96-7249189)

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

[✓] Connected device (2 available)
    • M2004J19C (mobile) • dd3cce400408 • android-arm64  • Android 11 (API 30)
    • Chrome (web)       • chrome       • web-javascript • Google Chrome 96.0.4664.93

• No issues found!

Activity

  1. changed the title [-][BUG] Flutter camera crashes on android on using takePicture while VideoRecording is going on[/-] [+][camera] [BUG] Flutter camera crashes on android on using takePicture while VideoRecording is going on[/+] on Dec 10, 2021
  2. darshankawar commented on Dec 10, 2021

    @darshankawar
    Member

    @as1605
    Thanks for the report. I tried your code sample using latest stable on Android Samsung device on which I was able to record and then take picture properly without any issues and then stopped recording, the app didn't crash for me. Below is the log:

    console log
    
    I/CameraManagerGlobal(13274): Connecting to camera service
    W/Camera  (13274): The selected imageFormatGroup is not supported by Android. Defaulting to yuv420
    I/Camera  (13274): startPreview
    I/Camera  (13274): CameraCaptureSession onConfigured
    I/Camera  (13274): Updating builder settings
    D/Camera  (13274): Updating builder with feature: ExposureLockFeature
    D/Camera  (13274): Updating builder with feature: ExposurePointFeature
    D/Camera  (13274): Updating builder with feature: ZoomLevelFeature
    D/Camera  (13274): Updating builder with feature: AutoFocusFeature
    D/Camera  (13274): Updating builder with feature: NoiseReductionFeature
    I/Camera  (13274): updateNoiseReduction | currentSetting: fast
    D/Camera  (13274): Updating builder with feature: FocusPointFeature
    D/Camera  (13274): Updating builder with feature: ResolutionFeature
    D/Camera  (13274): Updating builder with feature: SensorOrientationFeature
    D/Camera  (13274): Updating builder with feature: FlashFeature
    D/Camera  (13274): Updating builder with feature: ExposureOffsetFeature
    D/Camera  (13274): Updating builder with feature: FpsRangeFeature
    I/Camera  (13274): refreshPreviewCaptureSession
    
    ======== Exception caught by rendering library =====================================================
    The following assertion was thrown during layout:
    A RenderFlex overflowed by 172 pixels on the bottom.
    
    The relevant error-causing widget was: 
      Column Column:file:///D:/FlutterApps/test_issue/lib/main.dart:1240:20
    The overflowing RenderFlex has an orientation of Axis.vertical.
    The edge of the RenderFlex that is overflowing has been marked in the rendering with a yellow and black striped pattern. This is usually caused by the contents being too big for the RenderFlex.
    
    Consider applying a flex factor (e.g. using an Expanded widget) to force the children of the RenderFlex to fit within the available space instead of being sized to their natural size.
    This is considered an error condition because it indicates that there is content that cannot be seen. If the content is legitimately bigger than the available space, consider clipping it with a ClipRect widget before putting it in the flex, or using a scrollable container rather than a Flex, like a ListView.
    
    The specific RenderFlex in question is: RenderFlex#30487 relayoutBoundary=up1 OVERFLOWING
    ...  needs compositing
    ...  parentData: offset=Offset(0.0, 80.0); id=_ScaffoldSlot.body (can use size)
    ...  constraints: BoxConstraints(0.0<=w<=360.0, 0.0<=h<=512.0)
    ...  size: Size(360.0, 512.0)
    ...  direction: vertical
    ...  mainAxisAlignment: start
    ...  mainAxisSize: max
    ...  crossAxisAlignment: center
    ...  verticalDirection: down
    ◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤
    ====================================================================================================
    I/zygote  (13274): Do partial code cache collection, code=28KB, data=30KB
    I/zygote  (13274): After code cache collection, code=28KB, data=30KB
    I/zygote  (13274): Increasing code cache capacity to 128KB
    I/flutter (13274): start
    I/Camera  (13274): prepareMediaRecorder
    V/MediaRecorderJNI(13274): setup
    V/MediaRecorderJNI(13274): setAudioSource(1)
    V/MediaRecorderJNI(13274): process_media_recorder_call
    V/MediaRecorderJNI(13274): setVideoSource(2)
    V/MediaRecorderJNI(13274): process_media_recorder_call
    V/MediaRecorderJNI(13274): setOutputFormat(2)
    V/MediaRecorderJNI(13274): process_media_recorder_call
    V/MediaRecorderJNI(13274): setAudioEncoder(3)
    V/MediaRecorderJNI(13274): process_media_recorder_call
    V/MediaRecorderJNI(13274): setParameter()
    V/MediaRecorderJNI(13274): process_media_recorder_call
    V/MediaRecorderJNI(13274): setParameter()
    V/MediaRecorderJNI(13274): process_media_recorder_call
    V/MediaRecorderJNI(13274): setVideoEncoder(2)
    V/MediaRecorderJNI(13274): process_media_recorder_call
    V/MediaRecorderJNI(13274): setParameter()
    V/MediaRecorderJNI(13274): process_media_recorder_call
    V/MediaRecorderJNI(13274): setVideoFrameRate(30)
    V/MediaRecorderJNI(13274): process_media_recorder_call
    V/MediaRecorderJNI(13274): setVideoSize(720, 480)
    V/MediaRecorderJNI(13274): process_media_recorder_call
    V/MediaRecorderJNI(13274): setParameter()
    V/MediaRecorderJNI(13274): process_media_recorder_call
    V/MediaRecorderJNI(13274): setOutputFile
    V/MediaRecorderJNI(13274): process_media_recorder_call
    V/MediaRecorderJNI(13274): prepare
    V/MediaRecorderJNI(13274): process_media_recorder_call
    V/MediaRecorderJNI(13274): getSurface
    I/Camera  (13274): closeCaptureSession
    I/Camera  (13274): CameraCaptureSession onConfigured
    I/Camera  (13274): Updating builder settings
    D/Camera  (13274): Updating builder with feature: ExposureLockFeature
    D/Camera  (13274): Updating builder with feature: ExposurePointFeature
    D/Camera  (13274): Updating builder with feature: ZoomLevelFeature
    D/Camera  (13274): Updating builder with feature: AutoFocusFeature
    D/Camera  (13274): Updating builder with feature: NoiseReductionFeature
    I/Camera  (13274): updateNoiseReduction | currentSetting: fast
    D/Camera  (13274): Updating builder with feature: FocusPointFeature
    D/Camera  (13274): Updating builder with feature: ResolutionFeature
    D/Camera  (13274): Updating builder with feature: SensorOrientationFeature
    D/Camera  (13274): Updating builder with feature: FlashFeature
    D/Camera  (13274): Updating builder with feature: ExposureOffsetFeature
    D/Camera  (13274): Updating builder with feature: FpsRangeFeature
    I/Camera  (13274): refreshPreviewCaptureSession
    V/MediaRecorderJNI(13274): start
    V/MediaRecorderJNI(13274): process_media_recorder_call
    I/Camera  (13274): CameraCaptureSession onClosed
    I/flutter (13274): snap
    I/Camera  (13274): runPictureAutoFocus
    I/Camera  (13274): lockAutoFocus
    D/CameraCaptureCallback(13274): CameraCaptureCallback | state: STATE_WAITING_FOCUS | afState: 1 | aeState: 2
    D/CameraCaptureCallback(13274): CameraCaptureCallback | state: STATE_WAITING_FOCUS | afState: 1 | aeState: 2
    D/CameraCaptureCallback(13274): CameraCaptureCallback | state: STATE_WAITING_FOCUS | afState: 1 | aeState: 2
    D/CameraCaptureCallback(13274): CameraCaptureCallback | state: STATE_WAITING_FOCUS | afState: 1 | aeState: 2
    D/CameraCaptureCallback(13274): CameraCaptureCallback | state: STATE_WAITING_FOCUS | afState: 1 | aeState: 2
    I/zygote  (13274): Do partial code cache collection, code=62KB, data=53KB
    D/CameraCaptureCallback(13274): CameraCaptureCallback | state: STATE_WAITING_FOCUS | afState: 1 | aeState: 2
    I/zygote  (13274): After code cache collection, code=62KB, data=53KB
    I/zygote  (13274): Increasing code cache capacity to 256KB
    D/CameraCaptureCallback(13274): CameraCaptureCallback | state: STATE_WAITING_FOCUS | afState: 1 | aeState: 2
    D/CameraCaptureCallback(13274): CameraCaptureCallback | state: STATE_WAITING_FOCUS | afState: 4 | aeState: 2
    I/Camera  (13274): captureStillPicture
    D/Camera  (13274): Updating builder with feature: ExposureLockFeature
    D/Camera  (13274): Updating builder with feature: ExposurePointFeature
    D/Camera  (13274): Updating builder with feature: ZoomLevelFeature
    D/Camera  (13274): Updating builder with feature: AutoFocusFeature
    D/Camera  (13274): Updating builder with feature: NoiseReductionFeature
    I/Camera  (13274): updateNoiseReduction | currentSetting: fast
    D/Camera  (13274): Updating builder with feature: FocusPointFeature
    D/Camera  (13274): Updating builder with feature: ResolutionFeature
    D/Camera  (13274): Updating builder with feature: SensorOrientationFeature
    D/Camera  (13274): Updating builder with feature: FlashFeature
    D/Camera  (13274): Updating builder with feature: ExposureOffsetFeature
    D/Camera  (13274): Updating builder with feature: FpsRangeFeature
    I/Camera  (13274): sending capture request
    E/HandlerDispatcher(13274): IllegalArgumentException while invoking public void android.hardware.camera2.CameraCaptureSession$CaptureCallback.onCaptureCompleted(android.hardware.camera2.CameraCaptureSession,android.hardware.camera2.CaptureRequest,android.hardware.camera2.TotalCaptureResult)
    E/HandlerDispatcher(13274): java.lang.IllegalArgumentException: submitRequestList:208: Request targets Surface that is not part of current capture session
    E/HandlerDispatcher(13274): 	at android.hardware.camera2.CameraManager.throwAsPublicException(CameraManager.java:650)
    E/HandlerDispatcher(13274): 	at android.hardware.camera2.impl.ICameraDeviceUserWrapper.submitRequestList(ICameraDeviceUserWrapper.java:86)
    E/HandlerDispatcher(13274): 	at android.hardware.camera2.impl.CameraDeviceImpl.submitCaptureRequest(CameraDeviceImpl.java:935)
    E/HandlerDispatcher(13274): 	at android.hardware.camera2.impl.CameraDeviceImpl.capture(CameraDeviceImpl.java:824)
    E/HandlerDispatcher(13274): 	at android.hardware.camera2.impl.CameraCaptureSessionImpl.capture(CameraCaptureSessionImpl.java:182)
    E/HandlerDispatcher(13274): 	at io.flutter.plugins.camera.Camera.takePictureAfterPrecapture(Camera.java:589)
    E/HandlerDispatcher(13274): 	at io.flutter.plugins.camera.Camera.onConverged(Camera.java:172)
    E/HandlerDispatcher(13274): 	at io.flutter.plugins.camera.CameraCaptureCallback.handleWaitingFocusState(CameraCaptureCallback.java:150)
    E/HandlerDispatcher(13274): 	at io.flutter.plugins.camera.CameraCaptureCallback.process(CameraCaptureCallback.java:108)
    E/HandlerDispatcher(13274): 	at io.flutter.plugins.camera.CameraCaptureCallback.onCaptureCompleted(CameraCaptureCallback.java:169)
    E/HandlerDispatcher(13274): 	at java.lang.reflect.Method.invoke(Native Method)
    E/HandlerDispatcher(13274): 	at android.hardware.camera2.dispatch.InvokeDispatcher.dispatch(InvokeDispatcher.java:39)
    E/HandlerDispatcher(13274): 	at android.hardware.camera2.dispatch.HandlerDispatcher$1.run(HandlerDispatcher.java:65)
    E/HandlerDispatcher(13274): 	at android.os.Handler.handleCallback(Handler.java:790)
    E/HandlerDispatcher(13274): 	at android.os.Handler.dispatchMessage(Handler.java:99)
    E/HandlerDispatcher(13274): 	at android.os.Looper.loop(Looper.java:164)
    E/HandlerDispatcher(13274): 	at android.os.HandlerThread.run(HandlerThread.java:65)
    E/HandlerDispatcher(13274): Caused by: android.os.ServiceSpecificException: submitRequestList:208: Request targets Surface that is not part of current capture session (code 3)
    E/HandlerDispatcher(13274): 	at android.os.Parcel.readException(Parcel.java:2027)
    E/HandlerDispatcher(13274): 	at android.os.Parcel.readException(Parcel.java:1959)
    E/HandlerDispatcher(13274): 	at android.hardware.camera2.ICameraDeviceUser$Stub$Proxy.submitRequestList(ICameraDeviceUser.java:334)
    E/HandlerDispatcher(13274): 	at android.hardware.camera2.impl.ICameraDeviceUserWrapper.submitRequestList(ICameraDeviceUserWrapper.java:84)
    E/HandlerDispatcher(13274): 	... 15 more
    D/CameraCaptureCallback(13274): CameraCaptureCallback | state: STATE_CAPTURING | afState: 4 | aeState: 2
    I/chatty  (13274): uid=10304(com.example.test_issue) CameraBackgroun identical 1 line
    D/CameraCaptureCallback(13274): CameraCaptureCallback | state: STATE_CAPTURING | afState: 4 | aeState: 2
    D/CameraCaptureCallback(13274): CameraCaptureCallback | state: STATE_CAPTURING | afState: null | aeState: null
    I/chatty  (13274): uid=10304(com.example.test_issue) CameraBackgroun identical 3 lines
    D/CameraCaptureCallback(13274): CameraCaptureCallback | state: STATE_CAPTURING | afState: null | aeState: null
    I/flutter (13274): snapPause
    V/MediaRecorderJNI(13274): pause
    V/MediaRecorderJNI(13274): process_media_recorder_call
    I/flutter (13274): paused
    I/flutter (13274): CameraException(Previous capture has not returned yet., takePicture was called before the previous capture returned.)
    I/flutter (13274): stop
    V/MediaRecorderJNI(13274): stop
    
    

    What camera plugin version are you using ?
    Can you also try the same on another Android device (make and OS) and see if it persists or not ?

  3. added
    waiting for responseThe Flutter team cannot make further progress on this issue until the original reporter responds
    on Dec 10, 2021
  4. as1605 commented on Dec 12, 2021

    @as1605
    Author

    Managed to get these logs (had lowered targetSdkVersion to 30, and camera to 0.9.0 while running this time). My issue seems similar to #46082 (comment) and #92729 (comment)

    I/flutter (24383): snap
    I/Camera  (24383): runPictureAutoFocus
    I/Camera  (24383): lockAutoFocus
    D/CameraCaptureCallback(24383): CameraCaptureCallback | state: STATE_WAITING_FOCUS | afState: 6 | aeState: 1
    D/CameraCaptureCallback(24383): CameraCaptureCallback | state: STATE_WAITING_FOCUS | afState: 6 | aeState: 1
    D/CameraCaptureCallback(24383): CameraCaptureCallback | state: STATE_WAITING_FOCUS | afState: 6 | aeState: 1
    D/CameraCaptureCallback(24383): CameraCaptureCallback | state: STATE_WAITING_FOCUS | afState: 6 | aeState: 1
    D/CameraCaptureCallback(24383): CameraCaptureCallback | state: STATE_WAITING_FOCUS | afState: 6 | aeState: 1
    D/CameraCaptureCallback(24383): CameraCaptureCallback | state: STATE_WAITING_FOCUS | afState: 6 | aeState: 1
    D/CameraCaptureCallback(24383): CameraCaptureCallback | state: STATE_WAITING_FOCUS | afState: 6 | aeState: 1
    D/CameraCaptureCallback(24383): CameraCaptureCallback | state: STATE_WAITING_FOCUS | afState: 6 | aeState: 1
    D/CameraCaptureCallback(24383): CameraCaptureCallback | state: STATE_WAITING_FOCUS | afState: 6 | aeState: 1
    D/CameraCaptureCallback(24383): CameraCaptureCallback | state: STATE_WAITING_FOCUS | afState: 6 | aeState: 1
    D/CameraCaptureCallback(24383): CameraCaptureCallback | state: STATE_WAITING_FOCUS | afState: 6 | aeState: 1
    D/CameraCaptureCallback(24383): CameraCaptureCallback | state: STATE_WAITING_FOCUS | afState: 5 | aeState: 1
    I/Camera  (24383): runPrecaptureSequence
    D/CameraCaptureCallback(24383): CameraCaptureCallback | state: STATE_WAITING_PRECAPTURE_START | afState: 5 | aeState: 1
    D/CameraCaptureCallback(24383): CameraCaptureCallback | state: STATE_WAITING_PRECAPTURE_START | afState: 5 | aeState: 1
    D/CameraCaptureCallback(24383): CameraCaptureCallback | state: STATE_WAITING_PRECAPTURE_START | afState: 5 | aeState: 1
    D/CameraCaptureCallback(24383): CameraCaptureCallback | state: STATE_WAITING_PRECAPTURE_START | afState: 5 | aeState: 1
    D/CameraCaptureCallback(24383): CameraCaptureCallback | state: STATE_WAITING_PRECAPTURE_START | afState: 5 | aeState: 1
    D/CameraCaptureCallback(24383): CameraCaptureCallback | state: STATE_WAITING_PRECAPTURE_START | afState: 5 | aeState: 1
    D/CameraCaptureCallback(24383): CameraCaptureCallback | state: STATE_WAITING_PRECAPTURE_START | afState: 5 | aeState: 1
    D/CameraCaptureCallback(24383): CameraCaptureCallback | state: STATE_WAITING_PRECAPTURE_START | afState: 5 | aeState: 1
    D/CameraCaptureCallback(24383): CameraCaptureCallback | state: STATE_WAITING_PRECAPTURE_START | afState: 5 | aeState: 1
    D/CameraCaptureCallback(24383): CameraCaptureCallback | state: STATE_WAITING_PRECAPTURE_START | afState: 5 | aeState: 1
    D/CameraCaptureCallback(24383): CameraCaptureCallback | state: STATE_WAITING_PRECAPTURE_START | afState: 5 | aeState: 1
    D/CameraCaptureCallback(24383): CameraCaptureCallback | state: STATE_WAITING_PRECAPTURE_START | afState: 5 | aeState: 1
    D/CameraCaptureCallback(24383): CameraCaptureCallback | state: STATE_WAITING_PRECAPTURE_START | afState: 5 | aeState: 1
    D/CameraCaptureCallback(24383): CameraCaptureCallback | state: STATE_WAITING_PRECAPTURE_START | afState: 5 | aeState: 5
    D/CameraCaptureCallback(24383): CameraCaptureCallback | state: STATE_WAITING_PRECAPTURE_DONE | afState: 5 | aeState: 5
    D/CameraCaptureCallback(24383): CameraCaptureCallback | state: STATE_WAITING_PRECAPTURE_DONE | afState: 5 | aeState: 5
    D/CameraCaptureCallback(24383): CameraCaptureCallback | state: STATE_WAITING_PRECAPTURE_DONE | afState: 5 | aeState: 5
    D/CameraCaptureCallback(24383): CameraCaptureCallback | state: STATE_WAITING_PRECAPTURE_DONE | afState: 5 | aeState: 5
    D/CameraCaptureCallback(24383): CameraCaptureCallback | state: STATE_WAITING_PRECAPTURE_DONE | afState: 5 | aeState: 5
    D/CameraCaptureCallback(24383): CameraCaptureCallback | state: STATE_WAITING_PRECAPTURE_DONE | afState: 5 | aeState: 5
    D/CameraCaptureCallback(24383): CameraCaptureCallback | state: STATE_WAITING_PRECAPTURE_DONE | afState: 5 | aeState: 5
    D/CameraCaptureCallback(24383): CameraCaptureCallback | state: STATE_WAITING_PRECAPTURE_DONE | afState: 5 | aeState: 5
    D/CameraCaptureCallback(24383): CameraCaptureCallback | state: STATE_WAITING_PRECAPTURE_DONE | afState: 5 | aeState: 5
    D/CameraCaptureCallback(24383): CameraCaptureCallback | state: STATE_WAITING_PRECAPTURE_DONE | afState: 5 | aeState: 5
    D/CameraCaptureCallback(24383): CameraCaptureCallback | state: STATE_WAITING_PRECAPTURE_DONE | afState: 5 | aeState: 5
    D/CameraCaptureCallback(24383): CameraCaptureCallback | state: STATE_WAITING_PRECAPTURE_DONE | afState: 4 | aeState: 5
    D/CameraCaptureCallback(24383): CameraCaptureCallback | state: STATE_WAITING_PRECAPTURE_DONE | afState: 4 | aeState: 5
    D/CameraCaptureCallback(24383): CameraCaptureCallback | state: STATE_WAITING_PRECAPTURE_DONE | afState: 4 | aeState: 4
    I/Camera  (24383): captureStillPicture
    D/Camera  (24383): Updating builder with feature: ExposureLockFeature
    D/Camera  (24383): Updating builder with feature: ExposurePointFeature
    D/Camera  (24383): Updating builder with feature: ZoomLevelFeature
    D/Camera  (24383): Updating builder with feature: AutoFocusFeature
    D/Camera  (24383): Updating builder with feature: NoiseReductionFeature
    I/Camera  (24383): updateNoiseReduction | currentSetting: fast
    D/Camera  (24383): Updating builder with feature: FocusPointFeature
    D/Camera  (24383): Updating builder with feature: ResolutionFeature
    D/Camera  (24383): Updating builder with feature: SensorOrientationFeature
    D/Camera  (24383): Updating builder with feature: FlashFeature
    D/Camera  (24383): Updating builder with feature: ExposureOffsetFeature
    D/Camera  (24383): Updating builder with feature: FpsRangeFeature
    I/Camera  (24383): sending capture request
    E/AndroidRuntime(24383): FATAL EXCEPTION: CameraBackground
    E/AndroidRuntime(24383): Process: com.example.camera_bug, PID: 24383
    E/AndroidRuntime(24383): java.lang.IllegalArgumentException: CaptureRequest contains unconfigured Input/Output Surface!
    E/AndroidRuntime(24383):        at android.hardware.camera2.CaptureRequest.convertSurfaceToStreamId(CaptureRequest.java:738)
    E/AndroidRuntime(24383):        at android.hardware.camera2.impl.CameraDeviceImpl.submitCaptureRequest(CameraDeviceImpl.java:1187)
    E/AndroidRuntime(24383):        at android.hardware.camera2.impl.CameraDeviceImpl.capture(CameraDeviceImpl.java:1059)
    E/AndroidRuntime(24383):        at android.hardware.camera2.impl.CameraCaptureSessionImpl.capture(CameraCaptureSessionImpl.java:188)
    E/AndroidRuntime(24383):        at io.flutter.plugins.camera.Camera.takePictureAfterPrecapture(Camera.java:559)
    E/AndroidRuntime(24383):        at io.flutter.plugins.camera.Camera.onConverged(Camera.java:168)
    E/AndroidRuntime(24383):        at io.flutter.plugins.camera.CameraCaptureCallback.process(CameraCaptureCallback.java:120)
    E/AndroidRuntime(24383):        at io.flutter.plugins.camera.CameraCaptureCallback.onCaptureProgressed(CameraCaptureCallback.java:146)
    E/AndroidRuntime(24383):        at android.hardware.camera2.impl.CameraCaptureSessionImpl$1.lambda$onCaptureProgressed$2$CameraCaptureSessionImpl$1(CameraCaptureSessionImpl.java:678)
    E/AndroidRuntime(24383):        at android.hardware.camera2.impl.-$$Lambda$CameraCaptureSessionImpl$1$7mSdNTTAoYA0D3ITDxzDJKGykz0.run(Unknown Source:8)
    E/AndroidRuntime(24383):        at android.os.Handler.handleCallback(Handler.java:938)
    E/AndroidRuntime(24383):        at android.os.Handler.dispatchMessage(Handler.java:99)
    E/AndroidRuntime(24383):        at android.os.Looper.loop(Looper.java:236)
    E/AndroidRuntime(24383):        at android.os.HandlerThread.run(HandlerThread.java:67)
    D/OOMEventManagerFK(24383): checkEventAndDumpForJE: 0
    I/Process (24383): Sending signal. PID: 24383 SIG: 9
    Lost connection to device.
    
  5. removed
    waiting for responseThe Flutter team cannot make further progress on this issue until the original reporter responds
    on Dec 12, 2021
  6. darshankawar commented on Dec 13, 2021

    @darshankawar
    Member

    Yes, thanks for the log. Since you are trying to take picture during live recording, it may be throwing the error, you may follow-up in the original issue for further updates.
    Closing this as a duplicate of #46082

  7. added
    r: duplicateIssue is closed as a duplicate of an existing issue
    and removed
    in triagePresently being triaged by the triage team
    on Dec 13, 2021
  8. github-actions commented on Dec 27, 2021

    @github-actions

    This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of flutter doctor -v and a minimal reproduction of the issue.

  9. locked as resolved and limited conversation to collaborators on Dec 27, 2021
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

    r: duplicateIssue is closed as a duplicate of an existing issue

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions