Open claudiodriussi opened 1 year ago
Was this issue solved. I have opted to use blue_thermal_printer ^1.2.3
Remember to refactor your build.gradle (Module: bluetooth_thermal_printer). The error probably arises from there.
Was this issue solved. I have opted to use blue_thermal_printer ^1.2.3
Yes, I will try. But I solved with flutter_bluetooth_printer which raises a warning, but has all java source code so will be recompiled with the flutter app.
Had the same issue, I updated this part of my build.gradle to solve the error.
dependencies { classpath 'com.android.tools.build:gradle:7.2.0' classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version" }
Before i had
dependencies { classpath 'com.android.tools.build:gradle:7.3.0' classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version" }
Somehow changing from gradle:7.3.0
to gradle:7.2.0
fixes the issue if you already have ext.kotlin_version
> '1.5.20'
Use the following with the latest gradle:
bluetooth_thermal_printer: git: url: https://github.com/Rajath4/BluetoothThermalPrinter ref: 7abaebaf191b9dee8399f72ea4777c95cc5e194c
Describe the bug I can't upgrade my gradle version because i got:
If I compile with a less recent version of gradle I get:
For now it works, but may be not i future. Can you solve the issue?
Many thanks, Claudio Driussi