From 783a27895634a6fcd128ac67cee41c7b9249da9e Mon Sep 17 00:00:00 2001 From: Florian Loitsch Date: Mon, 25 Jun 2018 16:12:06 +0200 Subject: [PATCH] Replace existing app if it already exists. (#18796) The `flutter attach` test was failing because the Android device had the app already installed. --- dev/devicelab/bin/tasks/flutter_attach_test.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev/devicelab/bin/tasks/flutter_attach_test.dart b/dev/devicelab/bin/tasks/flutter_attach_test.dart index e1333c7021..95a82200e8 100644 --- a/dev/devicelab/bin/tasks/flutter_attach_test.dart +++ b/dev/devicelab/bin/tasks/flutter_attach_test.dart @@ -102,7 +102,7 @@ void main() { section('Installing $apkPath'); - await device.adb(['install', apkPath]); + await device.adb(['install', '-r', apkPath]); try { section('Launching attach.');