Parameter format not correct - flutter run

Viewed 29613

Even when I run a new project in my device or emulator, during Assemble debug process a message appears in Debug Console 'Parameter Format not correct', but the app seems to run properly. when I add 1-2 dependencies/ plugins, countless redlines occurs in Debug Console... I don't know what is the reason and solution.

8 Answers

Sorry guys this happens every time you run a project build by the previous version of flutter... and this error is not a big deal... dont worry...

I have also faced the same issue. It started coming when I upgraded the flutter SDK to version 1.17.3. The easiest solution I can come up with is to downgrade the flutter SDK.

If you are using VS code then you easily switch between flutter SDKs from the bottom bar.

To add flutter SDK -
Goto file -> settings -> flutter SDK -> Add item
then you can give the path of other SDK.

If you are not using the VS code, change the path of SDK from environment variables.

If this doesn't work out, try changing the drive for SDK of flutter and android both.
Example- From D:\flutter to E:\flutter. I have not tried this but for my friend, it worked.

If none of these workes, just ignore this error. They might fix this in future upgrades.

it may be possible ,you have cloned the repo from github and trying to run on your local machine. just change the compileSdkVersion in android>app>build.gradle file, i was facing this issue and get it fixed now android { compileSdkVersion 30 }

I had the same issue, but it was fixed by running flutter doctor --android-licenses

I had the same issue try to change Your Environment variable path

If you're using VS Code, then you can try this process: Go to Settings -> Flutter SDK Paths -> click on Add Item. Then put the Flutter SDK location from your drive. For example: C:\Flutter\flutter_windows_2.5.2-stable\flutter. I hope it worked!!

Same problem, but it was fixed by running following command in terminal.

flutter doctor --android-licenses

I was facing this issue and get it fixed now. I just changed the compileSdkVersion in android>app>build.gradle file to 31, android { compileSdkVersion 31 }

Related