bluetooth_print
bluetooth_print copied to clipboard
Run time error
A problem occurred evaluating project ':bluetooth_print'.
Could not find method compile() for arguments [file collection] on object of type org.gradle.api.internal.artifacts.dsl.dependencies.DefaultDependencyHandler.
also seeing this @thon-ju any update?
@Tanvirul-swe I found the fix.
start by running flutter clean
go to the build.gradle for this package for me the path was
/Users/shubh/dev/flutter/.pub-cache/hosted/pub.dartlang.org/bluetooth_print-3.0.1/android/build.gradle
and delete lines 27 - 30. the section below
defaultConfig {
minSdkVersion 21
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
}
then under dependencies where it say says compile files ...
replace that with implementation files...