Skip to content

Error: Unresolved reference: visibility #2

@jakthegr8

Description

@jakthegr8

I am getting the below error:

~/.pub-cache/hosted/pub.dartlang.org/intercom_plugin-0.1.5/android/src/main/kotlin/dev/lucaseduardo/intercom_plugin/IntercomPlugin.kt:
(191, 55): Unresolved reference: visibility
[ +2 ms] FAILURE: Build failed with an exception.
[ ] * What went wrong:
[ ] Execution failed for task ':intercom_plugin: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 26s

Flutter version:

Flutter 1.22.4 • channel stable • https://github.com/flutter/flutter.git
Framework • revision 1aafb3a8b9 (5 weeks ago) • 2020-11-13 09:59:28 -0800
Engine • revision 2c956a31c0
Tools • Dart 2.10.4

Intercom plugin version:
intercom_plugin: ^0.1.5

SDK versions:
minSdkVersion 24
targetSdkVersion 28

Dependecies:
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"

Stackover flow ref link:
https://stackoverflow.com/questions/56463883/toggling-visibility-in-kotlin-isvisible-unresolved-reference/56464337

Let me know to add anything etc?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions