Relative Content

Tag Archive for androidfluttergradle

Flutter deferred components gradle build failed

I’m trying to build a flutter app with deferred components to implement a kind of plugin system for my mobile app. I’ve followed the steps on https://docs.flutter.dev/perf/deferred-components, and I’ve got to the point where I have copied all generated files into my project and the deferred components validation has passed. But when I run flutter build appbundle I get the following error in the ‘android/build.gradle’:

Flutter Failing to Install flutter-apkapp-debug.apk

So I am new to flutter development for Android on VSCode, and I have followed all of the steps on the official Flutter tutorial (all of https://docs.flutter.dev/get-started/install/windows/mobile?tab=later-start and till Step 5 of “Run Your Sample Flutter App) at https://docs.flutter.dev/get-started/test-drive). When I tried to run with debugging the sample app on VSCode, I get the following error message: