Skip to content
This repository has been archived by the owner on Oct 24, 2022. It is now read-only.

Unable to install cordova-facebook-4 plugin with android 7.0.0 #611

Closed
imromec opened this issue Jan 14, 2018 · 4 comments
Closed

Unable to install cordova-facebook-4 plugin with android 7.0.0 #611

imromec opened this issue Jan 14, 2018 · 4 comments

Comments

@imromec
Copy link

imromec commented Jan 14, 2018

_NEED HELPPPPP!!!

Failed to install ‘cordova-plugin-facebook4’: Error: ENOENT: no such file or directory, open '/Applications/XAMPP/xamppfiles/htdocs/<app_name>/platforms/android/AndroidManifest.xml’
at Error (native)
at Object.fs.openSync (fs.js:640:18)
at Object.fs.readFileSync (fs.js:508:33)
at Object.parseElementtreeSync (/Applications/XAMPP/xamppfiles/htdocs/ratnasangh/platforms/android/cordova/node_modules/cordova-common/src/util/xml-helpers.js:180:27)
at new AndroidManifest (/Applications/XAMPP/xamppfiles/htdocs/ratnasangh/platforms/android/cordova/lib/AndroidManifest.js:29:20)
at AndroidProject.getPackageName (/Applications/XAMPP/xamppfiles/htdocs/ratnasangh/platforms/android/cordova/lib/AndroidProject.js:99:12)
at Api.addPlugin (/Applications/XAMPP/xamppfiles/htdocs/<app_name>/platforms/android/cordova/Api.js:223:57)
at handleInstall (/usr/local/lib/node_modules/cordova/node_modules/cordova-lib/src/plugman/install.js:594:10)
at /usr/local/lib/node_modules/cordova/node_modules/cordova-lib/src/plugman/install.js:357:28
at fulfilled (/usr/local/lib/node_modules/cordova/node_modules/cordova-lib/node_modules/q/q.js:787:54)
(node:7823) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1): Error: ENOENT: no such file or directory, open ‘/Applications/XAMPP/xamppfiles/htdocs/<app_name>/platforms/android/AndroidManifest.xml’

@peterpeterparker
Copy link
Collaborator

Duplicate of #599

@imromec
Copy link
Author

imromec commented Jan 14, 2018

Cordova version: 8.0.0, Ionic version: 3.19.0, Android Version: 7.0.0

@kevin-lot
Copy link

kevin-lot commented Jan 31, 2018

Considerer this pull request #601.
Some paths in android project structure are changed.

@peterpeterparker
Copy link
Collaborator

In case of conflict with the Android SDK version, see for example #550

In case of conflict with cordova-android@7 see Android Guide

For support questions plz use other channels like Stackoverflow or Ionic forum

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants