Closed RommiPlus closed 5 years ago
the same problem to me.
Check these steps. It worked for me
https://github.com/apptreesoftware/flutter_barcode_reader/issues/71#issuecomment-468291746
I had the same issue, I fixed this by changing some lines in build.gradle files. I came to this solution from https://kotlinlang.org/docs/reference/using-gradle.html project level build.gradle:
//this has to do with kotlin androidX support, Kotlin supports androidX from version 1.3.x
//change this line
//ext.kotlin_version = '1.2.31'
//to
ext.kotlin_version = '1.3.30'
app level build.gradle:
//Change this line
//implementation "org.jetbrains.kotlin:kotlin-stdlib-jre7:$kotlin_version"
//to
implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
Hope it helps you too.
This helped me: https://github.com/flutter/flutter/issues/27254#issuecomment-468526704
I solved it by upgrading my gradle dependency in the android/build.gradle file: classpath 'com.android.tools.build:gradle:3.3.1' (I was previously on version 3.2.1)
for scan qr code, finally i use plugin to solve it. Thanks all.
I have cloned this project and run with android studio on android phone, but it can not build success. Error as below:
Anyone has problem like me? Please help me. Thanks.