Giter VIP home page Giter VIP logo

pdliuw / ai_barcode Goto Github PK

View Code? Open in Web Editor NEW
124.0 4.0 81.0 40.63 MB

Barcode generation,Barcode scanning,qrcode,qrcode generation,qrcode creator,flutter barcode,flutter qrcode,support android iOS web platform

License: BSD 3-Clause "New" or "Revised" License

Kotlin 3.88% Ruby 1.74% Swift 4.14% Objective-C 0.19% Dart 8.47% HTML 0.42% JavaScript 69.58% CMake 4.60% C++ 6.60% C 0.39%
barcode-scanner barcode-generator qrcode-scanner qrcode-generator barcode-reader qrcode-reader

ai_barcode's Introduction

ai_barcode

totem


English Document 中文文档

ai_barcode:支持Android、iOS、web识别'一维条码'和'二维条码'的识别与生成

Plugin Pub Points Popularity Likes
ai_barcode pub package pub points popularity likes

亮点: ai_barcode:支持在flutter页面中嵌入Scanner以此来应对多变的业务需求

Effect

iOS-Scanner Android-Scanner
ios android
:- :-
iOS-Creator Android-Creator
ios android
:- :-
Web-Creator Web-Scanner
web web
:- :-

ai_barcode项目中的实战应用flutter sample

下载安卓apk安装包 IOS安装包,请下载example后运行项目获取 博客地址

1.安装

使用当前包作为依赖库

1. 依赖此库

在文件 'pubspec.yaml' 中添加

Plugin Pub Points Popularity Likes
ai_barcode pub package pub points popularity likes

dependencies:

  ai_barcode: ^version

或者以下方式依赖

dependencies:

  # barcode package.
  ai_barcode:
    git:
      url: https://github.com/pdliuw/ai_barcode.git

2. 安装此库

你可以通过下面的命令行来安装此库


$ flutter pub get


你也可以通过项目开发工具通过可视化操作来执行上述步骤

3. 导入此库

现在,在你的Dart编辑代码中,你可以使用:


import 'package:ai_barcode/ai_barcode.dart';

2.使用

使用'相机'需要动态申请权限,动态权限推荐:permission_handler

配置权限

Android权限配置:


    <uses-permission android:name="android.permission.CAMERA"/>
    

iOS权限配置:


    <key>NSCameraUsageDescription</key>
    <string>Can we access your camera in order to scan barcodes?</string>


iOS支持PlatformView配置:

	
    <key>io.flutter.embedded_views_preview</key>
    <true/>
    

1.使用'一维条码、二维条码'的地方中:

  • 1、识别条码 简要示例
                //cameraWidth:相机的宽度;cameraHeight相机的高度,可根据实际的业务来动态调整
                Container(
                  color: Colors.black26,
                  width: cameraWidth,
                  height: cameraHeight,
                  child: PlatformAiBarcodeScannerWidget(
                    platformScannerController: _scannerController,
                  ),
                ),

  • 2、生成/创建条码 简要示例
            Column(
              children: <Widget>[
                Text("生成的二维码:$_qrCodeOfInput"),
                Container(
                  width: 300,
                  height: 300,
                  decoration: ShapeDecoration(
                    shape: RoundedRectangleBorder(
                      side: BorderSide(
                        color: Colors.blue,
                        width: 15,
                      ),
                      borderRadius: BorderRadius.all(
                        Radius.circular(10),
                      ),
                    ),
                  ),
                  margin: EdgeInsets.all(40),
                  child: PlatformAiBarcodeCreatorWidget(
                    creatorController: _creatorController,
                    initialValue: "$_qrCodeOfInput",
                  ),
                ),
              ],
            ),

完整示例

完整示例,点击这里

2.调用/应用

*1、打开相机设备


          _scannerController.startCamera();

*2、打开预览/识别'条码'


          _scannerController.startCameraPreview();

*3、关闭预览/识别'条码'


      _scannerController.stopCameraPreview();

*4、关闭相机设备


      _scannerController.stopCamera();

*5、打开手电筒


      _scannerController.openFlash();

*5、关闭手电筒


      _scannerController.closeFlash();

*5、切换手电筒


      _scannerController.toggleFlash();

看到这里还意犹未尽?点击,查看项目示例

感谢

iOS-一维码/二维码 识别/生成 Android-一维码/二维码 识别/生成 Web、MacOS-二维码 生成
基于: MTBBarcodeScanner 基于: zxing 基于: qr_flutter
:- :- :-

待办

  • 支持:iOS上成功扫描条形码后也可以冻结相机图像

LICENSE

BSD 3-Clause License

Copyright (c) 2020, pdliuw
All rights reserved.

ai_barcode's People

Contributors

aldo-f avatar chetan-cueclad avatar ibrahimlee avatar kaumudpa avatar nonnonnon avatar pdliuw avatar radvansky-tomas avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

ai_barcode's Issues

It's crashing on iPad and iPhone after you try to scan QR code.

This is stack trace:
Crashed: com.apple.main-thread
0 ai_barcode 0x1061af584 $s10ai_barcode20AiBarcodeScannerViewC19resumeCameraPreviewyyFySbcfU_ySaySo35AVMetadataMachineReadableCodeObjectCGSgcfU_ + 752
1 ai_barcode 0x1061af5c4 $sSaySo35AVMetadataMachineReadableCodeObjectCGSgIegg_So7NSArrayCSgIeyBy_TR + 60
2 MTBBarcodeScanner 0x105e40790 -[MTBBarcodeScanner captureOutput:didOutputMetadataObjects:fromConnection:] + 444
3 AVFCapture 0x1aa6d0878 -[AVCaptureMetadataOutput _processSampleBuffer:] + 3464
4 AVFCapture 0x1aa6cf96c __46-[AVCaptureMetadataOutput _updateRemoteQueue:]_block_invoke + 92
5 CMCapture 0x1aa73e9e4 __FigRemoteOperationReceiverCreateMessageReceiver_block_invoke + 300
6 CMCapture 0x1aa9b8354 __rqReceiverSetSource_block_invoke + 256
7 libdispatch.dylib 0x18ff34db0 _dispatch_client_callout + 20
8 libdispatch.dylib 0x18ff3812c _dispatch_continuation_pop + 416
9 libdispatch.dylib 0x18ff49c08 _dispatch_source_invoke + 1260
10 libdispatch.dylib 0x18ff42694 _dispatch_main_queue_callback_4CF + 556
11 CoreFoundation 0x1902bc11c CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE + 16
12 CoreFoundation 0x1902b6120 __CFRunLoopRun + 2508
13 CoreFoundation 0x1902b521c CFRunLoopRunSpecific + 600
14 GraphicsServices 0x1a7e81784 GSEventRunModal + 164
15 UIKitCore 0x192cf5ee8 -[UIApplication _run] + 1072
16 UIKitCore 0x192cfb75c UIApplicationMain + 168
17 Trust 0x104537e30 main + 6 (AppDelegate.swift:6)
18 libdyld.dylib 0x18ff756b0 start + 4

Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 1.22.4, on macOS 11.2.1 20D74 darwin-x64, locale
en-GB)

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.2)
[✓] Xcode - develop for iOS and macOS (Xcode 12.2)
[✓] Android Studio (version 4.1)
[✓] VS Code (version 1.53.2)
[✓] Connected device (1 available)

• No issues found!

Device Details
Screenshot 2021-02-22 at 9 13 26 AM

FAILURE: Build failed with an exception.

The plugin was working like a charm until I updated the Flutter SDK
Here is my config:

Flutter 1.25.0-8.1.pre • channel beta • https://github.com/flutter/flutter.git
Framework • revision 8f89f6505b (3 weeks ago) • 2020-12-15 15:07:52 -0800
Engine • revision 92ae191c17
Tools • Dart 2.12.0 (build 2.12.0-133.2.beta)

[✓] Flutter (Channel beta, 1.25.0-8.1.pre, on Mac OS X 10.15.2 19C57 darwin-x64, locale fr-FR)
[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.2)
[✓] Xcode - develop for iOS and macOS (Xcode 11.4.1)
[✓] Chrome - develop for the web
[✓] Android Studio (version 3.5)
[✓] VS Code (version 1.52.1)
[✓] Connected device (2 available)

Getting this error:

Launching lib/main.dart on Android SDK built for x86 64 in debug mode...
lib/main.dart

FAILURE: Build failed with an exception.

* What went wrong:
Could not determine the dependencies of task ':ai_barcode:compileDebugAidl'.
> Could not resolve all task dependencies for configuration ':ai_barcode:debugCompileClasspath'.
  > Could not resolve androidx.lifecycle:lifecycle-common:{strictly 2.0.0}.
    Required by:
        project :ai_barcode
     > Cannot find a version of 'androidx.lifecycle:lifecycle-common' that satisfies the version constraints:
          Dependency path 'com.air.ai_barcode:ai_barcode:1.0-SNAPSHOT' --> 'io.flutter:flutter_embedding_debug:1.0.0-92ae191c17a53144bf4d62f3863c110be08e3fd3' --> 'androidx.lifecycle:lifecycle-common:2.2.0'
          Constraint path 'com.air.ai_barcode:ai_barcode:1.0-SNAPSHOT' --> 'androidx.lifecycle:lifecycle-common:{strictly 2.0.0}' because of the following reason: debugRuntimeClasspath uses version 2.0.0
          Dependency path 'com.air.ai_barcode:ai_barcode:1.0-SNAPSHOT' --> 'io.flutter:flutter_embedding_debug:1.0.0-92ae191c17a53144bf4d62f3863c110be08e3fd3' --> 'androidx.lifecycle:lifecycle-common-java8:2.2.0' --> 'androidx.lifecycle:lifecycle-common:2.2.0'
          Dependency path 'com.air.ai_barcode:ai_barcode:1.0-SNAPSHOT' --> 'io.flutter:flutter_embedding_debug:1.0.0-92ae191c17a53144bf4d62f3863c110be08e3fd3' --> 'androidx.lifecycle:lifecycle-runtime:2.2.0' --> 'androidx.lifecycle:lifecycle-common:2.2.0'
          Dependency path 'com.air.ai_barcode:ai_barcode:1.0-SNAPSHOT' --> 'io.flutter:flutter_embedding_debug:1.0.0-92ae191c17a53144bf4d62f3863c110be08e3fd3' --> 'androidx.fragment:fragment:1.1.0' --> 'androidx.activity:activity:1.0.0' --> 'androidx.savedstate:savedstate:1.0.0' --> 'androidx.lifecycle:lifecycle-common:2.0.0'
          Dependency path 'com.air.ai_barcode:ai_barcode:1.0-SNAPSHOT' --> 'io.flutter:flutter_embedding_debug:1.0.0-92ae191c17a53144bf4d62f3863c110be08e3fd3' --> 'androidx.fragment:fragment:1.1.0' --> 'androidx.loader:loader:1.0.0' --> 'androidx.lifecycle:lifecycle-livedata:2.0.0' --> 'androidx.lifecycle:lifecycle-livedata-core:2.0.0' --> 'androidx.lifecycle:lifecycle-common:2.0.0'

  > Could not resolve androidx.lifecycle:lifecycle-runtime:{strictly 2.0.0}.
    Required by:
        project :ai_barcode
     > Cannot find a version of 'androidx.lifecycle:lifecycle-runtime' that satisfies the version constraints:
          Dependency path 'com.air.ai_barcode:ai_barcode:1.0-SNAPSHOT' --> 'io.flutter:flutter_embedding_debug:1.0.0-92ae191c17a53144bf4d62f3863c110be08e3fd3' --> 'androidx.lifecycle:lifecycle-runtime:2.2.0'
          Constraint path 'com.air.ai_barcode:ai_barcode:1.0-SNAPSHOT' --> 'androidx.lifecycle:lifecycle-runtime:{strictly 2.0.0}' because of the following reason: debugRuntimeClasspath uses version 2.0.0
          Dependency path 'com.air.ai_barcode:ai_barcode:1.0-SNAPSHOT' --> 'io.flutter:flutter_embedding_debug:1.0.0-92ae191c17a53144bf4d62f3863c110be08e3fd3' --> 'androidx.fragment:fragment:1.1.0' --> 'androidx.activity:activity:1.0.0' --> 'androidx.lifecycle:lifecycle-runtime:2.1.0'
          Dependency path 'com.air.ai_barcode:ai_barcode:1.0-SNAPSHOT' --> 'io.flutter:flutter_embedding_debug:1.0.0-92ae191c17a53144bf4d62f3863c110be08e3fd3' --> 'androidx.fragment:fragment:1.1.0' --> 'androidx.core:core:1.1.0' --> 'androidx.lifecycle:lifecycle-runtime:2.0.0'

  > Could not resolve androidx.fragment:fragment:{strictly 1.0.0}.
    Required by:
        project :ai_barcode
     > Cannot find a version of 'androidx.fragment:fragment' that satisfies the version constraints:
          Dependency path 'com.air.ai_barcode:ai_barcode:1.0-SNAPSHOT' --> 'io.flutter:flutter_embedding_debug:1.0.0-92ae191c17a53144bf4d62f3863c110be08e3fd3' --> 'androidx.fragment:fragment:1.1.0'
          Constraint path 'com.air.ai_barcode:ai_barcode:1.0-SNAPSHOT' --> 'androidx.fragment:fragment:{strictly 1.0.0}' because of the following reason: debugRuntimeClasspath uses version 1.0.0

  > Could not resolve androidx.annotation:annotation:{strictly 1.0.0}.
    Required by:
        project :ai_barcode
     > Cannot find a version of 'androidx.annotation:annotation' that satisfies the version constraints:
          Dependency path 'com.air.ai_barcode:ai_barcode:1.0-SNAPSHOT' --> 'io.flutter:flutter_embedding_debug:1.0.0-92ae191c17a53144bf4d62f3863c110be08e3fd3' --> 'androidx.annotation:annotation:1.1.0'
          Constraint path 'com.air.ai_barcode:ai_barcode:1.0-SNAPSHOT' --> 'androidx.annotation:annotation:{strictly 1.0.0}' because of the following reason: debugRuntimeClasspath uses version 1.0.0
          Dependency path 'com.air.ai_barcode:ai_barcode:1.0-SNAPSHOT' --> 'io.flutter:flutter_embedding_debug:1.0.0-92ae191c17a53144bf4d62f3863c110be08e3fd3' --> 'androidx.lifecycle:lifecycle-common-java8:2.2.0' --> 'androidx.annotation:annotation:1.1.0'
          Dependency path 'com.air.ai_barcode:ai_barcode:1.0-SNAPSHOT' --> 'io.flutter:flutter_embedding_debug:1.0.0-92ae191c17a53144bf4d62f3863c110be08e3fd3' --> 'androidx.lifecycle:lifecycle-common:2.2.0' --> 'androidx.annotation:annotation:1.1.0'
          Dependency path 'com.air.ai_barcode:ai_barcode:1.0-SNAPSHOT' --> 'io.flutter:flutter_embedding_debug:1.0.0-92ae191c17a53144bf4d62f3863c110be08e3fd3' --> 'androidx.lifecycle:lifecycle-runtime:2.2.0' --> 'androidx.annotation:annotation:1.1.0'
          Dependency path 'com.air.ai_barcode:ai_barcode:1.0-SNAPSHOT' --> 'io.flutter:flutter_embedding_debug:1.0.0-92ae191c17a53144bf4d62f3863c110be08e3fd3' --> 'androidx.fragment:fragment:1.1.0' --> 'androidx.annotation:annotation:1.1.0'
          Dependency path 'com.air.ai_barcode:ai_barcode:1.0-SNAPSHOT' --> 'io.flutter:flutter_embedding_debug:1.0.0-92ae191c17a53144bf4d62f3863c110be08e3fd3' --> 'androidx.lifecycle:lifecycle-runtime:2.2.0' --> 'androidx.arch.core:core-common:2.1.0' --> 'androidx.annotation:annotation:1.1.0'
          Dependency path 'com.air.ai_barcode:ai_barcode:1.0-SNAPSHOT' --> 'io.flutter:flutter_embedding_debug:1.0.0-92ae191c17a53144bf4d62f3863c110be08e3fd3' --> 'androidx.fragment:fragment:1.1.0' --> 'androidx.activity:activity:1.0.0' --> 'androidx.annotation:annotation:1.1.0'
          Dependency path 'com.air.ai_barcode:ai_barcode:1.0-SNAPSHOT' --> 'io.flutter:flutter_embedding_debug:1.0.0-92ae191c17a53144bf4d62f3863c110be08e3fd3' --> 'androidx.fragment:fragment:1.1.0' --> 'androidx.collection:collection:1.1.0' --> 'androidx.annotation:annotation:1.1.0'
          Dependency path 'com.air.ai_barcode:ai_barcode:1.0-SNAPSHOT' --> 'io.flutter:flutter_embedding_debug:1.0.0-92ae191c17a53144bf4d62f3863c110be08e3fd3' --> 'androidx.fragment:fragment:1.1.0' --> 'androidx.viewpager:viewpager:1.0.0' --> 'androidx.annotation:annotation:1.0.0'
          Dependency path 'com.air.ai_barcode:ai_barcode:1.0-SNAPSHOT' --> 'io.flutter:flutter_embedding_debug:1.0.0-92ae191c17a53144bf4d62f3863c110be08e3fd3' --> 'androidx.fragment:fragment:1.1.0' --> 'androidx.loader:loader:1.0.0' --> 'androidx.annotation:annotation:1.0.0'
          Dependency path 'com.air.ai_barcode:ai_barcode:1.0-SNAPSHOT' --> 'io.flutter:flutter_embedding_debug:1.0.0-92ae191c17a53144bf4d62f3863c110be08e3fd3' --> 'androidx.fragment:fragment:1.1.0' --> 'androidx.lifecycle:lifecycle-viewmodel:2.1.0' --> 'androidx.annotation:annotation:1.1.0'
          Dependency path 'com.air.ai_barcode:ai_barcode:1.0-SNAPSHOT' --> 'io.flutter:flutter_embedding_debug:1.0.0-92ae191c17a53144bf4d62f3863c110be08e3fd3' --> 'androidx.fragment:fragment:1.1.0' --> 'androidx.activity:activity:1.0.0' --> 'androidx.savedstate:savedstate:1.0.0' --> 'androidx.annotation:annotation:1.1.0'
          Dependency path 'com.air.ai_barcode:ai_barcode:1.0-SNAPSHOT' --> 'io.flutter:flutter_embedding_debug:1.0.0-92ae191c17a53144bf4d62f3863c110be08e3fd3' --> 'androidx.fragment:fragment:1.1.0' --> 'androidx.core:core:1.1.0' --> 'androidx.annotation:annotation:1.1.0'
          Dependency path 'com.air.ai_barcode:ai_barcode:1.0-SNAPSHOT' --> 'io.flutter:flutter_embedding_debug:1.0.0-92ae191c17a53144bf4d62f3863c110be08e3fd3' --> 'androidx.fragment:fragment:1.1.0' --> 'androidx.viewpager:viewpager:1.0.0' --> 'androidx.customview:customview:1.0.0' --> 'androidx.annotation:annotation:1.0.0'
          Dependency path 'com.air.ai_barcode:ai_barcode:1.0-SNAPSHOT' --> 'io.flutter:flutter_embedding_debug:1.0.0-92ae191c17a53144bf4d62f3863c110be08e3fd3' --> 'androidx.fragment:fragment:1.1.0' --> 'androidx.loader:loader:1.0.0' --> 'androidx.lifecycle:lifecycle-livedata:2.0.0' --> 'androidx.arch.core:core-runtime:2.0.0' --> 'androidx.annotation:annotation:1.0.0'

  > Could not resolve androidx.arch.core:core-common:{strictly 2.0.0}.
    Required by:
        project :ai_barcode
     > Cannot find a version of 'androidx.arch.core:core-common' that satisfies the version constraints:
          Dependency path 'com.air.ai_barcode:ai_barcode:1.0-SNAPSHOT' --> 'io.flutter:flutter_embedding_debug:1.0.0-92ae191c17a53144bf4d62f3863c110be08e3fd3' --> 'androidx.lifecycle:lifecycle-runtime:2.2.0' --> 'androidx.arch.core:core-common:2.1.0'
          Constraint path 'com.air.ai_barcode:ai_barcode:1.0-SNAPSHOT' --> 'androidx.arch.core:core-common:{strictly 2.0.0}' because of the following reason: debugRuntimeClasspath uses version 2.0.0
          Dependency path 'com.air.ai_barcode:ai_barcode:1.0-SNAPSHOT' --> 'io.flutter:flutter_embedding_debug:1.0.0-92ae191c17a53144bf4d62f3863c110be08e3fd3' --> 'androidx.fragment:fragment:1.1.0' --> 'androidx.activity:activity:1.0.0' --> 'androidx.savedstate:savedstate:1.0.0' --> 'androidx.arch.core:core-common:2.0.1'
          Dependency path 'com.air.ai_barcode:ai_barcode:1.0-SNAPSHOT' --> 'io.flutter:flutter_embedding_debug:1.0.0-92ae191c17a53144bf4d62f3863c110be08e3fd3' --> 'androidx.fragment:fragment:1.1.0' --> 'androidx.loader:loader:1.0.0' --> 'androidx.lifecycle:lifecycle-livedata:2.0.0' --> 'androidx.arch.core:core-common:2.0.0'
          Dependency path 'com.air.ai_barcode:ai_barcode:1.0-SNAPSHOT' --> 'io.flutter:flutter_embedding_debug:1.0.0-92ae191c17a53144bf4d62f3863c110be08e3fd3' --> 'androidx.fragment:fragment:1.1.0' --> 'androidx.loader:loader:1.0.0' --> 'androidx.lifecycle:lifecycle-livedata:2.0.0' --> 'androidx.arch.core:core-runtime:2.0.0' --> 'androidx.arch.core:core-common:2.0.0'
          Dependency path 'com.air.ai_barcode:ai_barcode:1.0-SNAPSHOT' --> 'io.flutter:flutter_embedding_debug:1.0.0-92ae191c17a53144bf4d62f3863c110be08e3fd3' --> 'androidx.fragment:fragment:1.1.0' --> 'androidx.loader:loader:1.0.0' --> 'androidx.lifecycle:lifecycle-livedata:2.0.0' --> 'androidx.lifecycle:lifecycle-livedata-core:2.0.0' --> 'androidx.arch.core:core-common:2.0.0'

  > Could not resolve androidx.core:core:{strictly 1.0.0}.
    Required by:
        project :ai_barcode
     > Cannot find a version of 'androidx.core:core' that satisfies the version constraints:
          Dependency path 'com.air.ai_barcode:ai_barcode:1.0-SNAPSHOT' --> 'io.flutter:flutter_embedding_debug:1.0.0-92ae191c17a53144bf4d62f3863c110be08e3fd3' --> 'androidx.fragment:fragment:1.1.0' --> 'androidx.core:core:1.1.0'
          Constraint path 'com.air.ai_barcode:ai_barcode:1.0-SNAPSHOT' --> 'androidx.core:core:{strictly 1.0.0}' because of the following reason: debugRuntimeClasspath uses version 1.0.0
          Dependency path 'com.air.ai_barcode:ai_barcode:1.0-SNAPSHOT' --> 'io.flutter:flutter_embedding_debug:1.0.0-92ae191c17a53144bf4d62f3863c110be08e3fd3' --> 'androidx.fragment:fragment:1.1.0' --> 'androidx.activity:activity:1.0.0' --> 'androidx.core:core:1.1.0'
          Dependency path 'com.air.ai_barcode:ai_barcode:1.0-SNAPSHOT' --> 'io.flutter:flutter_embedding_debug:1.0.0-92ae191c17a53144bf4d62f3863c110be08e3fd3' --> 'androidx.fragment:fragment:1.1.0' --> 'androidx.viewpager:viewpager:1.0.0' --> 'androidx.core:core:1.0.0'
          Dependency path 'com.air.ai_barcode:ai_barcode:1.0-SNAPSHOT' --> 'io.flutter:flutter_embedding_debug:1.0.0-92ae191c17a53144bf4d62f3863c110be08e3fd3' --> 'androidx.fragment:fragment:1.1.0' --> 'androidx.loader:loader:1.0.0' --> 'androidx.core:core:1.0.0'
          Dependency path 'com.air.ai_barcode:ai_barcode:1.0-SNAPSHOT' --> 'io.flutter:flutter_embedding_debug:1.0.0-92ae191c17a53144bf4d62f3863c110be08e3fd3' --> 'androidx.fragment:fragment:1.1.0' --> 'androidx.viewpager:viewpager:1.0.0' --> 'androidx.customview:customview:1.0.0' --> 'androidx.core:core:1.0.0'

  > Could not resolve androidx.collection:collection:{strictly 1.0.0}.
    Required by:
        project :ai_barcode
     > Cannot find a version of 'androidx.collection:collection' that satisfies the version constraints:
          Dependency path 'com.air.ai_barcode:ai_barcode:1.0-SNAPSHOT' --> 'io.flutter:flutter_embedding_debug:1.0.0-92ae191c17a53144bf4d62f3863c110be08e3fd3' --> 'androidx.fragment:fragment:1.1.0' --> 'androidx.collection:collection:1.1.0'
          Constraint path 'com.air.ai_barcode:ai_barcode:1.0-SNAPSHOT' --> 'androidx.collection:collection:{strictly 1.0.0}' because of the following reason: debugRuntimeClasspath uses version 1.0.0
          Dependency path 'com.air.ai_barcode:ai_barcode:1.0-SNAPSHOT' --> 'io.flutter:flutter_embedding_debug:1.0.0-92ae191c17a53144bf4d62f3863c110be08e3fd3' --> 'androidx.fragment:fragment:1.1.0' --> 'androidx.core:core:1.1.0' --> 'androidx.versionedparcelable:versionedparcelable:1.1.0' --> 'androidx.collection:collection:1.0.0'
          Dependency path 'com.air.ai_barcode:ai_barcode:1.0-SNAPSHOT' --> 'io.flutter:flutter_embedding_debug:1.0.0-92ae191c17a53144bf4d62f3863c110be08e3fd3' --> 'androidx.fragment:fragment:1.1.0' --> 'androidx.core:core:1.1.0' --> 'androidx.collection:collection:1.0.0'

  > Could not resolve androidx.lifecycle:lifecycle-viewmodel:{strictly 2.0.0}.
    Required by:
        project :ai_barcode
     > Cannot find a version of 'androidx.lifecycle:lifecycle-viewmodel' that satisfies the version constraints:
          Dependency path 'com.air.ai_barcode:ai_barcode:1.0-SNAPSHOT' --> 'io.flutter:flutter_embedding_debug:1.0.0-92ae191c17a53144bf4d62f3863c110be08e3fd3' --> 'androidx.fragment:fragment:1.1.0' --> 'androidx.lifecycle:lifecycle-viewmodel:2.0.0'
          Constraint path 'com.air.ai_barcode:ai_barcode:1.0-SNAPSHOT' --> 'androidx.lifecycle:lifecycle-viewmodel:{strictly 2.0.0}' because of the following reason: debugRuntimeClasspath uses version 2.0.0
          Dependency path 'com.air.ai_barcode:ai_barcode:1.0-SNAPSHOT' --> 'io.flutter:flutter_embedding_debug:1.0.0-92ae191c17a53144bf4d62f3863c110be08e3fd3' --> 'androidx.fragment:fragment:1.1.0' --> 'androidx.activity:activity:1.0.0' --> 'androidx.lifecycle:lifecycle-viewmodel:2.1.0'
          Dependency path 'com.air.ai_barcode:ai_barcode:1.0-SNAPSHOT' --> 'io.flutter:flutter_embedding_debug:1.0.0-92ae191c17a53144bf4d62f3863c110be08e3fd3' --> 'androidx.fragment:fragment:1.1.0' --> 'androidx.loader:loader:1.0.0' --> 'androidx.lifecycle:lifecycle-viewmodel:2.0.0'

  > Could not resolve androidx.versionedparcelable:versionedparcelable:{strictly 1.0.0}.
    Required by:
        project :ai_barcode
     > Cannot find a version of 'androidx.versionedparcelable:versionedparcelable' that satisfies the version constraints:
          Dependency path 'com.air.ai_barcode:ai_barcode:1.0-SNAPSHOT' --> 'io.flutter:flutter_embedding_debug:1.0.0-92ae191c17a53144bf4d62f3863c110be08e3fd3' --> 'androidx.fragment:fragment:1.1.0' --> 'androidx.core:core:1.1.0' --> 'androidx.versionedparcelable:versionedparcelable:1.1.0'
          Constraint path 'com.air.ai_barcode:ai_barcode:1.0-SNAPSHOT' --> 'androidx.versionedparcelable:versionedparcelable:{strictly 1.0.0}' because of the following reason: debugRuntimeClasspath uses version 1.0.0

  > Could not resolve androidx.lifecycle:lifecycle-common:2.2.0.
    Required by:
        project :ai_barcode > io.flutter:flutter_embedding_debug:1.0.0-92ae191c17a53144bf4d62f3863c110be08e3fd3
        project :ai_barcode > io.flutter:flutter_embedding_debug:1.0.0-92ae191c17a53144bf4d62f3863c110be08e3fd3 > androidx.lifecycle:lifecycle-common-java8:2.2.0
        project :ai_barcode > androidx.lifecycle:lifecycle-runtime:2.2.0
     > Cannot find a version of 'androidx.lifecycle:lifecycle-common' that satisfies the version constraints:
          Dependency path 'com.air.ai_barcode:ai_barcode:1.0-SNAPSHOT' --> 'io.flutter:flutter_embedding_debug:1.0.0-92ae191c17a53144bf4d62f3863c110be08e3fd3' --> 'androidx.lifecycle:lifecycle-common:2.2.0'
          Constraint path 'com.air.ai_barcode:ai_barcode:1.0-SNAPSHOT' --> 'androidx.lifecycle:lifecycle-common:{strictly 2.0.0}' because of the following reason: debugRuntimeClasspath uses version 2.0.0
          Dependency path 'com.air.ai_barcode:ai_barcode:1.0-SNAPSHOT' --> 'io.flutter:flutter_embedding_debug:1.0.0-92ae191c17a53144bf4d62f3863c110be08e3fd3' --> 'androidx.lifecycle:lifecycle-common-java8:2.2.0' --> 'androidx.lifecycle:lifecycle-common:2.2.0'
          Dependency path 'com.air.ai_barcode:ai_barcode:1.0-SNAPSHOT' --> 'io.flutter:flutter_embedding_debug:1.0.0-92ae191c17a53144bf4d62f3863c110be08e3fd3' --> 'androidx.lifecycle:lifecycle-runtime:2.2.0' --> 'androidx.lifecycle:lifecycle-common:2.2.0'
          Dependency path 'com.air.ai_barcode:ai_barcode:1.0-SNAPSHOT' --> 'io.flutter:flutter_embedding_debug:1.0.0-92ae191c17a53144bf4d62f3863c110be08e3fd3' --> 'androidx.fragment:fragment:1.1.0' --> 'androidx.activity:activity:1.0.0' --> 'androidx.savedstate:savedstate:1.0.0' --> 'androidx.lifecycle:lifecycle-common:2.0.0'
          Dependency path 'com.air.ai_barcode:ai_barcode:1.0-SNAPSHOT' --> 'io.flutter:flutter_embedding_debug:1.0.0-92ae191c17a53144bf4d62f3863c110be08e3fd3' --> 'androidx.fragment:fragment:1.1.0' --> 'androidx.loader:loader:1.0.0' --> 'androidx.lifecycle:lifecycle-livedata:2.0.0' --> 'androidx.lifecycle:lifecycle-livedata-core:2.0.0' --> 'androidx.lifecycle:lifecycle-common:2.0.0'

  > Could not resolve androidx.lifecycle:lifecycle-runtime:2.2.0.
    Required by:
        project :ai_barcode > io.flutter:flutter_embedding_debug:1.0.0-92ae191c17a53144bf4d62f3863c110be08e3fd3
     > Cannot find a version of 'androidx.lifecycle:lifecycle-runtime' that satisfies the version constraints:
          Dependency path 'com.air.ai_barcode:ai_barcode:1.0-SNAPSHOT' --> 'io.flutter:flutter_embedding_debug:1.0.0-92ae191c17a53144bf4d62f3863c110be08e3fd3' --> 'androidx.lifecycle:lifecycle-runtime:2.2.0'
          Constraint path 'com.air.ai_barcode:ai_barcode:1.0-SNAPSHOT' --> 'androidx.lifecycle:lifecycle-runtime:{strictly 2.0.0}' because of the following reason: debugRuntimeClasspath uses version 2.0.0
          Dependency path 'com.air.ai_barcode:ai_barcode:1.0-SNAPSHOT' --> 'io.flutter:flutter_embedding_debug:1.0.0-92ae191c17a53144bf4d62f3863c110be08e3fd3' --> 'androidx.fragment:fragment:1.1.0' --> 'androidx.activity:activity:1.0.0' --> 'androidx.lifecycle:lifecycle-runtime:2.1.0'
          Dependency path 'com.air.ai_barcode:ai_barcode:1.0-SNAPSHOT' --> 'io.flutter:flutter_embedding_debug:1.0.0-92ae191c17a53144bf4d62f3863c110be08e3fd3' --> 'androidx.fragment:fragment:1.1.0' --> 'androidx.core:core:1.1.0' --> 'androidx.lifecycle:lifecycle-runtime:2.0.0'

  > Could not resolve androidx.fragment:fragment:1.1.0.
    Required by:
        project :ai_barcode > io.flutter:flutter_embedding_debug:1.0.0-92ae191c17a53144bf4d62f3863c110be08e3fd3
     > Cannot find a version of 'androidx.fragment:fragment' that satisfies the version constraints:
          Dependency path 'com.air.ai_barcode:ai_barcode:1.0-SNAPSHOT' --> 'io.flutter:flutter_embedding_debug:1.0.0-92ae191c17a53144bf4d62f3863c110be08e3fd3' --> 'androidx.fragment:fragment:1.1.0'
          Constraint path 'com.air.ai_barcode:ai_barcode:1.0-SNAPSHOT' --> 'androidx.fragment:fragment:{strictly 1.0.0}' because of the following reason: debugRuntimeClasspath uses version 1.0.0

  > Could not resolve androidx.annotation:annotation:1.1.0.
    Required by:
        project :ai_barcode > io.flutter:flutter_embedding_debug:1.0.0-92ae191c17a53144bf4d62f3863c110be08e3fd3
        project :ai_barcode > io.flutter:flutter_embedding_debug:1.0.0-92ae191c17a53144bf4d62f3863c110be08e3fd3 > androidx.lifecycle:lifecycle-common-java8:2.2.0
        project :ai_barcode > androidx.lifecycle:lifecycle-common:2.2.0
        project :ai_barcode > androidx.lifecycle:lifecycle-runtime:2.2.0
        project :ai_barcode > androidx.fragment:fragment:1.1.0
        project :ai_barcode > androidx.arch.core:core-common:2.1.0
        project :ai_barcode > androidx.fragment:fragment:1.1.0 > androidx.activity:activity:1.0.0
        project :ai_barcode > androidx.core:core:1.1.0
        project :ai_barcode > androidx.collection:collection:1.1.0
        project :ai_barcode > androidx.lifecycle:lifecycle-viewmodel:2.1.0
        project :ai_barcode > androidx.fragment:fragment:1.1.0 > androidx.activity:activity:1.0.0 > androidx.savedstate:savedstate:1.0.0
     > Cannot find a version of 'androidx.annotation:annotation' that satisfies the version constraints:
          Dependency path 'com.air.ai_barcode:ai_barcode:1.0-SNAPSHOT' --> 'io.flutter:flutter_embedding_debug:1.0.0-92ae191c17a53144bf4d62f3863c110be08e3fd3' --> 'androidx.annotation:annotation:1.1.0'
          Constraint path 'com.air.ai_barcode:ai_barcode:1.0-SNAPSHOT' --> 'androidx.annotation:annotation:{strictly 1.0.0}' because of the following reason: debugRuntimeClasspath uses version 1.0.0
          Dependency path 'com.air.ai_barcode:ai_barcode:1.0-SNAPSHOT' --> 'io.flutter:flutter_embedding_debug:1.0.0-92ae191c17a53144bf4d62f3863c110be08e3fd3' --> 'androidx.lifecycle:lifecycle-common-java8:2.2.0' --> 'androidx.annotation:annotation:1.1.0'
          Dependency path 'com.air.ai_barcode:ai_barcode:1.0-SNAPSHOT' --> 'io.flutter:flutter_embedding_debug:1.0.0-92ae191c17a53144bf4d62f3863c110be08e3fd3' --> 'androidx.lifecycle:lifecycle-common:2.2.0' --> 'androidx.annotation:annotation:1.1.0'
          Dependency path 'com.air.ai_barcode:ai_barcode:1.0-SNAPSHOT' --> 'io.flutter:flutter_embedding_debug:1.0.0-92ae191c17a53144bf4d62f3863c110be08e3fd3' --> 'androidx.lifecycle:lifecycle-runtime:2.2.0' --> 'androidx.annotation:annotation:1.1.0'
          Dependency path 'com.air.ai_barcode:ai_barcode:1.0-SNAPSHOT' --> 'io.flutter:flutter_embedding_debug:1.0.0-92ae191c17a53144bf4d62f3863c110be08e3fd3' --> 'androidx.fragment:fragment:1.1.0' --> 'androidx.annotation:annotation:1.1.0'
          Dependency path 'com.air.ai_barcode:ai_barcode:1.0-SNAPSHOT' --> 'io.flutter:flutter_embedding_debug:1.0.0-92ae191c17a53144bf4d62f3863c110be08e3fd3' --> 'androidx.lifecycle:lifecycle-runtime:2.2.0' --> 'androidx.arch.core:core-common:2.1.0' --> 'androidx.annotation:annotation:1.1.0'
          Dependency path 'com.air.ai_barcode:ai_barcode:1.0-SNAPSHOT' --> 'io.flutter:flutter_embedding_debug:1.0.0-92ae191c17a53144bf4d62f3863c110be08e3fd3' --> 'androidx.fragment:fragment:1.1.0' --> 'androidx.activity:activity:1.0.0' --> 'androidx.annotation:annotation:1.1.0'
          Dependency path 'com.air.ai_barcode:ai_barcode:1.0-SNAPSHOT' --> 'io.flutter:flutter_embedding_debug:1.0.0-92ae191c17a53144bf4d62f3863c110be08e3fd3' --> 'androidx.fragment:fragment:1.1.0' --> 'androidx.collection:collection:1.1.0' --> 'androidx.annotation:annotation:1.1.0'
          Dependency path 'com.air.ai_barcode:ai_barcode:1.0-SNAPSHOT' --> 'io.flutter:flutter_embedding_debug:1.0.0-92ae191c17a53144bf4d62f3863c110be08e3fd3' --> 'androidx.fragment:fragment:1.1.0' --> 'androidx.viewpager:viewpager:1.0.0' --> 'androidx.annotation:annotation:1.0.0'
          Dependency path 'com.air.ai_barcode:ai_barcode:1.0-SNAPSHOT' --> 'io.flutter:flutter_embedding_debug:1.0.0-92ae191c17a53144bf4d62f3863c110be08e3fd3' --> 'androidx.fragment:fragment:1.1.0' --> 'androidx.loader:loader:1.0.0' --> 'androidx.annotation:annotation:1.0.0'
          Dependency path 'com.air.ai_barcode:ai_barcode:1.0-SNAPSHOT' --> 'io.flutter:flutter_embedding_debug:1.0.0-92ae191c17a53144bf4d62f3863c110be08e3fd3' --> 'androidx.fragment:fragment:1.1.0' --> 'androidx.lifecycle:lifecycle-viewmodel:2.1.0' --> 'androidx.annotation:annotation:1.1.0'
          Dependency path 'com.air.ai_barcode:ai_barcode:1.0-SNAPSHOT' --> 'io.flutter:flutter_embedding_debug:1.0.0-92ae191c17a53144bf4d62f3863c110be08e3fd3' --> 'androidx.fragment:fragment:1.1.0' --> 'androidx.activity:activity:1.0.0' --> 'androidx.savedstate:savedstate:1.0.0' --> 'androidx.annotation:annotation:1.1.0'
          Dependency path 'com.air.ai_barcode:ai_barcode:1.0-SNAPSHOT' --> 'io.flutter:flutter_embedding_debug:1.0.0-92ae191c17a53144bf4d62f3863c110be08e3fd3' --> 'androidx.fragment:fragment:1.1.0' --> 'androidx.core:core:1.1.0' --> 'androidx.annotation:annotation:1.1.0'
          Dependency path 'com.air.ai_barcode:ai_barcode:1.0-SNAPSHOT' --> 'io.flutter:flutter_embedding_debug:1.0.0-92ae191c17a53144bf4d62f3863c110be08e3fd3' --> 'androidx.fragment:fragment:1.1.0' --> 'androidx.viewpager:viewpager:1.0.0' --> 'androidx.customview:customview:1.0.0' --> 'androidx.annotation:annotation:1.0.0'
          Dependency path 'com.air.ai_barcode:ai_barcode:1.0-SNAPSHOT' --> 'io.flutter:flutter_embedding_debug:1.0.0-92ae191c17a53144bf4d62f3863c110be08e3fd3' --> 'androidx.fragment:fragment:1.1.0' --> 'androidx.loader:loader:1.0.0' --> 'androidx.lifecycle:lifecycle-livedata:2.0.0' --> 'androidx.arch.core:core-runtime:2.0.0' --> 'androidx.annotation:annotation:1.0.0'

  > Could not resolve androidx.arch.core:core-common:2.1.0.
    Required by:
        project :ai_barcode > androidx.lifecycle:lifecycle-runtime:2.2.0
     > Cannot find a version of 'androidx.arch.core:core-common' that satisfies the version constraints:
          Dependency path 'com.air.ai_barcode:ai_barcode:1.0-SNAPSHOT' --> 'io.flutter:flutter_embedding_debug:1.0.0-92ae191c17a53144bf4d62f3863c110be08e3fd3' --> 'androidx.lifecycle:lifecycle-runtime:2.2.0' --> 'androidx.arch.core:core-common:2.1.0'
          Constraint path 'com.air.ai_barcode:ai_barcode:1.0-SNAPSHOT' --> 'androidx.arch.core:core-common:{strictly 2.0.0}' because of the following reason: debugRuntimeClasspath uses version 2.0.0
          Dependency path 'com.air.ai_barcode:ai_barcode:1.0-SNAPSHOT' --> 'io.flutter:flutter_embedding_debug:1.0.0-92ae191c17a53144bf4d62f3863c110be08e3fd3' --> 'androidx.fragment:fragment:1.1.0' --> 'androidx.activity:activity:1.0.0' --> 'androidx.savedstate:savedstate:1.0.0' --> 'androidx.arch.core:core-common:2.0.1'
          Dependency path 'com.air.ai_barcode:ai_barcode:1.0-SNAPSHOT' --> 'io.flutter:flutter_embedding_debug:1.0.0-92ae191c17a53144bf4d62f3863c110be08e3fd3' --> 'androidx.fragment:fragment:1.1.0' --> 'androidx.loader:loader:1.0.0' --> 'androidx.lifecycle:lifecycle-livedata:2.0.0' --> 'androidx.arch.core:core-common:2.0.0'
          Dependency path 'com.air.ai_barcode:ai_barcode:1.0-SNAPSHOT' --> 'io.flutter:flutter_embedding_debug:1.0.0-92ae191c17a53144bf4d62f3863c110be08e3fd3' --> 'androidx.fragment:fragment:1.1.0' --> 'androidx.loader:loader:1.0.0' --> 'androidx.lifecycle:lifecycle-livedata:2.0.0' --> 'androidx.arch.core:core-runtime:2.0.0' --> 'androidx.arch.core:core-common:2.0.0'
          Dependency path 'com.air.ai_barcode:ai_barcode:1.0-SNAPSHOT' --> 'io.flutter:flutter_embedding_debug:1.0.0-92ae191c17a53144bf4d62f3863c110be08e3fd3' --> 'androidx.fragment:fragment:1.1.0' --> 'androidx.loader:loader:1.0.0' --> 'androidx.lifecycle:lifecycle-livedata:2.0.0' --> 'androidx.lifecycle:lifecycle-livedata-core:2.0.0' --> 'androidx.arch.core:core-common:2.0.0'

  > Could not resolve androidx.core:core:1.1.0.
    Required by:
        project :ai_barcode > androidx.fragment:fragment:1.1.0
        project :ai_barcode > androidx.fragment:fragment:1.1.0 > androidx.activity:activity:1.0.0
     > Cannot find a version of 'androidx.core:core' that satisfies the version constraints:
          Dependency path 'com.air.ai_barcode:ai_barcode:1.0-SNAPSHOT' --> 'io.flutter:flutter_embedding_debug:1.0.0-92ae191c17a53144bf4d62f3863c110be08e3fd3' --> 'androidx.fragment:fragment:1.1.0' --> 'androidx.core:core:1.1.0'
          Constraint path 'com.air.ai_barcode:ai_barcode:1.0-SNAPSHOT' --> 'androidx.core:core:{strictly 1.0.0}' because of the following reason: debugRuntimeClasspath uses version 1.0.0
          Dependency path 'com.air.ai_barcode:ai_barcode:1.0-SNAPSHOT' --> 'io.flutter:flutter_embedding_debug:1.0.0-92ae191c17a53144bf4d62f3863c110be08e3fd3' --> 'androidx.fragment:fragment:1.1.0' --> 'androidx.activity:activity:1.0.0' --> 'androidx.core:core:1.1.0'
          Dependency path 'com.air.ai_barcode:ai_barcode:1.0-SNAPSHOT' --> 'io.flutter:flutter_embedding_debug:1.0.0-92ae191c17a53144bf4d62f3863c110be08e3fd3' --> 'androidx.fragment:fragment:1.1.0' --> 'androidx.viewpager:viewpager:1.0.0' --> 'androidx.core:core:1.0.0'
          Dependency path 'com.air.ai_barcode:ai_barcode:1.0-SNAPSHOT' --> 'io.flutter:flutter_embedding_debug:1.0.0-92ae191c17a53144bf4d62f3863c110be08e3fd3' --> 'androidx.fragment:fragment:1.1.0' --> 'androidx.loader:loader:1.0.0' --> 'androidx.core:core:1.0.0'
          Dependency path 'com.air.ai_barcode:ai_barcode:1.0-SNAPSHOT' --> 'io.flutter:flutter_embedding_debug:1.0.0-92ae191c17a53144bf4d62f3863c110be08e3fd3' --> 'androidx.fragment:fragment:1.1.0' --> 'androidx.viewpager:viewpager:1.0.0' --> 'androidx.customview:customview:1.0.0' --> 'androidx.core:core:1.0.0'

  > Could not resolve androidx.collection:collection:1.1.0.
    Required by:
        project :ai_barcode > androidx.fragment:fragment:1.1.0
     > Cannot find a version of 'androidx.collection:collection' that satisfies the version constraints:
          Dependency path 'com.air.ai_barcode:ai_barcode:1.0-SNAPSHOT' --> 'io.flutter:flutter_embedding_debug:1.0.0-92ae191c17a53144bf4d62f3863c110be08e3fd3' --> 'androidx.fragment:fragment:1.1.0' --> 'androidx.collection:collection:1.1.0'
          Constraint path 'com.air.ai_barcode:ai_barcode:1.0-SNAPSHOT' --> 'androidx.collection:collection:{strictly 1.0.0}' because of the following reason: debugRuntimeClasspath uses version 1.0.0
          Dependency path 'com.air.ai_barcode:ai_barcode:1.0-SNAPSHOT' --> 'io.flutter:flutter_embedding_debug:1.0.0-92ae191c17a53144bf4d62f3863c110be08e3fd3' --> 'androidx.fragment:fragment:1.1.0' --> 'androidx.core:core:1.1.0' --> 'androidx.versionedparcelable:versionedparcelable:1.1.0' --> 'androidx.collection:collection:1.0.0'
          Dependency path 'com.air.ai_barcode:ai_barcode:1.0-SNAPSHOT' --> 'io.flutter:flutter_embedding_debug:1.0.0-92ae191c17a53144bf4d62f3863c110be08e3fd3' --> 'androidx.fragment:fragment:1.1.0' --> 'androidx.core:core:1.1.0' --> 'androidx.collection:collection:1.0.0'

  > Could not resolve androidx.lifecycle:lifecycle-viewmodel:2.0.0.
    Required by:
        project :ai_barcode > androidx.fragment:fragment:1.1.0
        project :ai_barcode > androidx.loader:loader:1.0.0
     > Cannot find a version of 'androidx.lifecycle:lifecycle-viewmodel' that satisfies the version constraints: 
          Dependency path 'com.air.ai_barcode:ai_barcode:1.0-SNAPSHOT' --> 'io.flutter:flutter_embedding_debug:1.0.0-92ae191c17a53144bf4d62f3863c110be08e3fd3' --> 'androidx.fragment:fragment:1.1.0' --> 'androidx.lifecycle:lifecycle-viewmodel:2.0.0'
          Constraint path 'com.air.ai_barcode:ai_barcode:1.0-SNAPSHOT' --> 'androidx.lifecycle:lifecycle-viewmodel:{strictly 2.0.0}' because of the following reason: debugRuntimeClasspath uses version 2.0.0
          Dependency path 'com.air.ai_barcode:ai_barcode:1.0-SNAPSHOT' --> 'io.flutter:flutter_embedding_debug:1.0.0-92ae191c17a53144bf4d62f3863c110be08e3fd3' --> 'androidx.fragment:fragment:1.1.0' --> 'androidx.activity:activity:1.0.0' --> 'androidx.lifecycle:lifecycle-viewmodel:2.1.0'
          Dependency path 'com.air.ai_barcode:ai_barcode:1.0-SNAPSHOT' --> 'io.flutter:flutter_embedding_debug:1.0.0-92ae191c17a53144bf4d62f3863c110be08e3fd3' --> 'androidx.fragment:fragment:1.1.0' --> 'androidx.loader:loader:1.0.0' --> 'androidx.lifecycle:lifecycle-viewmodel:2.0.0'

  > Could not resolve androidx.lifecycle:lifecycle-runtime:2.1.0.
    Required by:
        project :ai_barcode > androidx.fragment:fragment:1.1.0 > androidx.activity:activity:1.0.0
     > Cannot find a version of 'androidx.lifecycle:lifecycle-runtime' that satisfies the version constraints:
          Dependency path 'com.air.ai_barcode:ai_barcode:1.0-SNAPSHOT' --> 'io.flutter:flutter_embedding_debug:1.0.0-92ae191c17a53144bf4d62f3863c110be08e3fd3' --> 'androidx.lifecycle:lifecycle-runtime:2.2.0'
          Constraint path 'com.air.ai_barcode:ai_barcode:1.0-SNAPSHOT' --> 'androidx.lifecycle:lifecycle-runtime:{strictly 2.0.0}' because of the following reason: debugRuntimeClasspath uses version 2.0.0
          Dependency path 'com.air.ai_barcode:ai_barcode:1.0-SNAPSHOT' --> 'io.flutter:flutter_embedding_debug:1.0.0-92ae191c17a53144bf4d62f3863c110be08e3fd3' --> 'androidx.fragment:fragment:1.1.0' --> 'androidx.activity:activity:1.0.0' --> 'androidx.lifecycle:lifecycle-runtime:2.1.0'
          Dependency path 'com.air.ai_barcode:ai_barcode:1.0-SNAPSHOT' --> 'io.flutter:flutter_embedding_debug:1.0.0-92ae191c17a53144bf4d62f3863c110be08e3fd3' --> 'androidx.fragment:fragment:1.1.0' --> 'androidx.core:core:1.1.0' --> 'androidx.lifecycle:lifecycle-runtime:2.0.0'

  > Could not resolve androidx.lifecycle:lifecycle-viewmodel:2.1.0.
    Required by:
        project :ai_barcode > androidx.fragment:fragment:1.1.0 > androidx.activity:activity:1.0.0
     > Cannot find a version of 'androidx.lifecycle:lifecycle-viewmodel' that satisfies the version constraints:
          Dependency path 'com.air.ai_barcode:ai_barcode:1.0-SNAPSHOT' --> 'io.flutter:flutter_embedding_debug:1.0.0-92ae191c17a53144bf4d62f3863c110be08e3fd3' --> 'androidx.fragment:fragment:1.1.0' --> 'androidx.lifecycle:lifecycle-viewmodel:2.0.0'
          Constraint path 'com.air.ai_barcode:ai_barcode:1.0-SNAPSHOT' --> 'androidx.lifecycle:lifecycle-viewmodel:{strictly 2.0.0}' because of the following reason: debugRuntimeClasspath uses version 2.0.0
          Dependency path 'com.air.ai_barcode:ai_barcode:1.0-SNAPSHOT' --> 'io.flutter:flutter_embedding_debug:1.0.0-92ae191c17a53144bf4d62f3863c110be08e3fd3' --> 'androidx.fragment:fragment:1.1.0' --> 'androidx.activity:activity:1.0.0' --> 'androidx.lifecycle:lifecycle-viewmodel:2.1.0'
          Dependency path 'com.air.ai_barcode:ai_barcode:1.0-SNAPSHOT' --> 'io.flutter:flutter_embedding_debug:1.0.0-92ae191c17a53144bf4d62f3863c110be08e3fd3' --> 'androidx.fragment:fragment:1.1.0' --> 'androidx.loader:loader:1.0.0' --> 'androidx.lifecycle:lifecycle-viewmodel:2.0.0'

  > Could not resolve androidx.lifecycle:lifecycle-runtime:2.0.0.
    Required by:
        project :ai_barcode > androidx.core:core:1.1.0
     > Cannot find a version of 'androidx.lifecycle:lifecycle-runtime' that satisfies the version constraints:
          Dependency path 'com.air.ai_barcode:ai_barcode:1.0-SNAPSHOT' --> 'io.flutter:flutter_embedding_debug:1.0.0-92ae191c17a53144bf4d62f3863c110be08e3fd3' --> 'androidx.lifecycle:lifecycle-runtime:2.2.0'
          Constraint path 'com.air.ai_barcode:ai_barcode:1.0-SNAPSHOT' --> 'androidx.lifecycle:lifecycle-runtime:{strictly 2.0.0}' because of the following reason: debugRuntimeClasspath uses version 2.0.0
          Dependency path 'com.air.ai_barcode:ai_barcode:1.0-SNAPSHOT' --> 'io.flutter:flutter_embedding_debug:1.0.0-92ae191c17a53144bf4d62f3863c110be08e3fd3' --> 'androidx.fragment:fragment:1.1.0' --> 'androidx.activity:activity:1.0.0' --> 'androidx.lifecycle:lifecycle-runtime:2.1.0'
          Dependency path 'com.air.ai_barcode:ai_barcode:1.0-SNAPSHOT' --> 'io.flutter:flutter_embedding_debug:1.0.0-92ae191c17a53144bf4d62f3863c110be08e3fd3' --> 'androidx.fragment:fragment:1.1.0' --> 'androidx.core:core:1.1.0' --> 'androidx.lifecycle:lifecycle-runtime:2.0.0'

  > Could not resolve androidx.versionedparcelable:versionedparcelable:1.1.0.
    Required by:
        project :ai_barcode > androidx.core:core:1.1.0
     > Cannot find a version of 'androidx.versionedparcelable:versionedparcelable' that satisfies the version constraints:
          Dependency path 'com.air.ai_barcode:ai_barcode:1.0-SNAPSHOT' --> 'io.flutter:flutter_embedding_debug:1.0.0-92ae191c17a53144bf4d62f3863c110be08e3fd3' --> 'androidx.fragment:fragment:1.1.0' --> 'androidx.core:core:1.1.0' --> 'androidx.versionedparcelable:versionedparcelable:1.1.0'
          Constraint path 'com.air.ai_barcode:ai_barcode:1.0-SNAPSHOT' --> 'androidx.versionedparcelable:versionedparcelable:{strictly 1.0.0}' because of the following reason: debugRuntimeClasspath uses version 1.0.0

  > Could not resolve androidx.collection:collection:1.0.0.
    Required by:
        project :ai_barcode > androidx.core:core:1.1.0
        project :ai_barcode > androidx.versionedparcelable:versionedparcelable:1.1.0
     > Cannot find a version of 'androidx.collection:collection' that satisfies the version constraints:
          Dependency path 'com.air.ai_barcode:ai_barcode:1.0-SNAPSHOT' --> 'io.flutter:flutter_embedding_debug:1.0.0-92ae191c17a53144bf4d62f3863c110be08e3fd3' --> 'androidx.fragment:fragment:1.1.0' --> 'androidx.collection:collection:1.1.0'
          Constraint path 'com.air.ai_barcode:ai_barcode:1.0-SNAPSHOT' --> 'androidx.collection:collection:{strictly 1.0.0}' because of the following reason: debugRuntimeClasspath uses version 1.0.0
          Dependency path 'com.air.ai_barcode:ai_barcode:1.0-SNAPSHOT' --> 'io.flutter:flutter_embedding_debug:1.0.0-92ae191c17a53144bf4d62f3863c110be08e3fd3' --> 'androidx.fragment:fragment:1.1.0' --> 'androidx.core:core:1.1.0' --> 'androidx.versionedparcelable:versionedparcelable:1.1.0' --> 'androidx.collection:collection:1.0.0'
          Dependency path 'com.air.ai_barcode:ai_barcode:1.0-SNAPSHOT' --> 'io.flutter:flutter_embedding_debug:1.0.0-92ae191c17a53144bf4d62f3863c110be08e3fd3' --> 'androidx.fragment:fragment:1.1.0' --> 'androidx.core:core:1.1.0' --> 'androidx.collection:collection:1.0.0'

  > Could not resolve androidx.annotation:annotation:1.0.0.
    Required by:
        project :ai_barcode > androidx.viewpager:viewpager:1.0.0
        project :ai_barcode > androidx.loader:loader:1.0.0
        project :ai_barcode > androidx.customview:customview:1.0.0
        project :ai_barcode > androidx.arch.core:core-runtime:2.0.0
     > Cannot find a version of 'androidx.annotation:annotation' that satisfies the version constraints:
          Dependency path 'com.air.ai_barcode:ai_barcode:1.0-SNAPSHOT' --> 'io.flutter:flutter_embedding_debug:1.0.0-92ae191c17a53144bf4d62f3863c110be08e3fd3' --> 'androidx.annotation:annotation:1.1.0'
          Constraint path 'com.air.ai_barcode:ai_barcode:1.0-SNAPSHOT' --> 'androidx.annotation:annotation:{strictly 1.0.0}' because of the following reason: debugRuntimeClasspath uses version 1.0.0
          Dependency path 'com.air.ai_barcode:ai_barcode:1.0-SNAPSHOT' --> 'io.flutter:flutter_embedding_debug:1.0.0-92ae191c17a53144bf4d62f3863c110be08e3fd3' --> 'androidx.lifecycle:lifecycle-common-java8:2.2.0' --> 'androidx.annotation:annotation:1.1.0'
          Dependency path 'com.air.ai_barcode:ai_barcode:1.0-SNAPSHOT' --> 'io.flutter:flutter_embedding_debug:1.0.0-92ae191c17a53144bf4d62f3863c110be08e3fd3' --> 'androidx.lifecycle:lifecycle-common:2.2.0' --> 'androidx.annotation:annotation:1.1.0'
          Dependency path 'com.air.ai_barcode:ai_barcode:1.0-SNAPSHOT' --> 'io.flutter:flutter_embedding_debug:1.0.0-92ae191c17a53144bf4d62f3863c110be08e3fd3' --> 'androidx.lifecycle:lifecycle-runtime:2.2.0' --> 'androidx.annotation:annotation:1.1.0'
          Dependency path 'com.air.ai_barcode:ai_barcode:1.0-SNAPSHOT' --> 'io.flutter:flutter_embedding_debug:1.0.0-92ae191c17a53144bf4d62f3863c110be08e3fd3' --> 'androidx.fragment:fragment:1.1.0' --> 'androidx.annotation:annotation:1.1.0'
          Dependency path 'com.air.ai_barcode:ai_barcode:1.0-SNAPSHOT' --> 'io.flutter:flutter_embedding_debug:1.0.0-92ae191c17a53144bf4d62f3863c110be08e3fd3' --> 'androidx.lifecycle:lifecycle-runtime:2.2.0' --> 'androidx.arch.core:core-common:2.1.0' --> 'androidx.annotation:annotation:1.1.0'
          Dependency path 'com.air.ai_barcode:ai_barcode:1.0-SNAPSHOT' --> 'io.flutter:flutter_embedding_debug:1.0.0-92ae191c17a53144bf4d62f3863c110be08e3fd3' --> 'androidx.fragment:fragment:1.1.0' --> 'androidx.activity:activity:1.0.0' --> 'androidx.annotation:annotation:1.1.0'
          Dependency path 'com.air.ai_barcode:ai_barcode:1.0-SNAPSHOT' --> 'io.flutter:flutter_embedding_debug:1.0.0-92ae191c17a53144bf4d62f3863c110be08e3fd3' --> 'androidx.fragment:fragment:1.1.0' --> 'androidx.collection:collection:1.1.0' --> 'androidx.annotation:annotation:1.1.0'
          Dependency path 'com.air.ai_barcode:ai_barcode:1.0-SNAPSHOT' --> 'io.flutter:flutter_embedding_debug:1.0.0-92ae191c17a53144bf4d62f3863c110be08e3fd3' --> 'androidx.fragment:fragment:1.1.0' --> 'androidx.viewpager:viewpager:1.0.0' --> 'androidx.annotation:annotation:1.0.0'
          Dependency path 'com.air.ai_barcode:ai_barcode:1.0-SNAPSHOT' --> 'io.flutter:flutter_embedding_debug:1.0.0-92ae191c17a53144bf4d62f3863c110be08e3fd3' --> 'androidx.fragment:fragment:1.1.0' --> 'androidx.loader:loader:1.0.0' --> 'androidx.annotation:annotation:1.0.0'
          Dependency path 'com.air.ai_barcode:ai_barcode:1.0-SNAPSHOT' --> 'io.flutter:flutter_embedding_debug:1.0.0-92ae191c17a53144bf4d62f3863c110be08e3fd3' --> 'androidx.fragment:fragment:1.1.0' --> 'androidx.lifecycle:lifecycle-viewmodel:2.1.0' --> 'androidx.annotation:annotation:1.1.0'
          Dependency path 'com.air.ai_barcode:ai_barcode:1.0-SNAPSHOT' --> 'io.flutter:flutter_embedding_debug:1.0.0-92ae191c17a53144bf4d62f3863c110be08e3fd3' --> 'androidx.fragment:fragment:1.1.0' --> 'androidx.activity:activity:1.0.0' --> 'androidx.savedstate:savedstate:1.0.0' --> 'androidx.annotation:annotation:1.1.0'
          Dependency path 'com.air.ai_barcode:ai_barcode:1.0-SNAPSHOT' --> 'io.flutter:flutter_embedding_debug:1.0.0-92ae191c17a53144bf4d62f3863c110be08e3fd3' --> 'androidx.fragment:fragment:1.1.0' --> 'androidx.core:core:1.1.0' --> 'androidx.annotation:annotation:1.1.0'
          Dependency path 'com.air.ai_barcode:ai_barcode:1.0-SNAPSHOT' --> 'io.flutter:flutter_embedding_debug:1.0.0-92ae191c17a53144bf4d62f3863c110be08e3fd3' --> 'androidx.fragment:fragment:1.1.0' --> 'androidx.viewpager:viewpager:1.0.0' --> 'androidx.customview:customview:1.0.0' --> 'androidx.annotation:annotation:1.0.0'
          Dependency path 'com.air.ai_barcode:ai_barcode:1.0-SNAPSHOT' --> 'io.flutter:flutter_embedding_debug:1.0.0-92ae191c17a53144bf4d62f3863c110be08e3fd3' --> 'androidx.fragment:fragment:1.1.0' --> 'androidx.loader:loader:1.0.0' --> 'androidx.lifecycle:lifecycle-livedata:2.0.0' --> 'androidx.arch.core:core-runtime:2.0.0' --> 'androidx.annotation:annotation:1.0.0'

  > Could not resolve androidx.core:core:1.0.0.
    Required by:
        project :ai_barcode > androidx.viewpager:viewpager:1.0.0
        project :ai_barcode > androidx.loader:loader:1.0.0
        project :ai_barcode > androidx.customview:customview:1.0.0
     > Cannot find a version of 'androidx.core:core' that satisfies the version constraints:
          Dependency path 'com.air.ai_barcode:ai_barcode:1.0-SNAPSHOT' --> 'io.flutter:flutter_embedding_debug:1.0.0-92ae191c17a53144bf4d62f3863c110be08e3fd3' --> 'androidx.fragment:fragment:1.1.0' --> 'androidx.core:core:1.1.0'
          Constraint path 'com.air.ai_barcode:ai_barcode:1.0-SNAPSHOT' --> 'androidx.core:core:{strictly 1.0.0}' because of the following reason: debugRuntimeClasspath uses version 1.0.0
          Dependency path 'com.air.ai_barcode:ai_barcode:1.0-SNAPSHOT' --> 'io.flutter:flutter_embedding_debug:1.0.0-92ae191c17a53144bf4d62f3863c110be08e3fd3' --> 'androidx.fragment:fragment:1.1.0' --> 'androidx.activity:activity:1.0.0' --> 'androidx.core:core:1.1.0'
          Dependency path 'com.air.ai_barcode:ai_barcode:1.0-SNAPSHOT' --> 'io.flutter:flutter_embedding_debug:1.0.0-92ae191c17a53144bf4d62f3863c110be08e3fd3' --> 'androidx.fragment:fragment:1.1.0' --> 'androidx.viewpager:viewpager:1.0.0' --> 'androidx.core:core:1.0.0'
          Dependency path 'com.air.ai_barcode:ai_barcode:1.0-SNAPSHOT' --> 'io.flutter:flutter_embedding_debug:1.0.0-92ae191c17a53144bf4d62f3863c110be08e3fd3' --> 'androidx.fragment:fragment:1.1.0' --> 'androidx.loader:loader:1.0.0' --> 'androidx.core:core:1.0.0'
          Dependency path 'com.air.ai_barcode:ai_barcode:1.0-SNAPSHOT' --> 'io.flutter:flutter_embedding_debug:1.0.0-92ae191c17a53144bf4d62f3863c110be08e3fd3' --> 'androidx.fragment:fragment:1.1.0' --> 'androidx.viewpager:viewpager:1.0.0' --> 'androidx.customview:customview:1.0.0' --> 'androidx.core:core:1.0.0'
  > Could not resolve androidx.arch.core:core-common:2.0.1.
    Required by:
        project :ai_barcode > androidx.fragment:fragment:1.1.0 > androidx.activity:activity:1.0.0 > androidx.savedstate:savedstate:1.0.0
     > Cannot find a version of 'androidx.arch.core:core-common' that satisfies the version constraints:
          Dependency path 'com.air.ai_barcode:ai_barcode:1.0-SNAPSHOT' --> 'io.flutter:flutter_embedding_debug:1.0.0-92ae191c17a53144bf4d62f3863c110be08e3fd3' --> 'androidx.lifecycle:lifecycle-runtime:2.2.0' --> 'androidx.arch.core:core-common:2.1.0'
          Constraint path 'com.air.ai_barcode:ai_barcode:1.0-SNAPSHOT' --> 'androidx.arch.core:core-common:{strictly 2.0.0}' because of the following reason: debugRuntimeClasspath uses version 2.0.0
          Dependency path 'com.air.ai_barcode:ai_barcode:1.0-SNAPSHOT' --> 'io.flutter:flutter_embedding_debug:1.0.0-92ae191c17a53144bf4d62f3863c110be08e3fd3' --> 'androidx.fragment:fragment:1.1.0' --> 'androidx.activity:activity:1.0.0' --> 'androidx.savedstate:savedstate:1.0.0' --> 'androidx.arch.core:core-common:2.0.1'
          Dependency path 'com.air.ai_barcode:ai_barcode:1.0-SNAPSHOT' --> 'io.flutter:flutter_embedding_debug:1.0.0-92ae191c17a53144bf4d62f3863c110be08e3fd3' --> 'androidx.fragment:fragment:1.1.0' --> 'androidx.loader:loader:1.0.0' --> 'androidx.lifecycle:lifecycle-livedata:2.0.0' --> 'androidx.arch.core:core-common:2.0.0'
          Dependency path 'com.air.ai_barcode:ai_barcode:1.0-SNAPSHOT' --> 'io.flutter:flutter_embedding_debug:1.0.0-92ae191c17a53144bf4d62f3863c110be08e3fd3' --> 'androidx.fragment:fragment:1.1.0' --> 'androidx.loader:loader:1.0.0' --> 'androidx.lifecycle:lifecycle-livedata:2.0.0' --> 'androidx.arch.core:core-runtime:2.0.0' --> 'androidx.arch.core:core-common:2.0.0'
          Dependency path 'com.air.ai_barcode:ai_barcode:1.0-SNAPSHOT' --> 'io.flutter:flutter_embedding_debug:1.0.0-92ae191c17a53144bf4d62f3863c110be08e3fd3' --> 'androidx.fragment:fragment:1.1.0' --> 'androidx.loader:loader:1.0.0' --> 'androidx.lifecycle:lifecycle-livedata:2.0.0' --> 'androidx.lifecycle:lifecycle-livedata-core:2.0.0' --> 'androidx.arch.core:core-common:2.0.0'

  > Could not resolve androidx.lifecycle:lifecycle-common:2.0.0.
    Required by:
        project :ai_barcode > androidx.fragment:fragment:1.1.0 > androidx.activity:activity:1.0.0 > androidx.savedstate:savedstate:1.0.0
        project :ai_barcode > androidx.lifecycle:lifecycle-livedata-core:2.0.0
     > Cannot find a version of 'androidx.lifecycle:lifecycle-common' that satisfies the version constraints:
          Dependency path 'com.air.ai_barcode:ai_barcode:1.0-SNAPSHOT' --> 'io.flutter:flutter_embedding_debug:1.0.0-92ae191c17a53144bf4d62f3863c110be08e3fd3' --> 'androidx.lifecycle:lifecycle-common:2.2.0'
          Constraint path 'com.air.ai_barcode:ai_barcode:1.0-SNAPSHOT' --> 'androidx.lifecycle:lifecycle-common:{strictly 2.0.0}' because of the following reason: debugRuntimeClasspath uses version 2.0.0
          Dependency path 'com.air.ai_barcode:ai_barcode:1.0-SNAPSHOT' --> 'io.flutter:flutter_embedding_debug:1.0.0-92ae191c17a53144bf4d62f3863c110be08e3fd3' --> 'androidx.lifecycle:lifecycle-common-java8:2.2.0' --> 'androidx.lifecycle:lifecycle-common:2.2.0'
          Dependency path 'com.air.ai_barcode:ai_barcode:1.0-SNAPSHOT' --> 'io.flutter:flutter_embedding_debug:1.0.0-92ae191c17a53144bf4d62f3863c110be08e3fd3' --> 'androidx.lifecycle:lifecycle-runtime:2.2.0' --> 'androidx.lifecycle:lifecycle-common:2.2.0'
          Dependency path 'com.air.ai_barcode:ai_barcode:1.0-SNAPSHOT' --> 'io.flutter:flutter_embedding_debug:1.0.0-92ae191c17a53144bf4d62f3863c110be08e3fd3' --> 'androidx.fragment:fragment:1.1.0' --> 'androidx.activity:activity:1.0.0' --> 'androidx.savedstate:savedstate:1.0.0' --> 'androidx.lifecycle:lifecycle-common:2.0.0'
          Dependency path 'com.air.ai_barcode:ai_barcode:1.0-SNAPSHOT' --> 'io.flutter:flutter_embedding_debug:1.0.0-92ae191c17a53144bf4d62f3863c110be08e3fd3' --> 'androidx.fragment:fragment:1.1.0' --> 'androidx.loader:loader:1.0.0' --> 'androidx.lifecycle:lifecycle-livedata:2.0.0' --> 'androidx.lifecycle:lifecycle-livedata-core:2.0.0' --> 'androidx.lifecycle:lifecycle-common:2.0.0'
  > Could not resolve androidx.arch.core:core-common:2.0.0.
    Required by:
        project :ai_barcode > androidx.lifecycle:lifecycle-livedata:2.0.0
        project :ai_barcode > androidx.arch.core:core-runtime:2.0.0
        project :ai_barcode > androidx.lifecycle:lifecycle-livedata-core:2.0.0
     > Cannot find a version of 'androidx.arch.core:core-common' that satisfies the version constraints:
          Dependency path 'com.air.ai_barcode:ai_barcode:1.0-SNAPSHOT' --> 'io.flutter:flutter_embedding_debug:1.0.0-92ae191c17a53144bf4d62f3863c110be08e3fd3' --> 'androidx.lifecycle:lifecycle-runtime:2.2.0' --> 'androidx.arch.core:core-common:2.1.0'
          Constraint path 'com.air.ai_barcode:ai_barcode:1.0-SNAPSHOT' --> 'androidx.arch.core:core-common:{strictly 2.0.0}' because of the following reason: debugRuntimeClasspath uses version 2.0.0
          Dependency path 'com.air.ai_barcode:ai_barcode:1.0-SNAPSHOT' --> 'io.flutter:flutter_embedding_debug:1.0.0-92ae191c17a53144bf4d62f3863c110be08e3fd3' --> 'androidx.fragment:fragment:1.1.0' --> 'androidx.activity:activity:1.0.0' --> 'androidx.savedstate:savedstate:1.0.0' --> 'androidx.arch.core:core-common:2.0.1'
          Dependency path 'com.air.ai_barcode:ai_barcode:1.0-SNAPSHOT' --> 'io.flutter:flutter_embedding_debug:1.0.0-92ae191c17a53144bf4d62f3863c110be08e3fd3' --> 'androidx.fragment:fragment:1.1.0' --> 'androidx.loader:loader:1.0.0' --> 'androidx.lifecycle:lifecycle-livedata:2.0.0' --> 'androidx.arch.core:core-common:2.0.0'
          Dependency path 'com.air.ai_barcode:ai_barcode:1.0-SNAPSHOT' --> 'io.flutter:flutter_embedding_debug:1.0.0-92ae191c17a53144bf4d62f3863c110be08e3fd3' --> 'androidx.fragment:fragment:1.1.0' --> 'androidx.loader:loader:1.0.0' --> 'androidx.lifecycle:lifecycle-livedata:2.0.0' --> 'androidx.arch.core:core-runtime:2.0.0' --> 'androidx.arch.core:core-common:2.0.0'
          Dependency path 'com.air.ai_barcode:ai_barcode:1.0-SNAPSHOT' --> 'io.flutter:flutter_embedding_debug:1.0.0-92ae191c17a53144bf4d62f3863c110be08e3fd3' --> 'androidx.fragment:fragment:1.1.0' --> 'androidx.loader:loader:1.0.0' --> 'androidx.lifecycle:lifecycle-livedata:2.0.0' --> 'androidx.lifecycle:lifecycle-livedata-core:2.0.0' --> 'androidx.arch.core:core-common:2.0.0'

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

* Get more help at https://help.gradle.org

BUILD FAILED in 14s
The build failed likely due to AndroidX incompatibilities in a plugin. The tool is about to try using Jetifier to solve the incompatibility.
Building plugin ai_barcode...
e: /Users/alanlanglois/Dev/flutter/sdk/.pub-cache/hosted/pub.dartlang.org/ai_barcode-1.1.4/android/src/main/kotlin/com/air/ai_barcode/AiBarcodePlugin.kt: (3, 28): Unresolved reference: NonNull
e: /Users/alanlanglois/Dev/flutter/sdk/.pub-cache/hosted/pub.dartlang.org/ai_barcode-1.1.4/android/src/main/kotlin/com/air/ai_barcode/AiBarcodePlugin.kt: (13, 38): Unresolved reference: NonNull
e: /Users/alanlanglois/Dev/flutter/sdk/.pub-cache/hosted/pub.dartlang.org/ai_barcode-1.1.4/android/src/main/kotlin/com/air/ai_barcode/AiBarcodePlugin.kt: (42, 32): Unresolved reference: NonNull
e: /Users/alanlanglois/Dev/flutter/sdk/.pub-cache/hosted/pub.dartlang.org/ai_barcode-1.1.4/android/src/main/kotlin/com/air/ai_barcode/AiBarcodePlugin.kt: (42, 59): Unresolved reference: NonNull
e: /Users/alanlanglois/Dev/flutter/sdk/.pub-cache/hosted/pub.dartlang.org/ai_barcode-1.1.4/android/src/main/kotlin/com/air/ai_barcode/AiBarcodePlugin.kt: (50, 40): Unresolved reference: NonNull

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':compileReleaseKotlin'.
> Compilation error. See log for more details

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

* Get more help at https://help.gradle.org

BUILD FAILED in 10s

Exception: The plugin ai_barcode could not be built due to the issue above.
Exited (sigterm)


Any idea to help me out?

好像不能调整中间框的大小

尝试修改示例代码中自定义扫描边框大小。
不管是修改方法外面传入的宽高还是修改方法内部的宽高。
扫描框大小都没有变化。

Camera Scan just work in debug build

Camera widget disappeared when i build release but it work on debug mode !
Log:
E/flutter (25999): [ERROR:flutter/lib/ui/ui_dart_state.cc(199)] Unhandled Exception: PlatformException(error, java.lang.NoSuchMethodException: c.d.c.e.values [], null, java.lang.RuntimeException: java.lang.NoSuchMethodException: c.d.c.e.values [] E/flutter (25999): at java.lang.Enum.enumValues(Enum.java:270) E/flutter (25999): at java.lang.Enum.access$000(Enum.java:61) E/flutter (25999): at java.lang.Enum$1.create(Enum.java:277) E/flutter (25999): at java.lang.Enum$1.create(Enum.java:275) E/flutter (25999): at libcore.util.BasicLruCache.get(BasicLruCache.java:63) E/flutter (25999): at java.lang.Enum.getSharedConstants(Enum.java:289) E/flutter (25999): at java.lang.Class.getEnumConstantsShared(Class.java:2459) E/flutter (25999): at java.util.EnumMap.getKeyUniverse(EnumMap.java:755) E/flutter (25999): at java.util.EnumMap.<init>(EnumMap.java:138) E/flutter (25999): at g.a.a.b.c.<init>(:1) E/flutter (25999): at c.a.a.d.<init>(Unknown Source:15) E/flutter (25999): at c.a.a.e.a(Unknown Source:9) E/flutter (25999): at io.flutter.plugin.platform.SingleViewPresentation.onCreate(Unknown Source:116) E/flutter (25999): at android.app.Dialog.dispatchOnCreate(Dialog.java:424) E/flutter (25999): at android.app.Dialog.show(Dialog.java:318) E/flutter (25999): at android.app.Presentation.show(Presentation.java:279) E/flutter (25999): at io.flutter.plugin.platform.y.<init>(Unknown Source:55) E/flutter (25999): at io.flutter.plugin.platform.y.a(Unknown Source:65) E/flutter (25999): at io.flutter.plugin.platform.m.g(Unknown Source:110) E/flutter (25999): at io.flutter.embedding.engine.p.D.i(:12) E/flutter (25999): at e.a.d.a.w.a(Unknown Source:17) E/flutter (25999): at io.flutter.embedding.engine.l.f.d(Unknown Source:25) E/flutter (25999): at io.flutter.embedding.engine.FlutterJNI.handlePlatformMessage(Unknown Source:4) E/flutter (25999): at android.os.MessageQueue.nativePollOnce(Native Method) E/flutter (25999): at android.os.MessageQueue.next(MessageQueue.java:335) E/flutter (25999): at android.os.Looper.loopOnce(Looper.java:161) E/flutter (25999): at android.os.Looper.loop(Looper.java:288) E/flutter (25999): at android.app.ActivityThread.main(ActivityThread.java:7829) E/flutter (25999): at java.lang.reflect.Method.invoke(Native Method) E/flutter (25999): at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:548) E/flutter (25999): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:982) E/flutter (25999): Caused by: java.lang.NoSuchMethodException: c.d.c.e.values [] E/flutter (25999): at java.lang.Class.getMethod(Class.java:2103) E/flutter (25999): at java.lang.Class.getDeclaredMethod(Class.java:2081) E/flutter (25999): at java.lang.Enum.enumValues(Enum.java:267) E/flutter (25999): ... 30 more E/flutter (25999): ) E/flutter (25999): #0 StandardMethodCodec.decodeEnvelope (package:flutter/src/services/message_codecs.dart:597) E/flutter (25999): #1 MethodChannel._invokeMethod (package:flutter/src/services/platform_channel.dart:158) E/flutter (25999): <asynchronous suspension> E/flutter (25999): #2 TextureAndroidViewController._sendCreateMessage (package:flutter/src/services/platform_views.dart:1043) E/flutter (25999): <asynchronous suspension> E/flutter (25999): #3 AndroidViewController.create (package:flutter/src/services/platform_views.dart:748) E/flutter (25999): <asynchronous suspension> E/flutter (25999): #4 RenderAndroidView._sizePlatformView (package:flutter/src/rendering/platform_view.dart:193) E/flutter (25999): <asynchronous suspension> E/flutter (25999):

Not working for targetSdkVersion > 28

I am using the package for QR scanning. It works fine in the target SDK version less than equal to 28. But doesn't work for target SDK version greater than 28. Although camera opens, scanning works but the scanner window doesn't appear in web.
Screenshot_20211202-174208
.

Different behaviour in iOS vs. Android

Hi,

I'm currently playing around with this barcode scanner plugin, as it offers the most room for including it to another view.
However, I found a different behaviour of your example code in iOS vs. Android:

  • iOS: When a barcode is scanned, the camera image stays active and just continues to display whatever you point it at.
  • Android: As soon as a barcode is scanned, the camera image freezes until you call the startCameraPreview() of the scannerController again.

Is there a way how both behave the same way?

I played around with the stop/startCamera and stop/startCameraPreview methods: Whereas on Android the camera image freezes as soon as any of the two stop methods is called, in iOS it does not freeze at all but it's just getting grey when stopCameraPreview is called.
Is it possible to also freeze the camera image as soon as a barcode is scanned successfully on iOS?

Thanks in advance!
Ben

如何只开启一个扫描类型

使用一维码扫描的时候不会去识别二维码.
使用二维码扫描的 时候不会去识别一维码.

我现在遇到的问题是, 一张单子上 有两个码, 一个一维码, 一个二维码, 去扫描一维码的时候, 经常识别了二维码, 导致后面操作失败.

using without camera

Is it possible to examine a single image for a barcode? It would be best if it could even be done without a file.
Unfortunately I didn't find anything like this in the library.

Camera issue in Web Mobile

Cannot scan qr code in flutter web on mobile. The camera does not open in mobile. It works properly on pc but when opened in mobile browser the camera does not open and shows a blank screen.

Barcode Scan on Android not working with small scanner size

Hi,
Thank you for this useful library. It works well on iOS and I can scan 1D and 2D barcodes with it, but on Android only QR Codes can be scanned and I can't scan 1D barcodes.

Is there a way to scan 1D barcodes on Android as well? It's a strict requirement for us because we scan product barcodes

Camera permission not working in android browser

Hello,

I am working on a PWA application and I need to scan QR code in my app. I have compiled the code and hosted the web app on firebase, then once I open the link into the android device's browser then it's not asking for camera permissions, hence all the features are blocked in the android browser. Please check the hosted link below on firebase.

https://scanner-web-16d78.web.app

要不要实现一个 setAutofocusInterval 接口?

我测试了能用,但是识别有点慢,可能是因为聚集慢,我也尝试了个别其他的库,发现同样基于zxing,有的就很快,相机还没有完全框住条码就识别出来了,我感觉是因为设置了 setAutofocusInterval 一个比较小的值。
至于耗电什么的不是问题,因为要扫码就那么一会会,不会一直打开扫码界面的。

额外的,是否可以设置只扫条码,不扫二维码,我看zxing有这个接口

How to check error type?

this tool is very nice!!, but i don't know error type or success check method
(success is 200, error is 500?)

now error is "Unable to start scanning This app does not have permission to access the camera"
截圖 2021-03-25 上午10 56 51
check method is
截圖 2021-03-25 上午10 57 15

Scan QR code on Windows ?

I have tried to find the flutter library that supports scan QR codes on Windows and Android. Is this library support scanning QR codes on Windows in the future?

How can I stop camera preview in flutter web version?

I successfully scan QR code in flutter web app, but after scanning and get a result, camera preview doesn't stop, even using these commands:

_scannerController?.stopCameraPreview();
_scannerController?.stopCamera(); 

In mobile version, everything goes OK. My issue is only in web version in stopping camera preview.

ios扫码特定图书崩溃

可能是跟书封面颜色有关系,见附图
ai_barcode/AiBarcodeScannerView.swift:124: Fatal error: Unexpectedly found nil while unwrapping an Optional value
ai_barcode/AiBarcodeScannerView.swift:124: Fatal error: Unexpectedly found nil while unwrapping an Optional value

  • thread # 1, queue = 'com.apple.main-thread', stop reason = Fatal error: Unexpectedly found nil while unwrapping an Optional value
    frame #0: 0x00000001a7e6c060 libswiftCore.dylib_swift_runtime_on_report libswiftCore.dylib_swift_runtime_on_report:
    -> 0x1a7e6c060 <+0>: ret
    libswiftCore.dylib_swift_reportToDebugger: 0x1a7e6c064 <+0>: b 0x1a7e6c060 ; _swift_runtime_on_report libswiftCore.dylib_swift_shouldReportFatalErrorsToDebugger:
    0x1a7e6c068 <+0>: adrp x8, 324926
    0x1a7e6c06c <+4>: ldrb w0, [x8, #0xfd1]

e816c4284b8c190dd5f5ce7b88fc5a06_

这是我遇见最恐怖的一个库

这是我遇见最恐怖的一个库,不知道为啥?集成了,Android是好的,iOS没反应,什么错误也不报。然后三天两头的build失败,还是间歇性的,搞得我怀疑人生了。。。。

java.io.IOException: setPreviewTexture failed when scanning succesfully and trying to scan again

So, I've tested out your package, and it worked fine, I browsed for a lot of packages that scan QR Code, and yours is the best I can use in my Fltutter project, seriouslly!
But unfortunately, I ended up with an Exception that seems to be native Android Exception.
Steps to reproduce:

  1. Scanned QR Code, pushed to another page
  2. Returned to home page by clicking on button
  3. Clicked to scan QR Code again, and then Exception shows up.

To call up the QR code scanner, this is the following code:

Column( children: [ Expanded( child: QrScanner.defaultStyle( resultCallback: (final code) async { final decodedQrData = jsonDecode(code); controller.setValues( favoured: decodedQrData['favoured'], value: decodedQrData['value'], ); await Modular.to.pushNamed('/pay/confirm-page'); }, ), ), ], ),

Logs

E/CameraPreview(20986): java.io.IOException: setPreviewTexture failed E/CameraPreview(20986): java.io.IOException: setPreviewTexture failed E/CameraPreview(20986): at android.hardware.Camera.setPreviewSurface(Native Method) E/CameraPreview(20986): at android.hardware.Camera.setPreviewDisplay(Camera.java:805) E/CameraPreview(20986): at me.dm7.barcodescanner.core.CameraPreview.showCameraPreview(CameraPreview.java:88) E/CameraPreview(20986): at me.dm7.barcodescanner.core.CameraPreview.surfaceChanged(CameraPreview.java:73) E/CameraPreview(20986): at android.view.SurfaceView.updateSurface(SurfaceView.java:822) E/CameraPreview(20986): at android.view.SurfaceView$2.onPreDraw(SurfaceView.java:158) E/CameraPreview(20986): at android.view.ViewTreeObserver.dispatchOnPreDraw(ViewTreeObserver.java:1088) E/CameraPreview(20986): at android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:2838) E/CameraPreview(20986): at android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:1801) E/CameraPreview(20986): at android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:7795) E/CameraPreview(20986): at android.view.Choreographer$CallbackRecord.run(Choreographer.java:1031)

Second time camera not open!

i am using PlatformAiBarcodeScannerWidget( platformScannerController:_scannerController,) in side AlertDialog when i close dialog write this two line 1)_scannerController.stopCameraPreview();
2)_scannerController.stopCamera(); and again open dialog with this two line 1)_scannerController.startCamera();
2) _scannerController.startCameraPreview(); but i'm getting below errors please give me answer how to fix?
FMB installDecor mIsFloating : false
FMB installDecor flags : -2139028216
FMB isFloatingMenuEnabled mFloatingMenuBtn : null
FMB isFloatingMenuEnabled return false
An error occurred while connecting to camera: 0

Finished with error: The plugin ai_barcode could not be built due to the issue above.

Launching lib\main.dart on MAR LX1M in debug mode...
Running Gradle task 'assembleDebug'...

FAILURE: Build failed with an exception.

  • What went wrong:
    Execution failed for task ':app:mergeDebugResources'.

A failure occurred while executing com.android.build.gradle.internal.tasks.Workers$ActionFacade
Android resource compilation failed
C:\Users\Thapelo Radebe\AndroidStudioProjects\paymart\android\app\src\main\res\values\colors.xml:4:2-53: AAPT: error: invalid color.

 C:\Users\Thapelo: AAPT: Radebe\AndroidStudioProjects\paymart\build\app\intermediates\incremental\mergeDebugResources\merged.dir\values\values.xml: error: file failed to compile.
  • Try:
    Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

  • Get more help at https://help.gradle.org

BUILD FAILED in 1m 19s
The built failed likely due to AndroidX incompatibilities in a plugin. The tool is about to try using Jetfier to solve the incompatibility.
Building plugin ai_barcode...
Running Gradle task 'assembleAarRelease'...

Task :assembleAarRelease UP-TO-DATE
Task :preBuild UP-TO-DATE
Task :preReleaseBuild UP-TO-DATE
Task :checkReleaseManifest UP-TO-DATE
Task :generateReleaseBuildConfig UP-TO-DATE
Task :compileReleaseAidl NO-SOURCE
Task :compileReleaseRenderscript NO-SOURCE
Task :generateReleaseResValues UP-TO-DATE
Task :generateReleaseResources UP-TO-DATE
Task :packageReleaseResources UP-TO-DATE
Task :parseReleaseLibraryResources UP-TO-DATE
Task :processReleaseManifest UP-TO-DATE
Task :generateReleaseRFile UP-TO-DATE

Task :compileReleaseKotlin FAILED

Task :mergeReleaseShaders UP-TO-DATE
Task :compileReleaseShaders UP-TO-DATE
Task :generateReleaseAssets UP-TO-DATE
Task :packageReleaseAssets UP-TO-DATE
Task :packageReleaseRenderscript NO-SOURCE
Task :prepareLintJarForPublish UP-TO-DATE
Task :processReleaseJavaRes NO-SOURCE
Task :mergeReleaseJniLibFolders UP-TO-DATE
Task :mergeReleaseNativeLibs UP-TO-DATE
Task :stripReleaseDebugSymbols UP-TO-DATE
Task :transformNativeLibsWithSyncJniLibsForRelease UP-TO-DATE
16 actionable tasks: 1 executed, 15 up-to-date

e: C:\Users\Thapelo Radebe\flutter.pub-cache\hosted\pub.dartlang.org\ai_barcode-1.0.3\android\src\main\kotlin\com\air\ai_barcode\AiBarcodePlugin.kt: (3, 28): Unresolved reference: NonNull
e: C:\Users\Thapelo Radebe\flutter.pub-cache\hosted\pub.dartlang.org\ai_barcode-1.0.3\android\src\main\kotlin\com\air\ai_barcode\AiBarcodePlugin.kt: (13, 36): Unresolved reference: NonNull
e: C:\Users\Thapelo Radebe\flutter.pub-cache\hosted\pub.dartlang.org\ai_barcode-1.0.3\android\src\main\kotlin\com\air\ai_barcode\AiBarcodePlugin.kt: (46, 30): Unresolved reference: NonNull
e: C:\Users\Thapelo Radebe\flutter.pub-cache\hosted\pub.dartlang.org\ai_barcode-1.0.3\android\src\main\kotlin\com\air\ai_barcode\AiBarcodePlugin.kt: (46, 57): Unresolved reference: NonNull
e: C:\Users\Thapelo Radebe\flutter.pub-cache\hosted\pub.dartlang.org\ai_barcode-1.0.3\android\src\main\kotlin\com\air\ai_barcode\AiBarcodePlugin.kt: (54, 38): Unresolved reference: NonNull

FAILURE: Build failed with an exception.

  • What went wrong:
    Execution failed for task ':compileReleaseKotlin'.

Compilation error. See log for more details

  • Try:
    Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

  • Get more help at https://help.gradle.org

BUILD FAILED in 7s

Finished with error: The plugin ai_barcode could not be built due to the issue above.

About the crash on ios13.x.x

when I use the plugin on ios 12, the result is perfect.
And after i upgrade my system to 13 even 14 beta, the issue happens that when i start camera, the response getting slower and slower and at last it crashes.
But when i just go into the same page again and the speed get quicker again. So anyone ever meet the same issue?

waiting online...

why scan code stopped with first result?

This widget is nice, but why the scan code is stopped with the first result? i think the scan have to continue and leave the choice to the user to keep going if he want

Camera preview loads slower on iOS than Android

I notice that in the example that startCamera() and startCameraPreview() are called after a 2 second duration. It is much slower to startCamera on iOS. Why it needs to wait for 2 seconds on iOS? Can it be fixed?

release apk error

e: C:\Users\Administrator\AppData\Roaming\Pub\Cache\hosted\pub.flutter-io.cn\ai_barcode-1.0.6\android\src\main\kotlin\com\air\ai_barcode\AiBarcodePlugin.kt: (3, 28): Unresolved reference: NonNull
e: C:\Users\Administrator\AppData\Roaming\Pub\Cache\hosted\pub.flutter-io.cn\ai_barcode-1.0.6\android\src\main\kotlin\com\air\ai_barcode\AiBarcodePlugin.kt: (13, 38): Unresolved reference: NonNull
e: C:\Users\Administrator\AppData\Roaming\Pub\Cache\hosted\pub.flutter-io.cn\ai_barcode-1.0.6\android\src\main\kotlin\com\air\ai_barcode\AiBarcodePlugin.kt: (42, 32): Unresolved reference: NonNull
e: C:\Users\Administrator\AppData\Roaming\Pub\Cache\hosted\pub.flutter-io.cn\ai_barcode-1.0.6\android\src\main\kotlin\com\air\ai_barcode\AiBarcodePlugin.kt: (42, 59): Unresolved reference: NonNull
e: C:\Users\Administrator\AppData\Roaming\Pub\Cache\hosted\pub.flutter-io.cn\ai_barcode-1.0.6\android\src\main\kotlin\com\air\ai_barcode\AiBarcodePlugin.kt: (50, 40): Unresolved reference: NonNull

FAILURE: Build failed with an exception.

  • What went wrong:
    Execution failed for task ':compileReleaseKotlin'.

Compilation error. See log for more details

gradle build warn

w: D:\flutter-sdks\flutter\flutter\.pub-cache\hosted\pub.flutter-io.cn\ai_barcode-3.0.1\android\src\main\kotlin\com\air\ai_barcode\AiBarcodePlugin.kt: (9, 48): 'Registrar' is deprecated. Deprecated in Java
w: D:\flutter-sdks\flutter\flutter\.pub-cache\hosted\pub.flutter-io.cn\ai_barcode-3.0.1\android\src\main\kotlin\com\air\ai_barcode\AiBarcodePlugin.kt: (14, 58): 'getFlutterEngine(): FlutterEngine' is deprecated. Deprecated in Java
w: D:\flutter-sdks\flutter\flutter\.pub-cache\hosted\pub.flutter-io.cn\ai_barcode-3.0.1\android\src\main\kotlin\com\air\ai_barcode\AiBarcodePlugin.kt: (33, 37): 'Registrar' is deprecated. Deprecated in Java
w: D:\flutter-sdks\flutter\flutter\.pub-cache\hosted\pub.flutter-io.cn\ai_barcode-3.0.1\android\src\main\kotlin\com\air\ai_barcode\AndroidCreatorView.kt: (32, 78): Parameter 'viewid' is never used
w: D:\flutter-sdks\flutter\flutter\.pub-cache\hosted\pub.flutter-io.cn\ai_barcode-3.0.1\android\src\main\kotlin\com\air\ai_barcode\AndroidCreatorView.kt: (87, 13): Variable 'qrContentString' is assigned but never accessed
w: D:\flutter-sdks\flutter\flutter\.pub-cache\hosted\pub.flutter-io.cn\ai_barcode-3.0.1\android\src\main\kotlin\com\air\ai_barcode\AndroidCreatorView.kt: (90, 17): The value 'argsCreator as String' assigned to 'var qrContentString: String? defined in com.air.ai_barc
ode.AndroidCreatorView.getView' is never used
w: D:\flutter-sdks\flutter\flutter\.pub-cache\hosted\pub.flutter-io.cn\ai_barcode-3.0.1\android\src\main\kotlin\com\air\ai_barcode\AndroidCreatorView.kt: (98, 21): The value 'qrCodeContentValue' assigned to 'var qrContentString: String? defined in com.air.ai_barcode
.AndroidCreatorView.getView' is never used
w: D:\flutter-sdks\flutter\flutter\.pub-cache\hosted\pub.flutter-io.cn\ai_barcode-3.0.1\android\src\main\kotlin\com\air\ai_barcode\AndroidScannerView.kt: (20, 78): Parameter 'viewid' is never used
w: D:\flutter-sdks\flutter\flutter\.pub-cache\hosted\pub.flutter-io.cn\ai_barcode-3.0.1\android\src\main\kotlin\com\air\ai_barcode\AndroidScannerView.kt: (20, 91): Parameter 'args' is never used

[Web] - Scan area

Hi,
This is great library, but on web platform it has not scan area. Is it possible to add scan area to web platform
image

java.io.IOException: setPreviewTexture failed

I/Camera (28740): open camera: 0, package name: com.radi.flutterbeauty
I/HwCameraUtil(28740): notifySurfaceFlingerCameraStatus : isFront = false , isOpend = true
E/Camera (28740): Error 2
I/Camera (28740): open camera: 0, package name: com.radi.flutterbeauty
I/HwCameraUtil(28740): notifySurfaceFlingerCameraStatus : isFront = false , isOpend = true
E/CameraPreview(28740): java.io.IOException: setPreviewTexture failed
E/CameraPreview(28740): java.io.IOException: setPreviewTexture failed
E/CameraPreview(28740): at android.hardware.Camera.setPreviewSurface(Native Method)
E/CameraPreview(28740): at android.hardware.Camera.setPreviewDisplay(Camera.java:772)
E/CameraPreview(28740): at me.dm7.barcodescanner.core.CameraPreview.showCameraPreview(CameraPreview.java:88)
E/CameraPreview(28740): at me.dm7.barcodescanner.core.CameraPreview.surfaceChanged(CameraPreview.java:73)
E/CameraPreview(28740): at android.view.SurfaceView.updateSurface(SurfaceView.java:801)
E/CameraPreview(28740): at android.view.SurfaceView$2.onPreDraw(SurfaceView.java:162)
E/CameraPreview(28740): at android.view.ViewTreeObserver.dispatchOnPreDraw(ViewTreeObserver.java:1088)
E/CameraPreview(28740): at android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:2944)
E/CameraPreview(28740): at android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:1857)
E/CameraPreview(28740): at android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:8089)
E/CameraPreview(28740): at android.view.Choreographer$CallbackRecord.run(Choreographer.java:1057)
E/CameraPreview(28740): at android.view.Choreographer.doCallbacks(Choreographer.java:875)
E/CameraPreview(28740): at android.view.Choreographer.doFrame(Choreographer.java:776)
E/CameraPreview(28740): at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:1042)
E/CameraPreview(28740): at android.os.Handler.handleCallback(Handler.java:888)
E/CameraPreview(28740): at android.os.Handler.dispatchMessage(Handler.java:100)
E/CameraPreview(28740): at android.os.Looper.loop(Looper.java:213)
E/CameraPreview(28740): at android.app.ActivityThread.main(ActivityThread.java:8169)
E/CameraPreview(28740): at java.lang.reflect.Method.invoke(Native Method)
E/CameraPreview(28740): at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:513)
E/CameraPreview(28740): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1101)
E/CameraPreview(28740): java.io.IOException: setPreviewTexture failed
E/CameraPreview(28740): java.io.IOException: setPreviewTexture failed
E/CameraPreview(28740): at android.hardware.Camera.setPreviewSurface(Native Method)
E/CameraPreview(28740): at android.hardware.Camera.setPreviewDisplay(Camera.java:772)
E/CameraPreview(28740): at me.dm7.barcodescanner.core.CameraPreview.showCameraPreview(CameraPreview.java:88)
E/CameraPreview(28740): at me.dm7.barcodescanner.core.CameraPreview.surfaceChanged(CameraPreview.java:73)
E/CameraPreview(28740): at android.view.SurfaceView.updateSurface(SurfaceView.java:801)
E/CameraPreview(28740): at android.view.SurfaceView.setFrame(SurfaceView.java:377)
E/CameraPreview(28740): at android.view.View.layout(View.java:22111)
E/CameraPreview(28740): at android.widget.FrameLayout.layoutChildren(FrameLayout.java:334)
E/CameraPreview(28740): at android.widget.FrameLayout.onLayout(FrameLayout.java:270)
E/CameraPreview(28740): at android.view.View.layout(View.java:22114)
E/CameraPreview(28740): at android.view.ViewGroup.layout(ViewGroup.java:6335)
E/CameraPreview(28740): at android.widget.FrameLayout.layoutChildren(FrameLayout.java:334)
E/CameraPreview(28740): at android.widget.FrameLayout.onLayout(FrameLayout.java:270)
E/CameraPreview(28740): at android.view.View.layout(View.java:22114)
E/CameraPreview(28740): at android.view.ViewGroup.layout(ViewGroup.java:6335)
E/CameraPreview(28740): at android.widget.FrameLayout.layoutChildren(FrameLayout.java:334)
E/CameraPreview(28740): at android.widget.FrameLayout.onLayout(FrameLayout.java:270)
E/CameraPreview(28740): at android.view.View.layout(View.java:22114)
E/CameraPreview(28740): at android.view.ViewGroup.layout(ViewGroup.java:6335)
E/CameraPreview(28740): at android.widget.FrameLayout.layoutChildren(FrameLayout.java:334)
E/CameraPreview(28740): at android.widget.FrameLayout.onLayout(FrameLayout.java:270)
E/CameraPreview(28740): at android.view.View.layout(View.java:22114)
E/CameraPreview(28740): at android.view.ViewGroup.layout(ViewGroup.java:6335)
E/CameraPreview(28740): at android.widget.LinearLayout.setChildFrame(LinearLayout.java:1839)
E/CameraPreview(28740): at android.widget.LinearLayout.layoutVertical(LinearLayout.java:1683)
E/CameraPreview(28740): at android.widget.LinearLayout.onLayout(LinearLayout.java:1592)
E/CameraPreview(28740): at android.view.View.layout(View.java:22114)
E/CameraPreview(28740): at android.view.ViewGroup.layout(ViewGroup.java:6335)
E/CameraPreview(28740): at android.widget.FrameLayout.layoutChildren(FrameLayout.java:334)
E/CameraPreview(28740): at android.widget.FrameLayout.onLayout(FrameLayout.java:270)
E/CameraPreview(28740): at com.android.internal.policy.DecorView.onLayout(DecorView.java:937)
E/CameraPreview(28740): at android.view.View.layout(View.java:22114)
E/CameraPreview(28740): at android.view.ViewGroup.layout(ViewGroup.java:6335)
E/CameraPreview(28740): at android.view.ViewRootImpl.performLayout(ViewRootImpl.java:3285)
E/CameraPreview(28740): at android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:2785)
E/CameraPreview(28740): at android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:1857)
E/CameraPreview(28740): at android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:8089)
E/CameraPreview(28740): at android.view.Choreographer$CallbackRecord.run(Choreographer.java:1057)
E/CameraPreview(28740): at android.view.Choreographer.doCallbacks(Choreographer.java:875)
E/CameraPreview(28740): at android.view.Choreographer.doFrame(Choreographer.java:776)
E/CameraPreview(28740): at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:1042)
E/CameraPreview(28740): at android.os.Handler.handleCallback(Handler.java:888)
E/CameraPreview(28740): at android.os.Handler.dispatchMessage(Handler.java:100)
E/CameraPreview(28740): at android.os.Looper.loop(Looper.java:213)
E/CameraPreview(28740): at android.app.ActivityThread.main(ActivityThread.java:8169)
E/CameraPreview(28740): at java.lang.reflect.Method.invoke(Native Method)
E/CameraPreview(28740): at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:513)
E/CameraPreview(28740): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1101)
E/Camera (28740): Error 2
E/CameraPreview(28740): java.lang.RuntimeException: cancelAutoFocus failed
E/CameraPreview(28740): java.lang.RuntimeException: cancelAutoFocus failed
E/CameraPreview(28740): at android.hardware.Camera.native_cancelAutoFocus(Native Method)
E/CameraPreview(28740): at android.hardware.Camera.cancelAutoFocus(Camera.java:1466)
E/CameraPreview(28740): at me.dm7.barcodescanner.core.CameraPreview.stopCameraPreview(CameraPreview.java:120)
E/CameraPreview(28740): at me.dm7.barcodescanner.core.CameraPreview.surfaceDestroyed(CameraPreview.java:79)
E/CameraPreview(28740): at android.view.SurfaceView.updateSurface(SurfaceView.java:740)
E/CameraPreview(28740): at android.view.SurfaceView.onWindowVisibilityChanged(SurfaceView.java:281)
E/CameraPreview(28740): at android.view.View.dispatchDetachedFromWindow(View.java:19781)
E/CameraPreview(28740): at android.view.ViewGroup.removeAllViewsInLayout(ViewGroup.java:5707)
E/CameraPreview(28740): at android.view.ViewGroup.removeAllViews(ViewGroup.java:5653)
E/CameraPreview(28740): at me.dm7.barcodescanner.core.BarcodeScannerView.setupLayout(BarcodeScannerView.java:78)
E/CameraPreview(28740): at me.dm7.barcodescanner.core.BarcodeScannerView.setupCameraPreview(BarcodeScannerView.java:185)
E/CameraPreview(28740): at me.dm7.barcodescanner.core.CameraHandlerThread$1$1.run(CameraHandlerThread.java:31)
E/CameraPreview(28740): at android.os.Handler.handleCallback(Handler.java:888)
E/CameraPreview(28740): at android.os.Handler.dispatchMessage(Handler.java:100)
E/CameraPreview(28740): at android.os.Looper.loop(Looper.java:213)
E/CameraPreview(28740): at android.app.ActivityThread.main(ActivityThread.java:8169)
E/CameraPreview(28740): at java.lang.reflect.Method.invoke(Native Method)
E/CameraPreview(28740): at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:513)
E/CameraPreview(28740): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1101)

Android ERROR : ai_barcode_web-2.0.0\android does not exist

I am using ai_barcode to androidplatform but it is throwing this error :
ai_barcode_web-2.0.0\android does not exist

A problem occurred evaluating root project 'android'.

Basedir D:\Flutter SDK 2\flutter.pub-cache\hosted\pub.dartlang.org\ai_barcode_web-2.0.0\android does not exist

I used ai_barcode with version 3.0.0 but same error

Please Give me a solution !!!!

Info; it is running on web platform but it isn't running on andorid ?????

Not able to run or build in IOS

flutter doctor -v
Screenshot 2021-04-10 at 2 53 42 PM
Error for IOS: - It's generating web files even I am not using this for web.

Error output from Xcode build:

** BUILD FAILED **
Xcode's output:

2
Command MergeSwiftModule failed with a nonzero exit code
error: /Users/m9/Documents/FlutterInstalation/flutter/.pub-cache/hosted/pub.dartlang.org/ai_barcode_web-2.0.0/ios/Classes/AiBarcodePlugin.h: No such file or directory (in target 'ai_barcode_web' from project 'Pods')

[Web] Camera Switching?

How do i switch between multiple camera on mobile browser? For example switching between front, back, and between multiple back camera.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.