How to fix "Finished with error: Gradle task assembleDebug failed with exit code -1" error when i run flutter project

283

Open your android folder with the android studio it'll help you to find out whats the issue. also, check this answer too.

Share:
283
Rendra Prames
Author by

Rendra Prames

Updated on December 19, 2022

Comments

  • Rendra Prames
    Rendra Prames 12 months

    "Finished with error: Gradle task assembleDebug failed with exit code -1"

    I make a new basic flutter project, and I got this error when I run flutter doctor everything is well, no issues detected. I have tried flutter clean, and try to rebuild and the messages are the same. anyone can help me please to fix this problem.

    error:

    enter image description here

    Flutter doctor:

    enter image description here

    logcat:

    enter image description here

    device connected:

    enter image description here

    Module Window: enter image description here