title: Flutter error - Exception: Gradle task assembleDebug failed with exit code -1
body: <p>I'm working on a Flutter Application Project.
  For a few days I have an issue when running my application. To test it, I create another project but issue is still present.</p>
  <p>I have this exception : Gradle task assembleDebug failed with exit code -1</p>
  <p><a href="https://i.stack.imgur.com/5rOyr.png" rel="nofollow noreferrer">Issue part 1</a>
  <a href="https://i.stack.imgur.com/dJbhe.png" rel="nofollow noreferrer">Issue part 2</a></p>
  <p>If someone has already encountered this problem or has any idea how to solve it i am really interested.</p>
  <p>Thanks in advance.</p>
  <p>----- UPDATE ----</p>
  <p>My issue came from antivirus program which removed my sdkmanager.bat.
  When I was doing &quot;flutter doctor&quot;, the license was always &quot;not accepted&quot; and after the command &quot;flutter doctor --android-licenses&quot; the sdkmanager was not found.</p>
  <p>Solution</p>
  <p>On Windows :</p>
  <p>do the command Windows + R</p>
  <p>Search msconfig</p>
  <p>Go to Services</p>
  <p>Hide Windows Services</p>
  <p>And find this famous antivirus</p>
  <p>To finish, reinstall sdk tools (I have the sdk command line tools (obsolete))</p>
  <p>I hope this will help you.</p>