VS Code: problems with text appearing in emulator for flutter app

53 views Asked by At

I'm a trainee in a really small company, so I don't have much experience and currently I'm having trouble with the android emulator during a test with VS Code in which text doesn't appear, also I didn't create the project, they just gave me access to it and they created it using flutterflow, so I don't know if that matters.

Problem:

enter image description here

Expected:

enter image description here

The expected image was taken from bluestacks and that works well, also I launch it in my own phone and it also works there.

I imagine it has something to do with the Android build.gradle since this appears in the debug console during test:

Launching lib\main.dart on sdk gphone64 x86 64 in debug mode...
You are applying Flutter's app_plugin_loader Gradle plugin imperatively using the apply script method, which is deprecated and will be removed in a future release. Migrate to applying Gradle plugins with the declarative plugins block: https://flutter.dev/go/flutter-gradle-plugin-apply

You are applying Flutter's main Gradle plugin imperatively using the apply script method, which is deprecated and will be removed in a future release. Migrate to applying Gradle plugins with the declarative plugins block: https://flutter.dev/go/flutter-gradle-plugin-apply

I already tried the link the output gives (https://docs.flutter.dev/release/breaking-changes/flutter-gradle-plugin-apply) but that completely destroys the project, and it stops working altogether and honestly I'm completely lost.

0

There are 0 answers