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

RESOLVIDO - Erro ao executar projeto (FATAL EXCEPTION: main)

RESOLVIDO.

Podem me ajudar? Usando o ambiente windows, ao executar os passos abaixo na linha de comando é exibida a seguinte mensagem de erro:

C:\cursoflutter\projeto\bytebank>flutter emulators 1 available emulator:

Pixel_3a_API_30_x86 • Pixel_3a_API_30_x86 • Google • android

To run an emulator, run 'flutter emulators --launch '. To create a new emulator, run 'flutter emulators --create [--name xyz]'.

You can find more information on managing emulators at the links below: https://developer.android.com/studio/run/managing-avds https://developer.android.com/studio/command-line/avdmanager

C:\cursoflutter\projeto\bytebank>flutter emulators --launch Pixel_3a_API_30_x86

C:\cursoflutter\projeto\bytebank>flutter run Using hardware rendering with device sdk gphone x86 arm. If you notice graphics artifacts, consider enabling software rendering with "--enable-software-rendering". Launching lib\main.dart on sdk gphone x86 arm in debug mode... Checking the license for package Android SDK Build-Tools 29.0.2 in C:\Users\lmariz\AppData\Local\Android\sdk\licenses License for package Android SDK Build-Tools 29.0.2 accepted. Preparing "Install Android SDK Build-Tools 29.0.2 (revision: 29.0.2)". "Install Android SDK Build-Tools 29.0.2 (revision: 29.0.2)" ready. Installing Android SDK Build-Tools 29.0.2 in C:\Users\lmariz\AppData\Local\Android\sdk\build-tools\29.0.2 "Install Android SDK Build-Tools 29.0.2 (revision: 29.0.2)" complete. "Install Android SDK Build-Tools 29.0.2 (revision: 29.0.2)" finished. Running Gradle task 'assembleDebug'... Running Gradle task 'assembleDebug'... Done 215,8s √ Built build\app\outputs\flutter-apk\app-debug.apk. Installing build\app\outputs\flutter-apk\app.apk... 289,5s E/AndroidRuntime(10215): FATAL EXCEPTION: main E/AndroidRuntime(10215): PID: 10215 E/AndroidRuntime(10215): DeadSystemException: The system died; earlier logs will point to the root cause E/AndroidRuntime(10172): FATAL EXCEPTION: main E/AndroidRuntime(10172): Process: com.google.android.gms.persistent, PID: 10172 E/AndroidRuntime(10172): DeadSystemException: The system died; earlier logs will point to the root cause

Obrigado.

1 resposta
solução!

RESOLVIDO.