mirror of
https://github.com/meteor/meteor.git
synced 2026-05-02 03:01:46 -04:00
Don't try to hack into AndroidManifest if Android is not requested
This commit is contained in:
@@ -803,7 +803,8 @@ var buildCordova = function (localPath, platforms, options) {
|
||||
}
|
||||
|
||||
// depending on the debug mode build the android part in different modes
|
||||
if (_.contains(project.getPlatforms(), 'android')) {
|
||||
if (_.contains(project.getPlatforms(), 'android') &&
|
||||
_.contains(platforms, 'android')) {
|
||||
var androidBuildPath = path.join(cordovaPath, 'platforms', 'android');
|
||||
var manifestPath = path.join(androidBuildPath, 'AndroidManifest.xml');
|
||||
|
||||
|
||||
Reference in New Issue
Block a user