diff --git a/lib/common b/lib/common index 35330ab7a7..cd060a4537 160000 --- a/lib/common +++ b/lib/common @@ -1 +1 @@ -Subproject commit 35330ab7a7146ac9427051ffde5d65c1391602f3 +Subproject commit cd060a4537a99c34c5c71217ff162773439118ef diff --git a/lib/services/android-project-service.ts b/lib/services/android-project-service.ts index 16088ce9df..618d010985 100644 --- a/lib/services/android-project-service.ts +++ b/lib/services/android-project-service.ts @@ -313,6 +313,11 @@ export class AndroidProjectService extends projectServiceBaseLib.PlatformProject return (() => { let originalAndroidManifestFilePath = path.join(this.$projectData.appResourcesDirectoryPath, this.$devicePlatformsConstants.Android, this.platformData.configurationFileName); + let manifestExists = this.$fs.exists(originalAndroidManifestFilePath).wait(); + if(!manifestExists) { + this.$logger.warn('No manifest found in ' + originalAndroidManifestFilePath); + return; + } // Overwrite the AndroidManifest from runtime. this.$fs.copyFile(originalAndroidManifestFilePath, this.platformData.configurationFilePath).wait(); }).future()();