Unverified Commit 114150b7 authored by Emmanuel Garcia's avatar Emmanuel Garcia Committed by GitHub

Don't add x86 nor x64 when building a local engine in debug mode (#44302)

parent d2e87a5d
......@@ -220,7 +220,7 @@ class FlutterPlugin implements Plugin<Project> {
List<String> platforms = getTargetPlatforms().collect()
// Debug mode includes x86 and x64, which are commonly used in emulators.
if (flutterBuildMode == "debug") {
if (flutterBuildMode == "debug" && !useLocalEngine()) {
platforms.add("android-x86")
platforms.add("android-x64")
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment