forked from github/cordova-android
Add simple log for package name being deployed
This commit is contained in:
parent
40a740b45c
commit
e4ecbad3cb
1
bin/templates/cordova/lib/device.js
vendored
1
bin/templates/cordova/lib/device.js
vendored
@ -89,6 +89,7 @@ module.exports.install = function(target, buildResults) {
|
||||
var pkgName = manifest.getPackageId();
|
||||
var launchName = pkgName + '/.' + manifest.getActivity().getName();
|
||||
events.emit('log', 'Using apk: ' + apk_path);
|
||||
events.emit('log', 'Package name: ' + pkgName);
|
||||
|
||||
return Adb.install(resolvedTarget.target, apk_path, {replace: true})
|
||||
.catch(function (error) {
|
||||
|
1
bin/templates/cordova/lib/emulator.js
vendored
1
bin/templates/cordova/lib/emulator.js
vendored
@ -354,6 +354,7 @@ module.exports.install = function(givenTarget, buildResults) {
|
||||
};
|
||||
|
||||
events.emit('log', 'Using apk: ' + apk_path);
|
||||
events.emit('log', 'Package name: ' + pkgName);
|
||||
events.emit('verbose', 'Installing app on emulator...');
|
||||
|
||||
// A special function to call adb install in specific environment w/ specific options.
|
||||
|
Loading…
Reference in New Issue
Block a user