Marc Dietmann
Marc Dietmann

Reputation: 57

Can't start flutter project on android emulator

So I'm currently working on a flutter app in android studio. My problems begins when I want to display it on an android emulator. First of all the ads is never locatable (I found a work-around). And when I try to run the project this is the problem:

enter image description here

Easy approach would be to delete android studio and pull a new intact version, but that's not how I want to solve this problem. Can someone help me interpret this error message and solve this problem?

Upvotes: 0

Views: 159

Answers (1)

Julian Jungnitz
Julian Jungnitz

Reputation: 51

Your Problem could have something to do with the firebase bom version your are using, leading to a crash when requesting a FCM token. Try changing your "com.google.firebase:firebase-bom:28.0.1" in app/build.gradle to com.google.firebase:firebase-bom:27.0.0.

Upvotes: 2

Related Questions