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

error: cannot find symbol #83

Open
drashoor opened this issue Jan 2, 2025 · 5 comments
Open

error: cannot find symbol #83

drashoor opened this issue Jan 2, 2025 · 5 comments

Comments

@drashoor
Copy link

drashoor commented Jan 2, 2025

I have an error while run the app after upgrade to the latest version

[+3694 ms] C:\project\android\app\src\main\java\io\flutter\plugins\GeneratedPluginRegistrant.java:314: error: cannot find symbol

[ ] flutterEngine.getPlugins().add(new dev.fluttercommunity.plus.wakelock.WakelockPlusPlugin());

[ ] symbol: class WakelockPlusPlugin

[ +101 ms] location: package dev.fluttercommunity.plus.wakelock

[ ] 1 error

@drashoor drashoor changed the title I have error: cannot find symbol Jan 2, 2025
@hpsolver
Copy link

hpsolver commented Jan 3, 2025

same issue

@nytoan
Copy link

nytoan commented Jan 3, 2025

i had the same error, after doing

flutter clean

it worked

@diegotori
Copy link
Collaborator

Please run both flutter clean and flutter pub upgrade, since new library versions may also be using new wakelock_plus_platforn_interface versions. Thanks.

@drashoor
Copy link
Author

drashoor commented Jan 4, 2025

same after flutter clean & flutter pub upgrade ..

nothing changed..

Please run both flutter clean and flutter pub upgrade, since new library versions may also be using new wakelock_plus_platforn_interface versions. Thanks.

@diegotori
Copy link
Collaborator

In this case, I'll need a reproducible example project that attempts to build an Android app that uses this plugin.

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

4 participants