Код: Выделить всё
ERROR: Missing classes detected while running R8. Please add the missing classes or apply additional keep rules that are generated in .
ERROR: R8: Missing class android.window.BackEvent (referenced from: void io.flutter.view.FlutterView.startBackGesture(android.window.BackEvent) and 1 other context)
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':flutter_inappwebview:minifyReleaseWithR8'.
> A failure occurred while executing com.android.build.gradle.internal.tasks.R8Task$R8Runnable
> Compilation failed to complete
* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.
> Get more help at https://help.gradle.org.
Отсутствующий класс — android.window.BackEvent.
Как я могу решить проблему отсутствует класс android.window.BackEvent?
Существуют ли определенные правила хранения, которые мне нужно добавить, чтобы R8 не удалял необходимые классы?
Существует ли проблема совместимости между Flutter SDK, версиями Android SDK и Mesibo SDK, к которому мне нужно обратиться?
Подробнее здесь: https://stackoverflow.com/questions/787 ... lutter-sdk
Мобильная версия