BlinkID / blinkid-flutter

ID scanning plugins for cross-platform apps built with Flutter.
80 stars 23 forks source link

Failed to build `Android app` after adding `blinkid_flutter` to dependencies! #32

Closed EhabSalah closed 2 years ago

EhabSalah commented 2 years ago

Could not resolve compiler classpath. Check if Kotlin Gradle plugin repository is configured in project ':app'.

FAILURE: Build failed with an exception.

BUILD FAILED in 29s Exception: Gradle task assembleProductionDebug failed with exit code 1

anjapenic commented 2 years ago

Hi @EhabSalah,

Thanks for reaching out and reporting this. We'll fix this in our next release - v5.16.0, which is expected by the end of the month. In the meantime, you can follow the instructions here - https://docs.gradle.org/7.4/dsl/org.gradle.api.artifacts.repositories.UrlArtifactRepository.html#org.gradle.api.artifacts.repositories.UrlArtifactRepository:allowInsecureProtocol to compile the app.

Best regards, Anja

kuhnroyal commented 2 years ago

The workaround does not help, since the repository is declared in the blinkid plugin. Currently unable to test or use the plugin except for manually editing the plugins build.gradle after each pub get.

krizaa commented 2 years ago

Hey, this is fixed in v5.18.0. Sorry for waiting a bit :) I'm closing this issue and if it persists, please reach out to us.