-
Notifications
You must be signed in to change notification settings - Fork 241
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
NoSuchMethodError: the method 'toRawHandle' was called on null. #81
Comments
Note: This happens only on VSCode. Continuing after the first error:
BTW, I've inserted this on my App.kt file: After running a couple of times (and moving this initialization first thing in my flutter main), the first error doesn't occur anymore, but the second remains: I also have to write this:
|
Is your callbackDispatcher a top level function? |
That was the problem. Moving the function to public and outside the class made it work. |
AndroidManifest.xml:
App.kt as documentation suggests.
The text was updated successfully, but these errors were encountered: