Reputation: 1
When I execute the command flutter run
in the terminal to debug my project then it generates the apk and runs on the android device but only shows a black screen (although I believe I have proper project code).
I tried this with 2 separate projects but I keep running into the same problem. While debugging I get 3 warnings but I do not believe these are the main problem because in the past I debugged my projects while these warning were there. Many of the lines appear with the words "Bridge call failed" in each one. What does this mean and could it be the cause of the error?
Upvotes: -3
Views: 61
Reputation: 1
Here is a list of things that may help.
flutter doctor
main.dart
and other dart files for errorsflutter run -v
and look for errors in the log output (e.g., missing assets, build failures, or runtime errors).flutter clean
then repeat step 3.flutter pub get
to get the package's dependencies then repeat step 3.Upvotes: 0