
This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with.

(node:47898) UnhandledPromiseRejectionWarning: Unhandled promise rejection. (node:47898) UnhandledPromiseRejectionWarning: Error: ENOENT: no such file or directory, open '/Users/abdu/Downloads/deltasecurity/platforms/android/AndroidManifest.xml' Installing "cordova-android-support-gradle-release" for androidĪt Object.parseElementtreeSync (/Users/abdu/Downloads/deltasecurity/platforms/android/cordova/node_modules/cordova-common/src/util/xml-helpers.js:180:27)Īt new AndroidManifest (/Users/abdu/Downloads/deltasecurity/platforms/android/cordova/lib/AndroidManifest.js:29:20)Īt AndroidProject.getPackageName (/Users/abdu/Downloads/deltasecurity/platforms/android/cordova/lib/AndroidProject.js:99:12)Īt Api.addPlugin (/Users/abdu/Downloads/deltasecurity/platforms/android/cordova/Api.js:223:57)Īt handleInstall (/usr/local/lib/node_modules/cordova/node_modules/cordova-lib/src/plugman/install.js:594:10)Īt /usr/local/lib/node_modules/cordova/node_modules/cordova-lib/src/plugman/install.js:357:28Īt _fulfilled (/usr/local/lib/node_modules/cordova/node_modules/cordova-lib/node_modules/q/q.js:787:54)Īt (/usr/local/lib/node_modules/cordova/node_modules/cordova-lib/node_modules/q/q.js:816:30) Using cordova-fetch for Ĭreating Cordova project for the Android platform:Īndroid project created with sdkmanager -list | sed -e '/Available Packages/q' (command not found).android:targetSdkVersion in AndroidManifest.xml (file missing).ls platforms/android/.gradle not found at this path.cordova-plugin-x-socialsharing 5.4.0 "SocialSharing".cordova-plugin-whitelist 1.0.0 "Whitelist".cordova-plugin-statusbar 1.0.1 "StatusBar".cordova-plugin-splashscreen 2.1.0 "Splashscreen".cordova-plugin-network-information 1.0.1 "Network Information".cordova-plugin-inappbrowser 1.0.1 "InAppBrowser".cordova-plugin-dialogs 1.1.1 "Notification".cordova-android-support-gradle-release 1.4.2 "cordova-android-support-gradle-release".


Try to remove android platform then add android platform 7.1.0 When I run cordova platform remove android then cordova platform add the operation should finish without errors I have a cordova project, I want to upgrade android platform to latest version, which is 7.1.0, but when I run cordova platform remove android and then cordova platform add I get this errorįailed to install 'cordova-android-support-gradle-release': Error: ENOENT: no such file or directory, open '/Users/abdu/Downloads/deltasecurity/platforms/android/AndroidManifest.xml'
