Open jacob314 opened 1 year ago
Is it that the service extension doesn't exist or that we are calling it before it is registered?
It looks like we do register this service extension here: https://github.com/flutter/flutter/blob/master/packages/flutter/lib/src/widgets/widget_inspector.dart#L1006-L1013
What kind of app are you connecting DevTools to?
I have switched the channel of flutter to beta (3.16.0-0.4.pre) and connected to windows, but still have this issue.
Same Here.
I'm creating a Devtools Extension, in simulated env it works well, but when I deploy, it stops working on real environment. I can see the tab "Flutter Micro App", but it's not possible to enable it
DevTools version: 2.28.4 IDE: VSCode Connected Device: CPU / OS: arm64 (64 bit) android Connected app type: Flutter native (debug build) Dart Version: 3.2.3 Flutter Version: 3.16.5 / stable Framework / Engine: 78666c8dc5 / 3f3e560236
Log: {"level":"INFO","message":"DevTools version 2.28.4.","timestamp":"2024-01-15 14:34:56.760Z","loggerName":"framework_core"} {"level":"INFO","message":"Attempted to call extension 'ext.flutter.inspector.structuredErrors', but no service with that name exists","timestamp":"2024-01-15 14:34:56.938Z","loggerName":"service_extension_manager"} {"level":"WARNING","message":"DevTool's log level changed to FINEST","timestamp":"2024-01-15 14:35:34.472Z","loggerName":""}
Error screen
Expected screen
Repro: open DevTools.
flutter: Attempted to call extension 'ext.flutter.inspector.structuredErrors', but no service with that name exists