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
This commit is contained in:
parent
2c05ecab9f
commit
09aa673b1d
@ -366,11 +366,15 @@ class AndroidDevice extends Device {
|
|||||||
return new LaunchResult.failed();
|
return new LaunchResult.failed();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
BuildInfo buildInfo = debuggingOptions.buildInfo;
|
||||||
|
if (buildInfo.targetPlatform == null && devicePlatform == TargetPlatform.android_arm64)
|
||||||
|
buildInfo = buildInfo.withTargetPlatform(TargetPlatform.android_arm64);
|
||||||
|
|
||||||
if (!prebuiltApplication) {
|
if (!prebuiltApplication) {
|
||||||
printTrace('Building APK');
|
printTrace('Building APK');
|
||||||
await buildApk(
|
await buildApk(
|
||||||
target: mainPath,
|
target: mainPath,
|
||||||
buildInfo: debuggingOptions.buildInfo,
|
buildInfo: buildInfo,
|
||||||
);
|
);
|
||||||
// Package has been built, so we can get the updated application ID and
|
// Package has been built, so we can get the updated application ID and
|
||||||
// activity name from the .apk.
|
// activity name from the .apk.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user