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

Unresolved reference: setPluginRegistrant #1

Open
3n16maa opened this issue May 9, 2022 · 3 comments
Open

Unresolved reference: setPluginRegistrant #1

3n16maa opened this issue May 9, 2022 · 3 comments

Comments

@3n16maa
Copy link

3n16maa commented May 9, 2022

Hi @Amanullahgit

I'm trying to use a code
but I receive an error:
' Unresolved reference: setPluginRegistrant'
Could you please help me with that?

@Amanullahgit
Copy link
Owner

Hi @Amanullahgit

I'm trying to use a code

but I receive an error:

' Unresolved reference: setPluginRegistrant'

Could you please help me with that?

Paste in full error log

@Mufaddal5253110
Copy link

Mufaddal5253110 commented Jul 12, 2022

Same Error
`app\src\main\kotlin\com\example\appname\Application.kt:12:51: error: unresolved reference: setPluginRegistrant
FlutterFirebaseMessagingBackgroundService.setPluginRegistrant(this);
^

FAILURE: Build failed with an exception.

  • What went wrong:
    Execution failed for task ':app: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 7m 41s
Running Gradle task 'assembleDebug'... 464.6s
Exception: Gradle task assembleDebug failed with exit code 1`

@Mufaddal5253110
Copy link

Got an answer on stackoverflow for same, If any one is facing same issue than checkout below link
https://stackoverflow.com/questions/65408738/application-kt-unresolved-reference-firebasemessaging

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

3 participants