Solucionado (ver solução)
Solucionado
(ver solução)
1
resposta

Erro ao debbugar

Gente, alguém pode me auxiliar a resolver esse erro: Warning: This version only understands SDK XML versions up to 3 but an SDK XML file of version 4 was encountered. This can happen if you use versions of Android Studio and the command-line tools that were released at different times. /C:/flutter/packages/flutter/lib/src/widgets/basic.dart:1946:1: Error: Expected a class member, but got ''''. '' ^^ Target kernel_snapshot failed: Exception

FAILURE: Build failed with an exception.

  • What went wrong: Execution failed for task ':app:compileFlutterBuildDebug'.

    Process 'command 'C:\flutter\bin\flutter.bat'' finished with non-zero exit value 1

  • Try:

    Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

  • Get more help at https://help.gradle.org

BUILD FAILED in 28s Error: Gradle task assembleDebug failed with exit code 1

1 resposta
solução!

Consegui ajeitar