问题
This doesn’t affect my app, but this message always appears.
E/AccessibilityBridge: VirtualView node must not be the root node.
Does anyone know how to tell me how to fix this?
回答1:
This was a bug in flutter engine which is now fixed in beta channel and soon will be released in next stable release.
You should just ignore these errors if possible otherwise change your flutter channel by:
flutter channel beta
Edit:
If you are using Android Studio then you can filter log. Deselecting any other option other than "Info" will remove unwanted log.
回答2:
uninstall the app from the phone and then restart it and tap flutter clean
回答3:
For anyone that had the same error code and the app also not showing the most recent version you wrote in dart: The flutter clean command made everything work as expected again!
来源:https://stackoverflow.com/questions/60467374/e-accessibilitybridge-virtualview-node-must-not-be-the-root-node-flutter