Made changes so cordova/build builds with the new project. Need to work on plugin installation.

This commit is contained in:
Joe Bowser
2017-04-11 13:47:40 -07:00
parent 8ead919fae
commit db87e0ae6a
7 changed files with 108 additions and 52 deletions
+1 -1
View File
@@ -85,7 +85,7 @@ module.exports.install = function(target, buildResults) {
return module.exports.resolveTarget(target);
}).then(function(resolvedTarget) {
var apk_path = build.findBestApkForArchitecture(buildResults, resolvedTarget.arch);
var manifest = new AndroidManifest(path.join(__dirname, '../../AndroidManifest.xml'));
var manifest = new AndroidManifest(path.join(__dirname, '../../app/src/main/AndroidManifest.xml'));
var pkgName = manifest.getPackageId();
var launchName = pkgName + '/.' + manifest.getActivity().getName();
events.emit('log', 'Using apk: ' + apk_path);