Verify that your application is working well using "--dart-define-from-file" on your run command. Here an example with a custom launch config for VSCode if you are using that IDE (.launch.json file)
{
"name": "Android - DEV",
"request": "launch",
"type": "dart",
"program": "lib/main.dart",
"toolArgs": [
"--dart-define-from-file", ".env"
]
}
<-- Please describe your problem here. Be sure to include repro steps. -->
Create a file ".env" at the root path of your project
Edit your android/app/build.gradle file with this after the plugin section :
Still on the build.gradle file, edit the application id defaultConfig like that :
Verify that your application is working well using "--dart-define-from-file" on your run command. Here an example with a custom launch config for VSCode if you are using that IDE (.launch.json file)
Result: Unable to load deep link validator tool.
Reference screen shots:
DevTools version: 2.40.2