Unverified Commit 09aa673b authored by Jason Simmons's avatar Jason Simmons Committed by GitHub

Revert "Disable selection of the Android ARM64 target platform based on the...

Revert "Disable selection of the Android ARM64 target platform based on the attached device" (#14650)

This reverts commit cdb581807cc11030b63d00c04bb2d55fcb3d7ef4.

Dart has been updated in the engine, and this workaround should no longer be necessary.

Fixes https://github.com/flutter/flutter/issues/14646
parent 2c05ecab
......@@ -366,11 +366,15 @@ class AndroidDevice extends Device {
return new LaunchResult.failed();
}
BuildInfo buildInfo = debuggingOptions.buildInfo;
if (buildInfo.targetPlatform == null && devicePlatform == TargetPlatform.android_arm64)
buildInfo = buildInfo.withTargetPlatform(TargetPlatform.android_arm64);
if (!prebuiltApplication) {
printTrace('Building APK');
await buildApk(
target: mainPath,
buildInfo: debuggingOptions.buildInfo,
buildInfo: buildInfo,
);
// Package has been built, so we can get the updated application ID and
// activity name from the .apk.
......
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