From c9e7201058df0d01adbda27cf44344721d273a85 Mon Sep 17 00:00:00 2001 From: Joe Bowser Date: Tue, 2 Jun 2015 07:42:51 -0700 Subject: [PATCH] CB-9080: -d option is not supported on Android 4.1.1 and lower, removing --- bin/templates/cordova/lib/device.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/templates/cordova/lib/device.js b/bin/templates/cordova/lib/device.js index 069f5ad1..c13fdc40 100644 --- a/bin/templates/cordova/lib/device.js +++ b/bin/templates/cordova/lib/device.js @@ -98,7 +98,7 @@ module.exports.install = function(target, buildResults) { var launchName = appinfo.getActivityName(); console.log('Using apk: ' + apk_path); console.log('Installing app on device...'); - var cmd = 'adb -s ' + resolvedTarget.target + ' install -r -d "' + apk_path + '"'; + var cmd = 'adb -s ' + resolvedTarget.target + ' install -r "' + apk_path + '"'; return exec(cmd, os.tmpdir()) .then(function(output) { if (output.match(/Failure/)) return Q.reject('ERROR: Failed to install apk to device: ' + output);