Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

flutter: parameter format not correct

I am new to Flutter and today I've been stuck to one problem. I cannot debug my app because it says parameter format not correct

Parameter format not correct -

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':app:packageDebug'.
> Several variant outputs are configured to use the same file name "resources-debug.ap_", filters : MAIN:MAIN

Here's my flutter doctor

Doctor summary (to see all details, run flutter doctor -v):
[√] Flutter (Channel stable, v1.17.5, on Microsoft Windows [Version 10.0.18362.900], locale en-US)
 
[!] Android toolchain - develop for Android devices (Android SDK version 28.0.3)
    ! Some Android licenses not accepted.  To resolve this, run: flutter doctor --android-licenses
[!] Android Studio (version 3.4)
    X Flutter plugin not installed; this adds Flutter specific functionality.
    X Dart plugin not installed; this adds Dart specific functionality.
[√] VS Code (version 1.46.1)
[!] Connected device
    ! No devices available

! Doctor found issues in 3 categories.

I've looked for answers everywhere and they didn't work for my case. Most of the solutions are suggesting to change environment path. This is my path: C:\src\flutter\bin note: I'm using VSCode

Please help.. thank you!

like image 589
ella Avatar asked Aug 30 '25 17:08

ella


1 Answers

This error occurred because of the app level Gradle.file minSdkVersion property is less than 20 or the targetSdkVersion property is less than 30.

It may work for you. In my case, it works perfectly.

minSdkVersion : 20

targetSdkVersion : 30

like image 88
akshay dilod Avatar answered Sep 02 '25 09:09

akshay dilod