Missing note: The file should be recompiled using Visual Studio
for the changes to take effect.
#11390
Open
1 task done
Labels
from.page-issue
Reported in a reader-filed concern
Page URL
https://docs.flutter.dev/platform-integration/platform-channels/
Page source
https://github.com/flutter/website/tree/main/src/content/platform-integration/platform-channels.md
Describe the problem
After completing Step 5 in the Flutter documentation, replace the code with the following:
You should now be able to run the application on Windows. If your device doesn't have a battery, it will display 'Battery level not available'.
Expected fix
i suggest adding at the end :
Note: To ensure the changes take effect, the project should be recompiled with Visual Studio. Otherwise, you may encounter an error saying: Failed to get battery level: Memory leak.
it's not mention that the
exe
should be recompiled usingVisual studio
again.also the error message of the leaking is very confusing.
Additional context
No response
I would like to fix this problem.
The text was updated successfully, but these errors were encountered: