Title: After upgrade from Flutter 2 to Flutter 3 on running automation, my app immediately crash after launch
Tags: flutter;mobile;automation
Question: We try to run Automation with Webdriver.io, Appium and appium flutter driver.
After upgrade from Flutter 2 to Flutter 3 app is crash immediately after launch. It's happen on both Android and iOS (physical and simulator devices).
App release with Flutter 2 is work correctly.
Build command:
```flutter build apk --debug --target=./test_driver/build.dart
```
Run command:
``` npx wdio config/wdio.android.flutter.conf.js --spec tests/flutter_specs/app.test.spec.js
```
In Output get an error:
```DEBUG webdriver: request failed due to response error: unknown error
ERROR webdriver: Request failed with status 500 due to unknown error: An unknown server-side error occurred while processing the command. Original error: Cannot read property 'match' of undefined
ERROR webdriver: unknown error: An unknown server-side error occurred while processing the command. Original error: Cannot read property 'match' of undefined
```
I cleaned npm node modules and package.lock and it didn't help.
My dependencies from package.json:
&quot;dependencies&quot;:
```    &quot;@wdio/appium-service&quot;: &quot;^6.1.16&quot;,
    &quot;@wdio/cli&quot;: &quot;^6.1.24&quot;,
    &quot;@wdio/jasmine-framework&quot;: &quot;^6.1.23&quot;,
    &quot;@wdio/junit-reporter&quot;: &quot;^7.5.3&quot;,
    &quot;@wdio/local-runner&quot;: &quot;^6.1.24&quot;,
    &quot;@wdio/sauce-service&quot;: &quot;^6.1.16&quot;,
    &quot;@wdio/spec-reporter&quot;: &quot;^6.1.23&quot;,
    &quot;@wdio/sync&quot;: &quot;^6.1.14&quot;,
    &quot;appium&quot;: &quot;^1.21.0&quot;,
    &quot;appium-flutter-driver&quot;: &quot;0.0.4&quot;,
    &quot;appium-flutter-finder&quot;: &quot;^0.1.0&quot;,
    &quot;babel-eslint&quot;: &quot;^10.1.0&quot;,
    &quot;node-fetch&quot;: &quot;^2.6.0&quot;,
    &quot;webdriverio&quot;: &quot;^6.1.24&quot;
    },
    &quot;devDependencies&quot;: {
    &quot;npm-bundle&quot;: &quot;^3.0.3&quot;
    },
    &quot;bundledDependencies&quot;: [
    &quot;@wdio/appium-service&quot;,
    &quot;@wdio/cli&quot;,
    &quot;@wdio/jasmine-framework&quot;,
    &quot;@wdio/junit-reporter&quot;,
    &quot;@wdio/local-runner&quot;,
    &quot;@wdio/sauce-service&quot;,
    &quot;@wdio/spec-reporter&quot;,
    &quot;@wdio/sync&quot;,
    &quot;babel-eslint&quot;,
    &quot;node-fetch&quot;,
    &quot;webdriverio&quot;
    ]

 ### Update!!
```
We clone small flutter project with minimum dependencies: https://github.com/bitrise-dev/flutter-sample-app-hello-world
Before update to flutter 3 all works fine, but after it we get the same error mention before
Any help to solve the issue...

Comment: did you ever solve this issue?

Comment: Yes, i resolve this issue



{'source': 'StackExchangeDataset', 'subset': 'stackoverflow.com', 'metadata': {'AnswerCount': 0, 'CommentCount': 2, 'ContentLicense': 'CC BY-SA 4.0', 'CreationDate': '2022:00:07/15/22', 'FavoriteCount': None, 'PostTypeId': 1, 'Tags': '<flutter><mobile><automation>', 'Title': 'After upgrade from Flutter 2 to Flutter 3 on running automation, my app immediately crash after launch', 'ViewCount': 177, 'id': 72990252, 'user_AboutMe': '', 'user_AccountId': 16532183.0, 'user_DisplayName': 'Ilya', 'user_Reputation': 31.0, 'user_Views': 6.0, 'user_id': 11945099.0}}