qr_code_tools icon indicating copy to clipboard operation
qr_code_tools copied to clipboard

Android error

Open lawlietop123 opened this issue 1 year ago • 5 comments

I found a problem in version 0.1.0 截圖 2024-05-20 下午3 24 47

andoird gradle plugin version error

lawlietop123 avatar May 20 '24 07:05 lawlietop123

I found a problem in version 0.1.0 截圖 2024-05-20 下午3 24 47

andoird gradle plugin version error

image

zhangyc avatar Jun 18 '24 09:06 zhangyc

  • What went wrong: The Android Gradle plugin supports only Kotlin Gradle plugin version 1.5.20 and higher. The following dependencies do not satisfy the required version: project ':qr_code_tools' -> org.jetbrains.kotlin:kotlin-gradle-plugin:1.4.31

same error

dipu-polygontech avatar Jun 20 '24 05:06 dipu-polygontech

Hi @dipu-polygontech , even i am also facing the same issue if you find the solution share it here.

VijaykumarTR005 avatar Jun 20 '24 10:06 VijaykumarTR005

Hi @dipu-polygontech , even i am also facing the same issue if you find the solution share it here.

nah, i have change packages, Now using mobile_scanner 5.1.1, analyzeImage function.

 MobileScannerController _controller = MobileScannerController();

  Future<String?> _scanQrCodeFromImage(File image) async {
    final barcodeFinder = await _controller.analyzeImage(image.path);

    if (barcodeFinder != null && barcodeFinder.barcodes.isNotEmpty) {
      return barcodeFinder.barcodes.first.rawValue;
    }

    return null;
  }

macdipu avatar Jun 20 '24 17:06 macdipu

Facing the same issue.

MuhammadUsamaSiddiqui avatar Oct 22 '24 11:10 MuhammadUsamaSiddiqui