Closed weiqilu closed 5 years ago
flutter clean
(sometimes helps)fast_qr_reader_view:
git:
url: git://github.com/facundomedica/fast_qr_reader_view.git
android/build.gradle
check
classpath 'com.android.tools.build:gradle:3.3.0'
classpath 'com.google.gms:google-services:4.2.0'
android/gradle.properties
, append
android.enableJetifier=true
android.useAndroidX=true
android/app/build.gradle
, under android {, make sure CompileSdkVersion
and targetSdkVersion
are at least 28
Mine works like a charm. I had been receiving same error as you, until I did the steps shown above... Hope it helps.
@jmeinlschmidt Thanks a lot for the detailed explanation! It works perfectly now! 👍
@weiqilu Glad to hear. Please close this issue if you don't have any further questions. 👏
Resolved!
I started a new Flutter project and followed the guide here exactly but continue to receive the following error when running on Android.
How can I resolve this?