mintware-de / flutter_barcode_reader

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

Could not resolve org.jetbrains.kotlin:kotlin-gradle-plugin:1.3.61. #193

Closed cvanderhaar closed 4 years ago

cvanderhaar commented 4 years ago

Could not resolve org.jetbrains.kotlin:kotlin-gradle-plugin:1.3.61.

cvanderhaar commented 4 years ago

Trying to use this i my flutter app but keep getting this error and followed your solution on the git page...what else can it be please

devtronic commented 4 years ago

Maybe gradle isn't in sync. Try to open the Android Module directly in Android Studio and built it there. (https://flutter.dev/docs/development/tools/android-studio#android-ide)

cvanderhaar commented 4 years ago

Will try that and come back to you

cvanderhaar commented 4 years ago

Getting the below error now: The Android Gradle plugin supports only Kotlin Gradle plugin version 1.3.10 and higher. The following dependencies do not satisfy the required version: project ':barcode_scan' -> org.jetbrains.kotlin:kotlin-gradle-plugin:1.2.51

devtronic commented 4 years ago

The plugin was updated in the current dev release: https://pub.dev/packages/barcode_scan/versions/3.0.0-dev.1