Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
SamadDev opened this issue Feb 18, 2022 · 1 comment
Open

Comments

@SamadDev
Copy link

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

@ashutosh-mulik
Copy link

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'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants