blue_print_pos icon indicating copy to clipboard operation
blue_print_pos copied to clipboard

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

Open SamadDev opened this issue 3 years ago • 1 comments

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.

  • What went wrong: Execution failed for task ':blue_print_pos:compileDebugKotlin'.

Compilation error. See log for more details

  • Try: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

  • Get more help at https://help.gradle.org

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

SamadDev avatar Feb 18 '22 19:02 SamadDev

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'

ashutosh-mulik avatar Feb 19 '22 18:02 ashutosh-mulik