mintware-de / flutter_barcode_reader

A flutter plugin for reading 2D barcodes and QR codes.
MIT License
628 stars 462 forks source link

Error Compiling with barcode_scan: 1.0.0 #137

Closed richardcarmichael closed 5 years ago

richardcarmichael commented 5 years ago

I get the following error messages when I compile with barcode scanner 1.0.0:

_FAILURE: Build failed with an exception.

Works fine with version 0.0.8 but I need the AndroidX support.

YeDaxia commented 5 years ago

I meet the same problem.

I change the kotlin version as the same as this project, the error pass off.

ext.kotlin_version = '1.3.20'
richardcarmichael commented 5 years ago

Thanks YeDaxia - Fixed it by updating and adding the dependencies used in the project

dependencies { classpath 'com.android.tools.build:gradle:3.3.1' classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:1.3.20" }