The generated files created by Flutter Tooling do not work.
https://github.com/flutter/flutter/wiki/Add-Flutter-to-existing-apps
View sample project here -> https://github.com/searchy2/FlutterAndroid
Steps to Reproduce
- Create new Android project using Kotlin and targeting SDK v28.
- Follow the steps at "Add Flutter to existing apps"
- Build project. Flutter tooling generates .android files.
- Generated files cannot find android packages.

I think the issue is the generated Flutter build.gradle doesn't match the packages used by the generated files.
Flutter.java and FlutterFragment.java use android.arch.lifecycle components and the android.support.annotation package.

The generated build.gradle file does not import the correct packages.
