From 3b248fdc111d1b25014ed723ac4a0bc4225f6461 Mon Sep 17 00:00:00 2001 From: Jason Simmons Date: Tue, 9 Oct 2018 09:45:46 -0700 Subject: [PATCH] Add a profile build type to the app template (#22837) This is required in order to support "flutter run --profile" --- .../android/host_app_common/app.tmpl/build.gradle.tmpl | 3 +++ 1 file changed, 3 insertions(+) diff --git a/packages/flutter_tools/templates/application/android/host_app_common/app.tmpl/build.gradle.tmpl b/packages/flutter_tools/templates/application/android/host_app_common/app.tmpl/build.gradle.tmpl index 3eb860c4cd..4346c046a0 100644 --- a/packages/flutter_tools/templates/application/android/host_app_common/app.tmpl/build.gradle.tmpl +++ b/packages/flutter_tools/templates/application/android/host_app_common/app.tmpl/build.gradle.tmpl @@ -14,6 +14,9 @@ android { } buildTypes { + profile { + initWith debug + } release { // TODO: Add your own signing config for the release build. // Signing with the debug keys for now, so `flutter run --release` works.