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

Issue running a default flutter project (counter) on the latest Flutter SDK version #658

Open
hermankravchenko-ama opened this issue Feb 5, 2024 · 8 comments

Comments

@hermankravchenko-ama
Copy link

Hello,

We have tried following Flutter SDK versions:

  1. 3.13.9
  2. 3.16.9
  3. 3.7.12

Default counter example. We compile build for Android (APK) with --debug or --profile.

Use the same code as in the node JS example and the issue is the following

"ext.flutter.driver" is not found in "extensionRPCs" ["ext.ui.window.scheduleFrame","ext.ui.window.reinitializeShader","ext.ui.window.impellerEnabled","ext.dart.io.getH
ttpEnableTimelineLogging","ext.dart.io.setHttpEnableTimelineLogging","ext.dart.io.httpEnableTimelineLogging","ext.dart.io.getSocketProfile","ext.dart.io.startSocketProfiling","ext.dart
.io.pauseSocketProfiling","ext.dart.io.socketProfilingEnabled","ext.dart.io.clearSocketProfile","ext.dart.io.getVersion","ext.dart.io.getHttpProfile","ext.dart.io.getHttpProfileRequest
","ext.dart.io.clearHttpProfile","ext.flutter.reassemble","ext.flutter.exit","ext.flutter.connectedVmServiceUri","ext.flutter.activeDevToolsServerAddress","ext.flutter.platformOverride
","ext.flutter.brightnessOverride","ext.flutter.timeDilation","ext.flutter.evict","ext.flutter.invertOversizedImages","ext.flutter.debugPaint","ext.flutter.debugPaintBaselinesEnabled",
"ext.flutter.repaintRainbow","ext.flutter.debugDumpLayerTree","ext.flutter.debugDisableClipLayers","ext.flutter.debugDisablePhysicalShapeLayers","ext.flutter.debugDisableOpacityLayers"
,"ext.flutter.debugDumpRenderTree","ext.flutter.debugDumpSemanticsTreeInTraversalOrder","ext.flutter.debugDumpSemanticsTreeInInverseHitTestOrder","ext.flutter.profileRenderObjectPaints
","ext.flutter.profileRenderObjectLayouts","ext.flutter.debugDumpApp","ext.flutter.debugDumpFocusTree","ext.flutter.showPerformanceOverlay","ext.flutter.didSendFirstFrameEvent","ext.fl
utter.didSendFirstFrameRasterizedEvent","ext.flutter.fastReassemble","ext.flutter.profileWidgetBuilds","ext.flutter.profileUserWidgetBuilds","ext.flutter.debugAllowBanner","ext.flutter
.inspector.structuredErrors","ext.flutter.inspector.show","ext.flutter.inspector.trackRebuildDirtyWidgets","ext.flutter.inspector.trackRepaintWidgets","ext.flutter.inspector.disposeAll
Groups","ext.flutter.inspector.disposeGroup","ext.flutter.inspector.isWidgetTreeReady","ext.flutter.inspector.disposeId","ext.flutter.inspector.setPubRootDirectories","ext.flutter.insp
ector.addPubRootDirectories","ext.flutter.inspector.removePubRootDirectories","ext.flutter.inspector.getPubRootDirectories","ext.flutter.inspector.setSelectionById","ext.flutter.inspec
tor.getParentChain","ext.flutter.inspector.getProperties","ext.flutter.inspector.getChildren","ext.flutter.inspector.getChildrenSummaryTree","ext.flutter.inspector.getChildrenDetailsSu
btree","ext.flutter.inspector.getRootWidget","ext.flutter.inspector.getRootWidgetSummaryTree","ext.flutter.inspector.getRootWidgetSummaryTreeWithPreviews","ext.flutter.inspector.getDet
ailsSubtree","ext.flutter.inspector.getSelectedWidget","ext.flutter.inspector.getSelectedSummaryWidget","ext.flutter.inspector.isWidgetCreationTracked","ext.flutter.inspector.screensho
t","ext.flutter.inspector.getLayoutExplorerNode","ext.flutter.inspector.setFlexFit","ext.flutter.inspector.setFlexFactor","ext.flutter.inspector.setFlexProperties"]

Any ideas if this plugin/driver is still supported on newer version of Flutter SDK? Is this something that will be supported longterm?

Thanks

@KazuCocoa
Copy link
Member

KazuCocoa commented Feb 6, 2024

It usually means the Flutter app does not contain ext.flutter.driver package.

In our next release, we will be planning to extend the deprecation policy to cover the flutter_driver package in addition to already supported packages, flutter and flutter_test.

https://medium.com/flutter/whats-new-in-flutter-3-16-dba6cb1015d1

So, I guess they no longer support the flutter_driver, which is used by this driver to communicate with Flutter. <- this was wrong. Still flutter team has the flutter_driver. But for the error message means the package is not in your app under test right now.

@hermankravchenko-ama
Copy link
Author

hermankravchenko-ama commented Feb 6, 2024 via email

@KazuCocoa
Copy link
Member

If you meant the integration_test package transition as this driver, then I have no good idea since I don't have much personal time to spend on this project. I guess it can but the behavior may not be the same with current behavior.

@hermankravchenko-ama
Copy link
Author

It usually means the Flutter app does not contain ext.flutter.driver package.

In our next release, we will be planning to extend the deprecation policy to cover the flutter_driver package in addition to already supported packages, flutter and flutter_test.

https://medium.com/flutter/whats-new-in-flutter-3-16-dba6cb1015d1

So, I guess they no longer support the flutter_driver, which is used by this driver to communicate with Flutter. <- this was wrong. Still flutter team has the flutter_driver. But for the error message means the package is not in your app under test right now.

We do have flutter driver as a dependency and initiated in the main. The commands that we used to build the APK is

flutter build apk --debug and flutter build apk --profile

github_1
github_2

@hermankravchenko-ama
Copy link
Author

Any thoughts @KazuCocoa

@KazuCocoa
Copy link
Member

No idea. Perhaps we need to take a look at Flutter repository. The error itself was ext.flutter.driver module was not loaded in the test package (usually), so module loading or around in Flutter team's update could affect.

@hermankravchenko-ama
Copy link
Author

@KazuCocoa Any updates here?

Just curious

@KazuCocoa
Copy link
Member

No. I don't work on this

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

2 participants