diff --git a/packages/flutter_tools/lib/src/commands/drive.dart b/packages/flutter_tools/lib/src/commands/drive.dart index 906972db85..5e9156fa02 100644 --- a/packages/flutter_tools/lib/src/commands/drive.dart +++ b/packages/flutter_tools/lib/src/commands/drive.dart @@ -20,7 +20,6 @@ import '../device.dart'; import '../globals.dart'; import '../ios/simulators.dart' show SimControl, IOSSimulatorUtils; import '../resident_runner.dart'; -import 'build_apk.dart' as build_apk; import 'run.dart'; /// Runs integration (a.k.a. end-to-end) tests. @@ -263,16 +262,6 @@ Future _startApp(DriveCommand command) async { return null; } - // TODO(devoncarew): We should remove the need to special case here. - if (command.device is AndroidDevice) { - printTrace('Building an APK.'); - await build_apk.buildApk( - command.device.platform, - target: command.targetFile, - buildMode: command.getBuildMode() - ); - } - printTrace('Stopping previously running application, if any.'); await appStopper(command);