cordova-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bows...@apache.org
Subject android commit: CB-9080: -d option is not supported on Android 4.1.1 and lower, removing
Date Tue, 02 Jun 2015 14:43:46 GMT
Repository: cordova-android
Updated Branches:
  refs/heads/master 4bf705a3d -> c9e720105


CB-9080: -d option is not supported on Android 4.1.1 and lower, removing


Project: http://git-wip-us.apache.org/repos/asf/cordova-android/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-android/commit/c9e72010
Tree: http://git-wip-us.apache.org/repos/asf/cordova-android/tree/c9e72010
Diff: http://git-wip-us.apache.org/repos/asf/cordova-android/diff/c9e72010

Branch: refs/heads/master
Commit: c9e7201058df0d01adbda27cf44344721d273a85
Parents: 4bf705a
Author: Joe Bowser <bowserj@apache.org>
Authored: Tue Jun 2 07:42:51 2015 -0700
Committer: Joe Bowser <bowserj@apache.org>
Committed: Tue Jun 2 07:43:33 2015 -0700

----------------------------------------------------------------------
 bin/templates/cordova/lib/device.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-android/blob/c9e72010/bin/templates/cordova/lib/device.js
----------------------------------------------------------------------
diff --git a/bin/templates/cordova/lib/device.js b/bin/templates/cordova/lib/device.js
index 069f5ad..c13fdc4 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);


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org


Mime
View raw message