Repository: flutter
Issue: [camera] camera warning: A resource failed to call release
Labels: platform-android,p: camera,package,P3,needs repro info,team-android,triaged-android

I'm following [https://docs.flutter.dev/cookbook/plugins/picture-using-camera](https://docs.flutter.dev/cookbook/plugins/picture-using-camera) to write my camera application. but i got `A resource failed to call release` warnings sometimes after I restarted my appliacation in debug mode


<details>
<summary>console log </summary>

``` 
Restarted application in 858ms.
W/libc    (15949): Access denied finding property "vendor.camera.aux.packagelist"  
I/Camera  (15949): close  
D/CameraExtImplXiaoMi(15949): releaseCameraDevice: 0  
D/CameraDevice-JV-0(15949): close: E. id = 0  
W/CameraDevice-JV-0(15949): Device error received, code 4, frame number 261, request ID 0, subseq ID 0  
W/libc    (15949): Access denied finding property "vendor.camera.aux.packagelist"  
W/CameraManagerGlobal(15949): ignore the torch status update of camera: 2  
W/libc    (15949): Access denied finding property "vendor.camera.aux.packagelist"  
W/CameraManagerGlobal(15949): ignore the torch status update of camera: 3  
W/libc    (15949): Access denied finding property "vendor.camera.aux.packagelist"  
W/CameraManagerGlobal(15949): ignore the torch status update of camera: 4  
W/libc    (15949): Access denied finding property "vendor.camera.aux.packagelist"  
W/CameraManagerGlobal(15949): ignore the torch status update of camera: 5  
D/CameraDevice-JV-0(15949): close: X  
E/CameraManagerGlobal(15949): Camera 4 is not available. Ignore physical camera status change  
I/Camera  (15949): open | onClosed  
W/CameraDevice-JV-0(15949): Device error received, code 4, frame number 259, request ID 0, subseq ID 0  
W/CameraDevice-JV-0(15949): Device error received, code 5, frame number 259, request ID 0, subseq ID 0  
W/CameraDevice-JV-0(15949): Device error received, code 5, frame number 260, request ID 0, subseq ID 0  
W/CameraDevice-JV-0(15949): Device error received, code 4, frame number 260, request ID 0, subseq ID 0  
W/CameraDevice-JV-0(15949): Device error received, code 5, frame number 261, request ID 0, subseq ID 0
W/CameraDevice-JV-0(15949): Device error received, code 4, frame number 262, request ID 0, subseq ID 0
W/CameraDevice-JV-0(15949): Device error received, code 5, frame number 262, request ID 0, subseq ID 0
W/CameraDevice-JV-0(15949): Device error received, code 4, frame number 263, request ID 0, subseq ID 0
W/CameraDevice-JV-0(15949): Device error received, code 5, frame number 263, request ID 0, subseq ID 0
W/CameraDevice-JV-0(15949): Device error received, code 3, frame number 264, request ID 0, subseq ID 0
W/Camera  (15949): The selected imageFormatGroup is not supported by Android. Defaulting to yuv420
W/libc    (15949): Access denied finding property "persist.vendor.camera.privapp.list"
D/CameraExtImplXiaoMi(15949): initCameraDevice: 0
E/CameraManagerGlobal(15949): Camera 4 is not available. Ignore physical camera status change
W/libc    (15949): Access denied finding property "vendor.camera.aux.packagelist"
W/CameraManagerGlobal(15949): ignore the torch status update of camera: 2
W/libc    (15949): Access denied finding property "vendor.camera.aux.packagelist"
W/CameraManagerGlobal(15949): ignore the torch status update of camera: 3
W/libc    (15949): Access denied finding property "vendor.camera.aux.packagelist"
W/CameraManagerGlobal(15949): ignore the torch status update of camera: 4
W/libc    (15949): Access denied finding property "vendor.camera.aux.packagelist"
W/CameraManagerGlobal(15949): ignore the torch status update of camera: 5
I/Camera  (15949): startPreview
D/CameraDevice-JV-0(15949): waitUntilIdle: E. id = 0
D/CameraDevice-JV-0(15949): waitUntilIdle: X
I/Camera  (15949): CameraCaptureSession onConfigured
I/Camera  (15949): Updating builder settings
D/Camera  (15949): Updating builder with feature: ExposureLockFeature
D/Camera  (15949): Updating builder with feature: ExposurePointFeature
D/Camera  (15949): Updating builder with feature: ZoomLevelFeature
D/Camera  (15949): Updating builder with feature: AutoFocusFeature
D/Camera  (15949): Updating builder with feature: NoiseReductionFeature
I/Camera  (15949): updateNoiseReduction | currentSetting: fast
D/Camera  (15949): Updating builder with feature: FocusPointFeature
D/Camera  (15949): Updating builder with feature: ResolutionFeature
D/Camera  (15949): Updating builder with feature: SensorOrientationFeature
D/Camera  (15949): Updating builder with feature: FlashFeature
D/Camera  (15949): Updating builder with feature: ExposureOffsetFeature
D/Camera  (15949): Updating builder with feature: FpsRangeFeature
I/Camera  (15949): refreshPreviewCaptureSession
I/Camera  (15949): CameraCaptureSession onClosed
W/System  (15949): A resource failed to call release.
```

</details>


<details>
<summary>source code</summary>

```  dart
import 'dart:async';
import 'dart:io';

import 'package:camera/camera.dart';
import 'package:flutter/material.dart';

Future<void> main() async {
  // Ensure that plugin services are initialized so that `availableCameras()`
  // can be called before `runApp()`
  WidgetsFlutterBinding.ensureInitialized();

  // Obtain a list of the available cameras on the device.
  final cameras = await availableCameras();

  // Get a specific camera from the list of available cameras.
  final firstCamera = cameras.first;

  runApp(
    MaterialApp(
      theme: ThemeData.dark(),
      home: TakePictureScreen(
        // Pass the appropriate camera to the TakePictureScreen widget.
        camera: firstCamera,
      ),
    ),
  );
}

// A screen that allows users to take a picture using a given camera.
class TakePictureScreen extends StatefulWidget {
  const TakePictureScreen({
    super.key,
    required this.camera,
  });

  final CameraDescription camera;

  @override
  TakePictureScreenState createState() => TakePictureScreenState();
}

class TakePictureScreenState extends State<TakePictureScreen> {
  late CameraController _controller;
  late Future<void> _initializeControllerFuture;

  @override
  void initState() {
    super.initState();
    // To display the current output from the Camera,
    // create a CameraController.
    _controller = CameraController(
      // Get a specific camera from the list of available cameras.
      widget.camera,
      // Define the resolution to use.
      ResolutionPreset.medium,
    );

    // Next, initialize the controller. This returns a Future.
    _initializeControllerFuture = _controller.initialize();
  }

  @override
  void dispose() {
    // Dispose of the controller when the widget is disposed.
    _controller.dispose();
    super.dispose();
  }

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(title: const Text('Take a picture')),
      // You must wait until the controller is initialized before displaying the
      // camera preview. Use a FutureBuilder to display a loading spinner until the
      // controller has finished initializing.
      body: FutureBuilder<void>(
        future: _initializeControllerFuture,
        builder: (context, snapshot) {
          if (snapshot.connectionState == ConnectionState.done) {
            // If the Future is complete, display the preview.
            return CameraPreview(_controller);
          } else {
            // Otherwise, display a loading indicator.
            return const Center(child: CircularProgressIndicator());
          }
        },
      ),
      floatingActionButton: FloatingActionButton(
        // Provide an onPressed callback.
        onPressed: () async {
          // Take the Picture in a try / catch block. If anything goes wrong,
          // catch the error.
          try {
            // Ensure that the camera is initialized.
            await _initializeControllerFuture;

            // Attempt to take a picture and get the file `image`
            // where it was saved.
            final image = await _controller.takePicture();

            if (!mounted) return;

            // If the picture was taken, display it on a new screen.
            await Navigator.of(context).push(
              MaterialPageRoute(
                builder: (context) => DisplayPictureScreen(
                  // Pass the automatically generated path to
                  // the DisplayPictureScreen widget.
                  imagePath: image.path,
                ),
              ),
            );
          } catch (e) {
            // If an error occurs, log the error to the console.
            print(e);
          }
        },
        child: const Icon(Icons.camera_alt),
      ),
    );
  }
}

// A widget that displays the picture taken by the user.
class DisplayPictureScreen extends StatelessWidget {
  final String imagePath;

  const DisplayPictureScreen({super.key, required this.imagePath});

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(title: const Text('Display the Picture')),
      // The image is stored as a file on the device. Use the `Image.file`
      // constructor with the given path to display the image.
      body: Image.file(File(imagePath)),
    );
  }
}
```
</details>



<details>
<summary>flutter doctor </summary>

``` 
[√] Flutter (Channel stable, 3.0.5, on Microsoft Windows [版本 10.0.22000.795], locale zh-CN)
    • Flutter version 3.0.5 at C:\flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision f1875d570e (3 weeks ago), 2022-07-13 11:24:16 -0700
    • Engine revision e85ea0e79c
    • Dart version 2.17.6
    • DevTools version 2.12.2

[√] Android toolchain - develop for Android devices (Android SDK version 32.1.0-rc1)
    • Android SDK at C:\Users\wwwqyhme\AppData\Local\Android\sdk
    • Platform android-33, build-tools 32.1.0-rc1
    • Java binary at: C:\Program Files\Android\Android Studio\jre\bin\java
    • Java version OpenJDK Runtime Environment (build 11.0.11+9-b60-7590822)
    • All Android licenses accepted.

[√] Chrome - develop for the web
    • Chrome at C:\Program Files\Google\Chrome\Application\chrome.exe

[√] Visual Studio - develop for Windows (Visual Studio Community 2022 17.1.3)
    • Visual Studio at C:\Program Files\Microsoft Visual Studio\2022\Community
    • Visual Studio Community 2022 version 17.1.32328.378
    • Windows 10 SDK version 10.0.22000.0

[√] Android Studio (version 2021.1)
    • Android Studio at C:\Program Files\Android\Android Studio
    • Flutter plugin can be installed from:
       https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
       https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.11+9-b60-7590822)

[√] VS Code (version 1.69.2)
    • VS Code at C:\Users\wwwqyhme\AppData\Local\Programs\Microsoft VS Code
    • Flutter extension version 3.46.0

[√] Connected device (4 available)
    • SHARK PAR A0 (mobile) • 824ef9ce • android-arm64  • Android 12 (API 31)
    • Windows (desktop)     • windows  • windows-x64    • Microsoft Windows [版本 10.0.22000.795]
    • Chrome (web)          • chrome   • web-javascript • Google Chrome 103.0.5060.134
    • Edge (web)            • edge     • web-javascript • Microsoft Edge 103.0.1264.77

HTTP Host availability check is taking a long time...[√] HTTP Host Availability
    • All required HTTP hosts are available

• No issues found!
```

</details>

<details>
<summary>verbose log</summary>

```
[  +41 ms] executing: [C:\flutter/] git -c log.showSignature=false log -n 1 --pretty=format:%H
[ +215 ms] Exit code 0 from: git -c log.showSignature=false log -n 1 --pretty=format:%H
[   +1 ms] f1875d570e39de09040c8f79aa13cc56baab8db1
[        ] executing: [C:\flutter/] git tag --points-at f1875d570e39de09040c8f79aa13cc56baab8db1
[ +121 ms] Exit code 0 from: git tag --points-at f1875d570e39de09040c8f79aa13cc56baab8db1
[        ] 3.0.5
[   +5 ms] executing: [C:\flutter/] git rev-parse --abbrev-ref --symbolic @{u}
[  +30 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{u}
[        ] origin/stable
[        ] executing: [C:\flutter/] git ls-remote --get-url origin
[  +27 ms] Exit code 0 from: git ls-remote --get-url origin
[        ] https://github.com/flutter/flutter.git
[  +75 ms] executing: [C:\flutter/] git rev-parse --abbrev-ref HEAD
[  +28 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD
[        ] stable
[  +44 ms] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterWebSdk' is not required, skipping update.
[   +1 ms] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'WindowsUwpEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[  +48 ms] executing: C:\Users\wwwqyhme\AppData\Local\Android\sdk\platform-tools\adb.exe devices -l
[  +46 ms] List of devices attached
           824ef9ce               device product:PAR-A0 model:SHARK_PAR_A0 device:patriot transport_id:2
[   +5 ms] C:\Users\wwwqyhme\AppData\Local\Android\sdk\platform-tools\adb.exe -s 824ef9ce shell getprop
[  +63 ms] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[   +2 ms] 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.
[  +87 ms] Skipping pub get: version match.
[  +15 ms] Found plugin camera at C:\flutter\.pub-cache\hosted\pub.dartlang.org\camera-0.10.0\
[   +4 ms] Found plugin camera_android at C:\flutter\.pub-cache\hosted\pub.dartlang.org\camera_android-0.10.0\
[   +2 ms] Found plugin camera_avfoundation at C:\flutter\.pub-cache\hosted\pub.dartlang.org\camera_avfoundation-0.9.8+2\
[   +2 ms] Found plugin camera_web at C:\flutter\.pub-cache\hosted\pub.dartlang.org\camera_web-0.3.0\
[   +4 ms] Found plugin flutter_plugin_android_lifecycle at
C:\flutter\.pub-cache\hosted\pub.dartlang.org\flutter_plugin_android_lifecycle-2.0.7\
[  +10 ms] Found plugin path_provider at C:\flutter\.pub-cache\hosted\pub.dartlang.org\path_provider-2.0.11\
[   +2 ms] Found plugin path_provider_android at C:\flutter\.pub-cache\hosted\pub.dartlang.org\path_provider_android-2.0.16\
[   +2 ms] Found plugin path_provider_ios at C:\flutter\.pub-cache\hosted\pub.dartlang.org\path_provider_ios-2.0.10\
[   +1 ms] Found plugin path_provider_linux at C:\flutter\.pub-cache\hosted\pub.dartlang.org\path_provider_linux-2.1.7\
[   +5 ms] Found plugin path_provider_macos at C:\flutter\.pub-cache\hosted\pub.dartlang.org\path_provider_macos-2.0.6\
[   +3 ms] Found plugin path_provider_windows at C:\flutter\.pub-cache\hosted\pub.dartlang.org\path_provider_windows-2.0.7\
[  +40 ms] Found plugin camera at C:\flutter\.pub-cache\hosted\pub.dartlang.org\camera-0.10.0\
[   +1 ms] Found plugin camera_android at C:\flutter\.pub-cache\hosted\pub.dartlang.org\camera_android-0.10.0\
[   +1 ms] Found plugin camera_avfoundation at C:\flutter\.pub-cache\hosted\pub.dartlang.org\camera_avfoundation-0.9.8+2\
[   +1 ms] Found plugin camera_web at C:\flutter\.pub-cache\hosted\pub.dartlang.org\camera_web-0.3.0\
[   +3 ms] Found plugin flutter_plugin_android_lifecycle at
C:\flutter\.pub-cache\hosted\pub.dartlang.org\flutter_plugin_android_lifecycle-2.0.7\
[   +6 ms] Found plugin path_provider at C:\flutter\.pub-cache\hosted\pub.dartlang.org\path_provider-2.0.11\
[   +1 ms] Found plugin path_provider_android at C:\flutter\.pub-cache\hosted\pub.dartlang.org\path_provider_android-2.0.16\
[   +1 ms] Found plugin path_provider_ios at C:\flutter\.pub-cache\hosted\pub.dartlang.org\path_provider_ios-2.0.10\
[   +1 ms] Found plugin path_provider_linux at C:\flutter\.pub-cache\hosted\pub.dartlang.org\path_provider_linux-2.1.7\
[   +1 ms] Found plugin path_provider_macos at C:\flutter\.pub-cache\hosted\pub.dartlang.org\path_provider_macos-2.0.6\
[   +1 ms] Found plugin path_provider_windows at C:\flutter\.pub-cache\hosted\pub.dartlang.org\path_provider_windows-2.0.7\
[  +16 ms] Generating C:\github\fmoment\android\app\src\main\java\io\flutter\plugins\GeneratedPluginRegistrant.java
[  +45 ms] ro.hardware = qcom
[  +26 ms] Initializing file store
[   +8 ms] Skipping target: gen_localizations
[   +3 ms] gen_dart_plugin_registrant: Starting due to {InvalidatedReasonKind.inputChanged: The following inputs have updated contents:
C:\github\fmoment\.dart_tool\package_config_subset,C:\github\fmoment\.dart_tool\flutter_build\dart_plugin_registrant.dart}
[   +6 ms] Found plugin camera at C:\flutter\.pub-cache\hosted\pub.dartlang.org\camera-0.10.0\
[   +1 ms] Found plugin camera_android at C:\flutter\.pub-cache\hosted\pub.dartlang.org\camera_android-0.10.0\
[   +1 ms] Found plugin camera_avfoundation at C:\flutter\.pub-cache\hosted\pub.dartlang.org\camera_avfoundation-0.9.8+2\
[   +2 ms] Found plugin camera_web at C:\flutter\.pub-cache\hosted\pub.dartlang.org\camera_web-0.3.0\
[   +4 ms] Found plugin flutter_plugin_android_lifecycle at
C:\flutter\.pub-cache\hosted\pub.dartlang.org\flutter_plugin_android_lifecycle-2.0.7\
[   +3 ms] Found plugin path_provider at C:\flutter\.pub-cache\hosted\pub.dartlang.org\path_provider-2.0.11\
[   +3 ms] Found plugin path_provider_android at C:\flutter\.pub-cache\hosted\pub.dartlang.org\path_provider_android-2.0.16\
[   +2 ms] Found plugin path_provider_ios at C:\flutter\.pub-cache\hosted\pub.dartlang.org\path_provider_ios-2.0.10\
[   +2 ms] Found plugin path_provider_linux at C:\flutter\.pub-cache\hosted\pub.dartlang.org\path_provider_linux-2.1.7\
[   +2 ms] Found plugin path_provider_macos at C:\flutter\.pub-cache\hosted\pub.dartlang.org\path_provider_macos-2.0.6\
[   +2 ms] Found plugin path_provider_windows at C:\flutter\.pub-cache\hosted\pub.dartlang.org\path_provider_windows-2.0.7\
[  +15 ms] gen_dart_plugin_registrant: Complete
[   +2 ms] Skipping target: _composite
[   +3 ms] complete
[   +7 ms] Launching lib\main.dart on SHARK PAR A0 in debug mode...
[   +3 ms] C:\flutter\bin\cache\dart-sdk\bin\dart.exe --disable-dart-dev
C:\flutter\bin\cache\dart-sdk\bin\snapshots\frontend_server.dart.snapshot --sdk-root
C:\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
C:\Users\wwwqyhme\AppData\Local\Temp\flutter_tools.91054ab7\flutter_tool.d653d0fb\app.dill --packages
C:\github\fmoment\.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 --source
C:\github\fmoment\.dart_tool\flutter_build\dart_plugin_registrant.dart --source package:flutter/src/dart_plugin_registrant.dart        
-Dflutter.dart_plugin_registrant=file:///C:/github/fmoment/.dart_tool/flutter_build/dart_plugin_registrant.dart
--enable-experiment=alternative-invalidation-strategy
[   +9 ms] executing: C:\Users\wwwqyhme\AppData\Local\Android\sdk\build-tools\32.1.0-rc1\aapt dump xmltree
C:\github\fmoment\build\app\outputs\flutter-apk\app.apk AndroidManifest.xml
[  +21 ms] Exit code 0 from: C:\Users\wwwqyhme\AppData\Local\Android\sdk\build-tools\32.1.0-rc1\aapt dump xmltree
C:\github\fmoment\build\app\outputs\flutter-apk\app.apk AndroidManifest.xml
[        ] N: android=http://schemas.android.com/apk/res/android
             E: manifest (line=2)
               A: android:versionCode(0x0101021b)=(type 0x10)0x1
               A: android:versionName(0x0101021c)="1.0.0" (Raw: "1.0.0")
               A: android:compileSdkVersion(0x01010572)=(type 0x10)0x21
               A: android:compileSdkVersionCodename(0x01010573)="13" (Raw: "13")
               A: package="me.qyh.fmoment" (Raw: "me.qyh.fmoment")
               A: platformBuildVersionCode=(type 0x10)0x21
               A: platformBuildVersionName=(type 0x10)0xd
               E: uses-sdk (line=7)
                 A: android:minSdkVersion(0x0101020c)=(type 0x10)0x15
                 A: android:targetSdkVersion(0x01010270)=(type 0x10)0x1f
               E: uses-permission (line=15)
                 A: android:name(0x01010003)="android.permission.INTERNET" (Raw: "android.permission.INTERNET")
               E: uses-permission (line=16)
                 A: android:name(0x01010003)="android.permission.ACCESS_FINE_LOCATION" (Raw: "android.permission.ACCESS_FINE_LOCATION")
               E: uses-permission (line=17)
                 A: android:name(0x01010003)="android.permission.ACCESS_COARSE_LOCATION" (Raw:
                 "android.permission.ACCESS_COARSE_LOCATION")
               E: uses-permission (line=18)
                 A: android:name(0x01010003)="android.permission.CAMERA" (Raw: "android.permission.CAMERA")
               E: uses-feature (line=20)
                 A: android:name(0x01010003)="android.hardware.camera" (Raw: "android.hardware.camera")
               E: queries (line=22)
                 E: intent (line=23)
                   E: action (line=24)
                     A: android:name(0x01010003)="android.intent.action.VIEW" (Raw: "android.intent.action.VIEW")
                   E: category (line=26)
                     A: android:name(0x01010003)="android.intent.category.BROWSABLE" (Raw: "android.intent.category.BROWSABLE")        
                   E: data (line=28)
                     A: android:scheme(0x01010027)="https" (Raw: "https")
               E: uses-permission (line=32)
                 A: android:name(0x01010003)="android.permission.RECORD_AUDIO" (Raw: "android.permission.RECORD_AUDIO")
               E: application (line=34)
                 A: android:label(0x01010001)="moment" (Raw: "moment")
                 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:usesCleartextTraffic(0x010104ec)=(type 0x12)0xffffffff
                 A: android:appComponentFactory(0x0101057a)="androidx.core.app.CoreComponentFactory" (Raw:
                 "androidx.core.app.CoreComponentFactory")
                 E: activity (line=41)
                   A: android:theme(0x01010000)=@0x7f0a0000
                   A: android:name(0x01010003)="me.qyh.fmoment.MainActivity" (Raw: "me.qyh.fmoment.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=49)
                     A: android:name(0x01010003)="io.flutter.embedding.android.NormalTheme" (Raw:
                     "io.flutter.embedding.android.NormalTheme")
                     A: android:resource(0x01010025)=@0x7f0a0001
                   E: intent-filter (line=53)
                     E: action (line=54)
                       A: android:name(0x01010003)="android.intent.action.MAIN" (Raw: "android.intent.action.MAIN")
                     E: category (line=56)
                       A: android:name(0x01010003)="android.intent.category.LAUNCHER" (Raw: "android.intent.category.LAUNCHER")        
                 E: meta-data (line=63)
                   A: android:name(0x01010003)="flutterEmbedding" (Raw: "flutterEmbedding")
                   A: android:value(0x01010024)=(type 0x10)0x2
                 E: uses-library (line=67)
                   A: android:name(0x01010003)="androidx.window.extensions" (Raw: "androidx.window.extensions")
                   A: android:required(0x0101028e)=(type 0x12)0x0
                 E: uses-library (line=70)
                   A: android:name(0x01010003)="androidx.window.sidecar" (Raw: "androidx.window.sidecar")
                   A: android:required(0x0101028e)=(type 0x12)0x0
[   +8 ms] executing: C:\Users\wwwqyhme\AppData\Local\Android\sdk\platform-tools\adb.exe -s 824ef9ce shell -x logcat -v time -t 1      
[   +6 ms] <- compile package:fmoment/main.dart
[  +17 ms] executing: C:\Program Files\Android\Android Studio\jre\bin\java -version
[ +125 ms] Exit code 0 from: C:\Program Files\Android\Android Studio\jre\bin\java -version
[        ] openjdk version "11.0.11" 2021-04-20
           OpenJDK Runtime Environment (build 11.0.11+9-b60-7590822)
           OpenJDK 64-Bit Server VM (build 11.0.11+9-b60-7590822, mixed mode)
[   +1 ms] executing: [C:\github\fmoment\android/] C:\github\fmoment\android\gradlew.bat -Pverbose=true -Ptarget-platform=android-arm64-Ptarget=C:\github\fmoment\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
[ +997 ms] WARNING:We recommend using a newer Android Gradle plugin to use compileSdk = 33
[   +1 ms] This Android Gradle plugin (7.1.2) was tested up to compileSdk = 32
[        ] This warning can be suppressed by adding
[        ]     android.suppressUnsupportedCompileSdk=33
[        ] to this project's gradle.properties
[        ] The build will continue, but you are strongly encouraged to update your project to
[        ] use a newer Android Gradle Plugin that has been tested with compileSdk = 33
[ +109 ms] > Task :app:preBuild UP-TO-DATE
[        ] > Task :app:preDebugBuild UP-TO-DATE
[        ] > Task :app:mergeDebugNativeDebugMetadata NO-SOURCE
[+8077 ms] > Task :app:compileFlutterBuildDebug
[        ] > Task :app:packLibsflutterBuildDebug UP-TO-DATE
[        ] > Task :camera_android:preBuild UP-TO-DATE
[        ] > Task :camera_android: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_android:compileDebugAidl NO-SOURCE
[        ] > Task :path_provider_android:preBuild UP-TO-DATE
[        ] > Task :path_provider_android:preDebugBuild UP-TO-DATE
[        ] > Task :path_provider_android:compileDebugAidl NO-SOURCE
[        ] > Task :app:compileDebugAidl NO-SOURCE
[        ] > Task :camera_android:packageDebugRenderscript NO-SOURCE
[        ] > Task :flutter_plugin_android_lifecycle:packageDebugRenderscript NO-SOURCE
[        ] > Task :path_provider_android:packageDebugRenderscript NO-SOURCE
[        ] > Task :app:compileDebugRenderscript NO-SOURCE
[        ] > Task :app:generateDebugBuildConfig UP-TO-DATE
[        ] > Task :camera_android:writeDebugAarMetadata UP-TO-DATE
[        ] > Task :flutter_plugin_android_lifecycle:writeDebugAarMetadata UP-TO-DATE
[        ] > Task :path_provider_android:writeDebugAarMetadata UP-TO-DATE
[        ] > Task :app:checkDebugAarMetadata UP-TO-DATE
[        ] > Task :app:cleanMergeDebugAssets
[        ] > Task :app:mergeDebugShaders UP-TO-DATE
[        ] > Task :app:compileDebugShaders NO-SOURCE
[        ] > Task :app:generateDebugAssets UP-TO-DATE
[        ] > Task :camera_android:mergeDebugShaders UP-TO-DATE
[        ] > Task :camera_android:compileDebugShaders NO-SOURCE
[        ] > Task :camera_android:generateDebugAssets UP-TO-DATE
[        ] > Task :camera_android: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 :path_provider_android:mergeDebugShaders UP-TO-DATE
[        ] > Task :path_provider_android:compileDebugShaders NO-SOURCE
[        ] > Task :path_provider_android:generateDebugAssets UP-TO-DATE
[        ] > Task :path_provider_android:packageDebugAssets UP-TO-DATE
[        ] > Task :app:mergeDebugAssets
[ +195 ms] > Task :app:copyFlutterAssetsDebug
[   +1 ms] > Task :app:generateDebugResValues UP-TO-DATE
[        ] > Task :app:generateDebugResources UP-TO-DATE
[        ] > Task :camera_android:compileDebugRenderscript NO-SOURCE
[        ] > Task :camera_android:generateDebugResValues UP-TO-DATE
[        ] > Task :camera_android:generateDebugResources UP-TO-DATE
[        ] > Task :camera_android:packageDebugResources UP-TO-DATE
[        ] > Task :flutter_plugin_android_lifecycle:compileDebugRenderscript NO-SOURCE
[        ] > 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 :path_provider_android:compileDebugRenderscript NO-SOURCE
[        ] > Task :path_provider_android:generateDebugResValues UP-TO-DATE
[        ] > Task :path_provider_android:generateDebugResources UP-TO-DATE
[        ] > Task :path_provider_android:packageDebugResources UP-TO-DATE
[        ] > Task :app:mergeDebugResources UP-TO-DATE
[        ] > Task :app:createDebugCompatibleScreenManifests UP-TO-DATE
[        ] > Task :app:extractDeepLinksDebug UP-TO-DATE
[        ] > Task :camera_android:extractDeepLinksDebug UP-TO-DATE
[        ] > Task :camera_android:processDebugManifest UP-TO-DATE
[        ] > Task :flutter_plugin_android_lifecycle:extractDeepLinksDebug UP-TO-DATE
[        ] > Task :flutter_plugin_android_lifecycle:processDebugManifest UP-TO-DATE
[        ] > Task :path_provider_android:extractDeepLinksDebug UP-TO-DATE
[        ] > Task :path_provider_android:processDebugManifest UP-TO-DATE
[        ] > Task :app:processDebugMainManifest UP-TO-DATE
[        ] > Task :app:processDebugManifest UP-TO-DATE
[        ] > Task :app:processDebugManifestForPackage UP-TO-DATE
[        ] > Task :camera_android:compileDebugLibraryResources UP-TO-DATE
[        ] > Task :camera_android:parseDebugLocalResources UP-TO-DATE
[        ] > Task :flutter_plugin_android_lifecycle:parseDebugLocalResources UP-TO-DATE
[        ] > Task :flutter_plugin_android_lifecycle:generateDebugRFile UP-TO-DATE
[        ] > Task :camera_android:generateDebugRFile UP-TO-DATE
[        ] > Task :flutter_plugin_android_lifecycle:compileDebugLibraryResources UP-TO-DATE
[        ] > Task :path_provider_android:compileDebugLibraryResources UP-TO-DATE
[        ] > Task :path_provider_android:parseDebugLocalResources UP-TO-DATE
[  +85 ms] > Task :path_provider_android:generateDebugRFile UP-TO-DATE
[        ] > Task :app:processDebugResources UP-TO-DATE
[        ] > Task :camera_android:generateDebugBuildConfig UP-TO-DATE
[        ] > Task :camera_android: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
[   +1 ms] > Task :camera_android:compileDebugJavaWithJavac UP-TO-DATE
[        ] > Task :camera_android:bundleLibCompileToJarDebug UP-TO-DATE
[        ] > Task :path_provider_android:generateDebugBuildConfig UP-TO-DATE
[        ] > Task :path_provider_android:javaPreCompileDebug UP-TO-DATE
[        ] > Task :path_provider_android:compileDebugJavaWithJavac UP-TO-DATE
[        ] > Task :path_provider_android:bundleLibCompileToJarDebug UP-TO-DATE
[        ] > Task :app:compileDebugKotlin UP-TO-DATE
[        ] > Task :app:javaPreCompileDebug UP-TO-DATE
[        ] > Task :app:compileDebugJavaWithJavac UP-TO-DATE
[        ] > Task :app:processDebugJavaRes NO-SOURCE
[        ] > Task :camera_android:processDebugJavaRes NO-SOURCE
[        ] > Task :camera_android:bundleLibResDebug NO-SOURCE
[        ] > Task :flutter_plugin_android_lifecycle:processDebugJavaRes NO-SOURCE
[        ] > Task :flutter_plugin_android_lifecycle:bundleLibResDebug NO-SOURCE
[        ] > Task :path_provider_android:processDebugJavaRes NO-SOURCE
[        ] > Task :path_provider_android:bundleLibResDebug NO-SOURCE
[        ] > Task :app:mergeDebugJavaResource UP-TO-DATE
[        ] > Task :app:checkDebugDuplicateClasses UP-TO-DATE
[        ] > Task :app:desugarDebugFileDependencies UP-TO-DATE
[  +92 ms] > Task :app:mergeExtDexDebug UP-TO-DATE
[        ] > Task :flutter_plugin_android_lifecycle:bundleLibRuntimeToJarDebug UP-TO-DATE
[        ] > Task :camera_android:bundleLibRuntimeToJarDebug UP-TO-DATE
[        ] > Task :path_provider_android:bundleLibRuntimeToJarDebug UP-TO-DATE
[        ] > 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_android:mergeDebugJniLibFolders UP-TO-DATE
[        ] > Task :camera_android:mergeDebugNativeLibs NO-SOURCE
[        ] > Task :camera_android: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:copyDebugJniLibsProjectOnly UP-TO-DATE
[        ] > Task :path_provider_android:mergeDebugJniLibFolders UP-TO-DATE
[        ] > Task :path_provider_android:mergeDebugNativeLibs NO-SOURCE
[        ] > Task :path_provider_android:copyDebugJniLibsProjectOnly UP-TO-DATE
[        ] > Task :app:mergeDebugNativeLibs UP-TO-DATE
[        ] > Task :app:stripDebugDebugSymbols UP-TO-DATE
[        ] > Task :app:validateSigningDebug UP-TO-DATE
[        ] > Task :app:writeDebugAppMetadata UP-TO-DATE
[        ] > Task :app:writeDebugSigningConfigVersions UP-TO-DATE
[        ] > Task :camera_android:stripDebugDebugSymbols NO-SOURCE
[        ] > Task :camera_android:copyDebugJniLibsProjectAndLocalJars UP-TO-DATE
[        ] > Task :camera_android:extractDebugAnnotations UP-TO-DATE
[        ] > Task :camera_android:mergeDebugGeneratedProguardFiles UP-TO-DATE
[        ] > Task :camera_android:mergeDebugConsumerProguardFiles UP-TO-DATE
[        ] > Task :camera_android:prepareDebugArtProfile UP-TO-DATE
[        ] > Task :camera_android:prepareLintJarForPublish UP-TO-DATE
[        ] > Task :camera_android:mergeDebugJavaResource UP-TO-DATE
[        ] > Task :camera_android:syncDebugLibJars UP-TO-DATE
[        ] > Task :camera_android:bundleDebugAar UP-TO-DATE
[        ] > Task :camera_android:assembleDebug UP-TO-DATE
[        ] > Task :flutter_plugin_android_lifecycle:stripDebugDebugSymbols NO-SOURCE
[        ] > Task :flutter_plugin_android_lifecycle:copyDebugJniLibsProjectAndLocalJars UP-TO-DATE
[  +82 ms] > 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:prepareDebugArtProfile 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:assembleDebug UP-TO-DATE
[        ] > Task :path_provider_android:stripDebugDebugSymbols NO-SOURCE
[        ] > Task :path_provider_android:copyDebugJniLibsProjectAndLocalJars UP-TO-DATE
[        ] > Task :path_provider_android:extractDebugAnnotations UP-TO-DATE
[        ] > Task :path_provider_android:mergeDebugGeneratedProguardFiles UP-TO-DATE
[        ] > Task :path_provider_android:mergeDebugConsumerProguardFiles UP-TO-DATE
[        ] > Task :path_provider_android:prepareDebugArtProfile UP-TO-DATE
[        ] > Task :path_provider_android:prepareLintJarForPublish UP-TO-DATE
[        ] > Task :path_provider_android:mergeDebugJavaResource UP-TO-DATE
[        ] > Task :path_provider_android:syncDebugLibJars UP-TO-DATE
[        ] > Task :path_provider_android:bundleDebugAar UP-TO-DATE
[        ] > Task :path_provider_android:assembleDebug UP-TO-DATE
[ +401 ms] > Task :app:compressDebugAssets
[        ] Execution optimizations have been disabled for task ':app:compressDebugAssets' to ensure correctness due to the following
reasons:
[        ]   - Gradle detected a problem with the following location:
'C:\github\fmoment\build\app\intermediates\assets\debug\mergeDebugAssets'. Reason: Task ':app:compressDebugAssets' uses this output of 
task ':app:copyFlutterAssetsDebug' without declaring an explicit or implicit dependency. This can lead to incorrect results being      
produced, depending on what order the tasks are executed. Please refer to
https://docs.gradle.org/7.4/userguide/validation_problems.html#implicit_dependency for more details about this problem.
[ +499 ms] > Task :app:packageDebug
[        ] > Task :app:createDebugApkListingFileRedirect UP-TO-DATE
[  +92 ms] > Task :app:assembleDebug
[  +36 ms] Deprecated Gradle features were used in this build, making it incompatible with Gradle 8.0.
[        ] You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own
scripts or plugins.
[        ] See https://docs.gradle.org/7.4/userguide/command_line_interface.html#sec:command_line_warnings
[        ] Execution optimizations have been disabled for 1 invalid unit(s) of work during this build to ensure correctness.
[        ] Please consult deprecation warnings for more details.
[        ] BUILD SUCCESSFUL in 10s
[        ] 114 actionable tasks: 7 executed, 107 up-to-date
[ +529 ms] Running Gradle task 'assembleDebug'... (completed in 11.4s)
[  +58 ms] calculateSha: LocalDirectory: 'C:\github\fmoment\build\app\outputs\flutter-apk'/app.apk
[ +494 ms] √  Built build\app\outputs\flutter-apk\app-debug.apk.
[   +2 ms] executing: C:\Users\wwwqyhme\AppData\Local\Android\sdk\build-tools\32.1.0-rc1\aapt dump xmltree
C:\github\fmoment\build\app\outputs\flutter-apk\app.apk AndroidManifest.xml
[  +39 ms] Exit code 0 from: C:\Users\wwwqyhme\AppData\Local\Android\sdk\build-tools\32.1.0-rc1\aapt dump xmltree
C:\github\fmoment\build\app\outputs\flutter-apk\app.apk AndroidManifest.xml
[   +1 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)0x21
               A: android:compileSdkVersionCodename(0x01010573)="13" (Raw: "13")
               A: package="me.qyh.fmoment" (Raw: "me.qyh.fmoment")
               A: platformBuildVersionCode=(type 0x10)0x21
               A: platformBuildVersionName=(type 0x10)0xd
               E: uses-sdk (line=7)
                 A: android:minSdkVersion(0x0101020c)=(type 0x10)0x15
                 A: android:targetSdkVersion(0x01010270)=(type 0x10)0x1f
               E: uses-permission (line=15)
                 A: android:name(0x01010003)="android.permission.INTERNET" (Raw: "android.permission.INTERNET")
               E: uses-permission (line=16)
                 A: android:name(0x01010003)="android.permission.ACCESS_FINE_LOCATION" (Raw: "android.permission.ACCESS_FINE_LOCATION")
               E: uses-permission (line=17)
                 A: android:name(0x01010003)="android.permission.ACCESS_COARSE_LOCATION" (Raw:
                 "android.permission.ACCESS_COARSE_LOCATION")
               E: uses-permission (line=18)
                 A: android:name(0x01010003)="android.permission.CAMERA" (Raw: "android.permission.CAMERA")
               E: uses-feature (line=20)
                 A: android:name(0x01010003)="android.hardware.camera" (Raw: "android.hardware.camera")
               E: queries (line=22)
                 E: intent (line=23)
                   E: action (line=24)
                     A: android:name(0x01010003)="android.intent.action.VIEW" (Raw: "android.intent.action.VIEW")
                   E: category (line=26)
                     A: android:name(0x01010003)="android.intent.category.BROWSABLE" (Raw: "android.intent.category.BROWSABLE")        
                   E: data (line=28)
                     A: android:scheme(0x01010027)="https" (Raw: "https")
               E: uses-permission (line=32)
                 A: android:name(0x01010003)="android.permission.RECORD_AUDIO" (Raw: "android.permission.RECORD_AUDIO")
               E: application (line=34)
                 A: android:label(0x01010001)="moment" (Raw: "moment")
                 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:usesCleartextTraffic(0x010104ec)=(type 0x12)0xffffffff
                 A: android:appComponentFactory(0x0101057a)="androidx.core.app.CoreComponentFactory" (Raw:
                 "androidx.core.app.CoreComponentFactory")
                 E: activity (line=41)
                   A: android:theme(0x01010000)=@0x7f0a0000
                   A: android:name(0x01010003)="me.qyh.fmoment.MainActivity" (Raw: "me.qyh.fmoment.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=49)
                     A: android:name(0x01010003)="io.flutter.embedding.android.NormalTheme" (Raw:
                     "io.flutter.embedding.android.NormalTheme")
                     A: android:resource(0x01010025)=@0x7f0a0001
                   E: intent-filter (line=53)
                     E: action (line=54)
                       A: android:name(0x01010003)="android.intent.action.MAIN" (Raw: "android.intent.action.MAIN")
                     E: category (line=56)
                       A: android:name(0x01010003)="android.intent.category.LAUNCHER" (Raw: "android.intent.category.LAUNCHER")        
                 E: meta-data (line=63)
                   A: android:name(0x01010003)="flutterEmbedding" (Raw: "flutterEmbedding")
                   A: android:value(0x01010024)=(type 0x10)0x2
                 E: uses-library (line=67)
                   A: android:name(0x01010003)="androidx.window.extensions" (Raw: "androidx.window.extensions")
                   A: android:required(0x0101028e)=(type 0x12)0x0
                 E: uses-library (line=70)
                   A: android:name(0x01010003)="androidx.window.sidecar" (Raw: "androidx.window.sidecar")
                   A: android:required(0x0101028e)=(type 0x12)0x0
[   +5 ms] Stopping app 'app.apk' on SHARK PAR A0.
[        ] executing: C:\Users\wwwqyhme\AppData\Local\Android\sdk\platform-tools\adb.exe -s 824ef9ce shell am force-stop me.qyh.fmoment
[ +149 ms] executing: C:\Users\wwwqyhme\AppData\Local\Android\sdk\platform-tools\adb.exe -s 824ef9ce shell pm list packages
me.qyh.fmoment
[  +68 ms] package:me.qyh.fmoment
[   +1 ms] executing: C:\Users\wwwqyhme\AppData\Local\Android\sdk\platform-tools\adb.exe -s 824ef9ce shell cat
/data/local/tmp/sky.me.qyh.fmoment.sha1
[  +46 ms] de9741bfd85aaba30b78aa5a26fb603d8749daf4
[   +1 ms] Installing APK.
[   +3 ms] Installing build\app\outputs\flutter-apk\app.apk...
[        ] executing: C:\Users\wwwqyhme\AppData\Local\Android\sdk\platform-tools\adb.exe -s 824ef9ce install -t -r
C:\github\fmoment\build\app\outputs\flutter-apk\app.apk
[+2403 ms] Performing Streamed Install
                    Success
[   +1 ms] Installing build\app\outputs\flutter-apk\app.apk... (completed in 2,404ms)
[   +1 ms] executing: C:\Users\wwwqyhme\AppData\Local\Android\sdk\platform-tools\adb.exe -s 824ef9ce shell echo -n
22d6ffc298ba57853781c3f4449985dd240a2618 > /data/local/tmp/sky.me.qyh.fmoment.sha1
[  +38 ms] executing: C:\Users\wwwqyhme\AppData\Local\Android\sdk\platform-tools\adb.exe -s 824ef9ce shell -x logcat -v time -t 1
[+2090 ms] --------- beginning of main
                    08-04 11:02:20.333 I/AdrenoGLES-0(25258): PFP: 0x016dd093, ME: 0x00000000
[   +4 ms] executing: C:\Users\wwwqyhme\AppData\Local\Android\sdk\platform-tools\adb.exe -s 824ef9ce shell am start -a
android.intent.action.RUN -f 0x20000000 --ez enable-dart-profiling true --ez enable-checked-mode true --ez verify-entry-points true    
me.qyh.fmoment/me.qyh.fmoment.MainActivity
[  +79 ms] Starting: Intent { act=android.intent.action.RUN flg=0x20000000 cmp=me.qyh.fmoment/.MainActivity (has extras) }
[        ] Waiting for observatory port to be available...
[+1184 ms] Observatory URL on device: http://127.0.0.1:40757/IZsYX4fLPaY=/
[        ] executing: C:\Users\wwwqyhme\AppData\Local\Android\sdk\platform-tools\adb.exe -s 824ef9ce forward tcp:0 tcp:40757
[  +28 ms] 51795
[        ] Forwarded host port 51795 to device port 40757 for Observatory
[   +5 ms] Caching compiled dill
[  +34 ms] Connecting to service protocol: http://127.0.0.1:51795/IZsYX4fLPaY=/
[ +146 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:51795/IZsYX4fLPaY=/.
[ +108 ms] DDS is listening at http://127.0.0.1:51798/blEo9Moch9U=/.
[  +37 ms] Successfully connected to service protocol: http://127.0.0.1:51795/IZsYX4fLPaY=/
[  +47 ms] DevFS: Creating new filesystem on the device (null)
[  +18 ms] DevFS: Created new filesystem on the device (file:///data/user/0/me.qyh.fmoment/code_cache/fmomentHVDMIM/fmoment/)
[   +4 ms] Updating assets
[  +54 ms] Syncing files to device SHARK PAR A0...
[   +1 ms] <- reset
[        ] Compiling dart to kernel with 0 updated files
[        ] Processing bundle.
[        ] <- recompile package:fmoment/main.dart b0680436-3d5e-4287-9591-03cab2fb7b84
[        ] <- b0680436-3d5e-4287-9591-03cab2fb7b84
[   +1 ms] Bundle processing done.
[ +110 ms] Updating files.
[        ] DevFS: Sync finished
[        ] Syncing files to device SHARK PAR A0... (completed in 116ms)
[        ] Synced 0.0MB.
[   +1 ms] <- accept
[   +3 ms] Connected to _flutterView/0xb4000078248bd4b0.
[   +1 ms] Flutter run key commands.
[   +1 ms] r Hot reload. 
[        ] R Hot restart.
[        ] h List all available interactive commands.
[        ] d Detach (terminate "flutter run" but leave application running).
[        ] c Clear the screen
[        ] q Quit (terminate the application on the device).
[        ]  Running with sound null safety 
[        ] An Observatory debugger and profiler on SHARK PAR A0 is available at: http://127.0.0.1:51798/blEo9Moch9U=/
[ +172 ms] W/Camera  (25664): The selected imageFormatGroup is not supported by Android. Defaulting to yuv420
[   +8 ms] W/libc    (25664): Access denied finding property "persist.vendor.camera.privapp.list"
[        ] D/CameraExtImplXiaoMi(25664): initCameraDevice: 0
[  +11 ms] E/CameraManagerGlobal(25664): Camera 4 is not available. Ignore physical camera status change
[   +1 ms] W/libc    (25664): Access denied finding property "vendor.camera.aux.packagelist"
[        ] W/CameraManagerGlobal(25664): ignore the torch status update of camera: 2
[        ] W/libc    (25664): Access denied finding property "vendor.camera.aux.packagelist"
[        ] W/CameraManagerGlobal(25664): ignore the torch status update of camera: 3
[        ] W/libc    (25664): Access denied finding property "vendor.camera.aux.packagelist"
[        ] W/CameraManagerGlobal(25664): ignore the torch status update of camera: 4
[        ] W/libc    (25664): Access denied finding property "vendor.camera.aux.packagelist"
[        ] W/CameraManagerGlobal(25664): ignore the torch status update of camera: 5
[        ] I/Camera  (25664): startPreview
[   +2 ms] D/CameraDevice-JV-0(25664): waitUntilIdle: E. id = 0
[   +2 ms] D/CameraDevice-JV-0(25664): waitUntilIdle: X
[  +34 ms] The Flutter DevTools debugger and profiler on SHARK PAR A0 is available at:
           http://127.0.0.1:9106?uri=http://127.0.0.1:51798/blEo9Moch9U=/
[ +115 ms] I/Camera  (25664): CameraCaptureSession onConfigured
[        ] I/Camera  (25664): Updating builder settings
[   +1 ms] D/Camera  (25664): Updating builder with feature: ExposureLockFeature
[   +2 ms] D/Camera  (25664): Updating builder with feature: ExposurePointFeature
[        ] D/Camera  (25664): Updating builder with feature: ZoomLevelFeature
[  +15 ms] D/Camera  (25664): Updating builder with feature: AutoFocusFeature
[        ] D/Camera  (25664): Updating builder with feature: NoiseReductionFeature
[        ] I/Camera  (25664): updateNoiseReduction | currentSetting: fast
[        ] D/Camera  (25664): Updating builder with feature: FocusPointFeature
[        ] D/Camera  (25664): Updating builder with feature: ResolutionFeature
[        ] D/Camera  (25664): Updating builder with feature: SensorOrientationFeature
[        ] D/Camera  (25664): Updating builder with feature: FlashFeature
[        ] D/Camera  (25664): Updating builder with feature: ExposureOffsetFeature
[        ] D/Camera  (25664): Updating builder with feature: FpsRangeFeature
[+23143 ms] Skipping target: gen_localizations
[        ] Skipping target: gen_dart_plugin_registrant
[        ] Skipping target: _composite
[        ] complete
[        ] Performing hot restart...
[  +23 ms] Scanned through 533 files in 21ms
[   +1 ms] Syncing files to device SHARK PAR A0...
[        ] <- reset
[        ] Compiling dart to kernel with 0 updated files
[        ] Processing bundle.
[        ] <- recompile package:fmoment/main.dart 1fb5edd8-1c10-4d14-b765-ea609ed805ef
[        ] <- 1fb5edd8-1c10-4d14-b765-ea609ed805ef
[        ] Bundle processing done.
[ +105 ms] Updating files.
[ +542 ms] DevFS: Sync finished
[        ] Syncing files to device SHARK PAR A0... (completed in 650ms)
[        ] Synced 35.6MB.
[        ] <- accept
[ +270 ms] Hot restart performed in 945ms.
[   +1 ms] Performing hot restart... (completed in 948ms)
[        ] Restarted application in 952ms.
[  +88 ms] W/libc    (25664): Access denied finding property "vendor.camera.aux.packagelist"
[ +415 ms] I/Camera  (25664): close
[        ] D/CameraExtImplXiaoMi(25664): releaseCameraDevice: 0
[   +3 ms] D/CameraDevice-JV-0(25664): close: E. id = 0
[  +13 ms] W/CameraDevice-JV-0(25664): Device error received, code 4, frame number 612, request ID 0, subseq ID 0
[ +136 ms] W/libc    (25664): Access denied finding property "vendor.camera.aux.packagelist"
[        ] W/CameraManagerGlobal(25664): ignore the torch status update of camera: 2
[        ] W/libc    (25664): Access denied finding property "vendor.camera.aux.packagelist"
[        ] W/CameraManagerGlobal(25664): ignore the torch status update of camera: 3
[   +3 ms] W/libc    (25664): Access denied finding property "vendor.camera.aux.packagelist"
[        ] W/CameraManagerGlobal(25664): ignore the torch status update of camera: 4
[        ] W/libc    (25664): Access denied finding property "vendor.camera.aux.packagelist"
[        ] W/CameraManagerGlobal(25664): ignore the torch status update of camera: 5
[  +13 ms] D/CameraDevice-JV-0(25664): close: X
[        ] I/Camera  (25664): open | onClosed
[        ] W/CameraDevice-JV-0(25664): Device error received, code 4, frame number 611, request ID 0, subseq ID 0
[        ] W/CameraDevice-JV-0(25664): Device error received, code 4, frame number 613, request ID 0, subseq ID 0
[        ] W/CameraDevice-JV-0(25664): Device error received, code 4, frame number 614, request ID 0, subseq ID 0
[        ] E/CameraManagerGlobal(25664): Camera 4 is not available. Ignore physical camera status change
[        ] W/CameraDevice-JV-0(25664): Device error received, code 4, frame number 610, request ID 0, subseq ID 0
[        ] W/CameraDevice-JV-0(25664): Device error received, code 5, frame number 610, request ID 0, subseq ID 0
[        ] W/CameraDevice-JV-0(25664): Device error received, code 5, frame number 611, request ID 0, subseq ID 0
[        ] W/CameraDevice-JV-0(25664): Device error received, code 5, frame number 612, request ID 0, subseq ID 0
[        ] W/CameraDevice-JV-0(25664): Device error received, code 5, frame number 613, request ID 0, subseq ID 0
[        ] W/CameraDevice-JV-0(25664): Device error received, code 5, frame number 614, request ID 0, subseq ID 0
[        ] W/CameraDevice-JV-0(25664): Device error received, code 3, frame number 615, request ID 0, subseq ID 0
[  +37 ms] W/Camera  (25664): The selected imageFormatGroup is not supported by Android. Defaulting to yuv420
[   +1 ms] W/libc    (25664): Access denied finding property "persist.vendor.camera.privapp.list"
[        ] D/CameraExtImplXiaoMi(25664): initCameraDevice: 0
[  +13 ms] E/CameraManagerGlobal(25664): Camera 4 is not available. Ignore physical camera status change
[        ] W/libc    (25664): Access denied finding property "vendor.camera.aux.packagelist"
[        ] W/CameraManagerGlobal(25664): ignore the torch status update of camera: 2
[        ] W/libc    (25664): Access denied finding property "vendor.camera.aux.packagelist"
[        ] W/CameraManagerGlobal(25664): ignore the torch status update of camera: 3
[        ] W/libc    (25664): Access denied finding property "vendor.camera.aux.packagelist"
[        ] W/CameraManagerGlobal(25664): ignore the torch status update of camera: 4
[        ] W/libc    (25664): Access denied finding property "vendor.camera.aux.packagelist"
[        ] W/CameraManagerGlobal(25664): ignore the torch status update of camera: 5
[        ] I/Camera  (25664): startPreview
[        ] D/CameraDevice-JV-0(25664): waitUntilIdle: E. id = 0
[        ] D/CameraDevice-JV-0(25664): waitUntilIdle: X
[ +115 ms] I/Camera  (25664): CameraCaptureSession onConfigured
[        ] I/Camera  (25664): Updating builder settings
[        ] D/Camera  (25664): Updating builder with feature: ExposureLockFeature
[        ] D/Camera  (25664): Updating builder with feature: ExposurePointFeature
[        ] D/Camera  (25664): Updating builder with feature: ZoomLevelFeature
[        ] D/Camera  (25664): Updating builder with feature: AutoFocusFeature
[        ] D/Camera  (25664): Updating builder with feature: NoiseReductionFeature
[        ] I/Camera  (25664): updateNoiseReduction | currentSetting: fast
[        ] D/Camera  (25664): Updating builder with feature: FocusPointFeature
[        ] D/Camera  (25664): Updating builder with feature: ResolutionFeature
[        ] D/Camera  (25664): Updating builder with feature: SensorOrientationFeature
[        ] D/Camera  (25664): Updating builder with feature: FlashFeature
[        ] D/Camera  (25664): Updating builder with feature: ExposureOffsetFeature
[   +1 ms] D/Camera  (25664): Updating builder with feature: FpsRangeFeature
[        ] I/Camera  (25664): refreshPreviewCaptureSession
[+2852 ms] E/System  (25664): Uncaught exception thrown by finalizer
[        ] E/System  (25664): java.util.concurrent.RejectedExecutionException: Task
android.hardware.camera2.impl.CallbackProxies$SessionStateCallbackProxy$$ExternalSyntheticLambda2@8eb168c rejected from
java.util.concurrent.ThreadPoolExecutor@93f71d5[Terminated, pool size = 0, active threads = 0, queued tasks = 0, completed tasks = 3]  
[        ] E/System  (25664):   at java.util.concurrent.ThreadPoolExecutor$AbortPolicy.rejectedExecution(ThreadPoolExecutor.java:2086) 
[        ] E/System  (25664):   at java.util.concurrent.ThreadPoolExecutor.reject(ThreadPoolExecutor.java:848)
[        ] E/System  (25664):   at java.util.concurrent.ThreadPoolExecutor.execute(ThreadPoolExecutor.java:1394)
[        ] E/System  (25664):   at java.util.concurrent.Executors$DelegatedExecutorService.execute(Executors.java:630)
[        ] E/System  (25664):   at
android.hardware.camera2.impl.CallbackProxies$SessionStateCallbackProxy.onClosed(CallbackProxies.java:104)
[        ] E/System  (25664):   at android.hardware.camera2.impl.CameraCaptureSessionImpl.close(CameraCaptureSessionImpl.java:596)     
[        ] E/System  (25664):   at android.hardware.camera2.impl.CameraCaptureSessionImpl.finalize(CameraCaptureSessionImpl.java:887)  
[        ] E/System  (25664):   at java.lang.Daemons$FinalizerDaemon.doFinalize(Daemons.java:291)
[        ] E/System  (25664):   at java.lang.Daemons$FinalizerDaemon.runInternal(Daemons.java:278)
[        ] E/System  (25664):   at java.lang.Daemons$Daemon.run(Daemons.java:139)
[        ] E/System  (25664):   at java.lang.Thread.run(Thread.java:920)
[+10080 ms] Skipping target: gen_localizations
[        ] Skipping target: gen_dart_plugin_registrant
[        ] Skipping target: _composite
[        ] complete
[        ] Performing hot restart...
[  +13 ms] Scanned through 533 files in 13ms
[        ] Syncing files to device SHARK PAR A0...
[        ] <- reset
[        ] Compiling dart to kernel with 0 updated files
[        ] Processing bundle.
[        ] <- recompile package:fmoment/main.dart 6d54e796-ca48-4b32-9613-8c735fa1da04
[        ] <- 6d54e796-ca48-4b32-9613-8c735fa1da04
[        ] Bundle processing done.
[  +98 ms] Updating files.
[ +439 ms] DevFS: Sync finished
[        ] Syncing files to device SHARK PAR A0... (completed in 541ms)
[        ] Synced 35.6MB.
[        ] <- accept
[ +256 ms] Hot restart performed in 812ms.
[        ] Performing hot restart... (completed in 813ms)
[        ] Restarted application in 816ms.
[  +96 ms] W/libc    (25664): Access denied finding property "vendor.camera.aux.packagelist"
[ +439 ms] I/Camera  (25664): close
[        ] D/CameraExtImplXiaoMi(25664): releaseCameraDevice: 0
[        ] D/CameraDevice-JV-0(25664): close: E. id = 0
[   +4 ms] W/CameraDevice-JV-0(25664): Device error received, code 4, frame number 318, request ID 0, subseq ID 0
[ +118 ms] W/libc    (25664): Access denied finding property "vendor.camera.aux.packagelist"
[        ] W/CameraManagerGlobal(25664): ignore the torch status update of camera: 2
[        ] W/libc    (25664): Access denied finding property "vendor.camera.aux.packagelist"
[        ] W/CameraManagerGlobal(25664): ignore the torch status update of camera: 3
[        ] W/libc    (25664): Access denied finding property "vendor.camera.aux.packagelist"
[        ] W/CameraManagerGlobal(25664): ignore the torch status update of camera: 4
[        ] W/libc    (25664): Access denied finding property "vendor.camera.aux.packagelist"
[        ] W/CameraManagerGlobal(25664): ignore the torch status update of camera: 5
[        ] D/CameraDevice-JV-0(25664): close: X
[        ] I/Camera  (25664): open | onClosed
[        ] E/CameraManagerGlobal(25664): Camera 4 is not available. Ignore physical camera status change
[        ] W/CameraDevice-JV-0(25664): Device error received, code 4, frame number 316, request ID 0, subseq ID 0
[        ] W/CameraDevice-JV-0(25664): Device error received, code 4, frame number 315, request ID 0, subseq ID 0
[        ] W/CameraDevice-JV-0(25664): Device error received, code 4, frame number 314, request ID 0, subseq ID 0
[   +2 ms] W/CameraDevice-JV-0(25664): Device error received, code 5, frame number 314, request ID 0, subseq ID 0
[        ] W/CameraDevice-JV-0(25664): Device error received, code 5, frame number 318, request ID 0, subseq ID 0
[        ] W/CameraDevice-JV-0(25664): Device error received, code 5, frame number 315, request ID 0, subseq ID 0
[        ] W/CameraDevice-JV-0(25664): Device error received, code 5, frame number 316, request ID 0, subseq ID 0
[        ] W/CameraDevice-JV-0(25664): Device error received, code 4, frame number 317, request ID 0, subseq ID 0
[        ] W/CameraDevice-JV-0(25664): Device error received, code 5, frame number 317, request ID 0, subseq ID 0
[ +198 ms] W/Camera  (25664): The selected imageFormatGroup is not supported by Android. Defaulting to yuv420
[   +1 ms] W/libc    (25664): Access denied finding property "persist.vendor.camera.privapp.list"
[        ] D/CameraExtImplXiaoMi(25664): initCameraDevice: 0
[  +12 ms] E/CameraManagerGlobal(25664): Camera 4 is not available. Ignore physical camera status change
[   +1 ms] W/libc    (25664): Access denied finding property "vendor.camera.aux.packagelist"
[        ] W/CameraManagerGlobal(25664): ignore the torch status update of camera: 2
[        ] I/Camera  (25664): startPreview
[        ] W/libc    (25664): Access denied finding property "vendor.camera.aux.packagelist"
[        ] W/CameraManagerGlobal(25664): ignore the torch status update of camera: 3
[        ] W/libc    (25664): Access denied finding property "vendor.camera.aux.packagelist"
[        ] W/CameraManagerGlobal(25664): ignore the torch status update of camera: 4
[        ] W/libc    (25664): Access denied finding property "vendor.camera.aux.packagelist"
[        ] W/CameraManagerGlobal(25664): ignore the torch status update of camera: 5
[        ] D/CameraDevice-JV-0(25664): waitUntilIdle: E. id = 0
[        ] D/CameraDevice-JV-0(25664): waitUntilIdle: X
[ +127 ms] I/Camera  (25664): CameraCaptureSession onConfigured
[        ] I/Camera  (25664): Updating builder settings
[        ] D/Camera  (25664): Updating builder with feature: ExposureLockFeature
[        ] D/Camera  (25664): Updating builder with feature: ExposurePointFeature
[        ] D/Camera  (25664): Updating builder with feature: ZoomLevelFeature
[   +1 ms] D/Camera  (25664): Updating builder with feature: AutoFocusFeature
[        ] D/Camera  (25664): Updating builder with feature: NoiseReductionFeature
[        ] I/Camera  (25664): updateNoiseReduction | currentSetting: fast
[        ] D/Camera  (25664): Updating builder with feature: FocusPointFeature
[        ] D/Camera  (25664): Updating builder with feature: ResolutionFeature
[        ] D/Camera  (25664): Updating builder with feature: SensorOrientationFeature
[        ] D/Camera  (25664): Updating builder with feature: FlashFeature
[        ] D/Camera  (25664): Updating builder with feature: ExposureOffsetFeature
[        ] D/Camera  (25664): Updating builder with feature: FpsRangeFeature
[        ] I/Camera  (25664): refreshPreviewCaptureSession
[+3135 ms] I/Camera  (25664): CameraCaptureSession onClosed
[   +1 ms] W/System  (25664): A resource failed to call release. 
[+11392 ms] Application finished.
```
</details>