From f61dbffc3981406cb9eec92475cb1e3797215dff Mon Sep 17 00:00:00 2001 From: fzyzcjy Date: Fri, 23 Jun 2023 07:56:01 +0800 Subject: [PATCH] try to fix compile, not succeed #9614 https://github.com/flutter/gallery/issues/899#issuecomment-1427994192 --- android/build.gradle | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/android/build.gradle b/android/build.gradle index 28c4d9ff87..ddd62fe403 100644 --- a/android/build.gradle +++ b/android/build.gradle @@ -39,6 +39,15 @@ subprojects { lockAllConfigurations() } } + + // #9614, https://github.com/flutter/gallery/issues/899#issuecomment-1427994192 + afterEvaluate { + if (plugins.hasPlugin('com.android.library')) { + dependencies { + implementation "io.flutter:flutter_embedding_profile:+" + } + } + } } tasks.register("clean", Delete) {