andresperezmelo / print_bluetooth_thermal

Plugin para enviar bytes sin procesar a la impresora solo por ahora para Android
Other
27 stars 36 forks source link

there are duplicate classes from the Kotlin standard library in two different versions #26

Closed kentemman closed 1 year ago

kentemman commented 1 year ago
andresperezmelo commented 1 year ago

There are 2 packages with different kotlin versions, print_bluetooth_termal has version 1.8.0 and there is another package with version 1.5.30, try clearing the gradle cache. cd android ./gradlew clean.

Or try to find the package that has kotlin version 1.5.30 and update it.

Or try deactivating that version from gradle to see if it works.

 implementation ('org.jetbrains.kotlin:kotlin-stdlib:1.8.0') {
    exclude group: 'org.jetbrains.kotlin', module: 'kotlin-stdlib-jdk8'
}