我试图在Flutter项目上运行/调试一些集成测试。当我在项目上运行“ flutter drive --target = test_driver / app.dart”时,我的测试运行良好。 我正在尝试按照StackOverflow答案中的以下步骤在Android Studio中创建调试配置: How to automate Flutter Integration testing command? 但是,当我尝试使用此配置运行测试时,出现以下错误
有关如何解决此问题的任何指示?
删除断点并清除Flutter并没有产生任何结果
00:00 +0: Flutter Driver demo (setUpAll)
[info ] FlutterDriver: Connecting to Flutter application at http://127.0.0.1:55319/L_Bm--V4Kjg=/
[trace] FlutterDriver: Isolate found with number: 283666305
[trace] FlutterDriver: Isolate is not paused. Assuming application is ready.
00:00 +0 -1: Flutter Driver demo (setUpAll) [E]
JSON-RPC error -32601 (method not found): Method not found
package:json_rpc_2/src/client.dart 110:64 Client.sendRequest
package:json_rpc_2/src/peer.dart 68:15 Peer.sendRequest
package:vm_service_client/src/scope.dart 64:23 Scope.sendRequestRaw