title: Flutter app stops on launch when Firebase Analytics is added
body: <p>I create an app using <code>flutter create --org com.myorganisation --project-name myProjectName myAppName</code>. By default, at the time of writing, it generates a Flutter project with the native parts written in Kotlin and Swift.</p>
  
  <p>Everything is going fine -- I can launch the default app in Android on a real device. Then I start to get Firebase set up in the project. Following the instructions at <a href="https://firebase.google.com/docs/flutter/setup" rel="nofollow noreferrer">https://firebase.google.com/docs/flutter/setup</a>, I modify the project level and app level <code>build.gradle</code>, and add the relevant plugins to <code>pub spec.yaml</code>.</p>
  
  <p>With <code>firebase_core</code> installed, the Android app still launches, but as soon as I add <code>firebase_analytics: ^5.0.6</code>, it stops on launch with no information in the Debug console and the Dart Dev Tools unavailable.</p>