andriyoganp / blue_print_pos

Helper to use bluetooth print in Android and iOS
Apache License 2.0
34 stars 76 forks source link

e: C:\flutter\.pub-cache\hosted\pub.dartlang.org\blue_print_pos- #45

Open SamadDev opened 2 years ago

SamadDev commented 2 years ago

e: C:\flutter.pub-cache\hosted\pub.dartlang.org\blue_print_pos-0.0.12\android\src\main\kotlin\com\ayeee\blue_print_pos\BluePrintPosPlugin.kt: (51, 62): Unresolved reference: R e: C:\flutter.pub-cache\hosted\pub.dartlang.org\blue_print_pos-0.0.12\android\src\main\kotlin\com\ayeee\blue_print_pos\BluePrintPosPlugin.kt: (52, 60): Unresolved reference: currentWindowMetrics e: C:\flutter.pub-cache\hosted\pub.dartlang.org\blue_print_pos-0.0.12\android\src\main\kotlin\com\ayeee\blue_print_pos\BluePrintPosPlugin.kt: (53, 98): Unresolved reference: Type

FAILURE: Build failed with an exception.

BUILD FAILED in 18s Exception: Gradle task assembleDebug failed with exit code 1

ashutosh-mulik commented 2 years ago

Upgrade your kotlin version to the latest.

Go to your build.gradle file in the root of your Android directory. As of the time of typing this, the latest is 1.6.10, so it should look like this:

ext.kotlin_version = '1.6.10'