Closed juanhuerta closed 6 years ago
The stack trace in the error message indicates this error has arisen in the cordova-android
scripts, specifically:
platforms/android/cordova/node_modules/cordova-common/src/util/xml-helpers.js:180:27
From v5.0.0, this plugin is able to detect and use the correct manifest filepaths for both cordova-android@6
and cordova-android@7
.
Please check you are using the most recent version of the Cordova/Phonegap CLI (v8.0.0) - as you can see below, that works fine in my dev env:
That's very strange. After creating a new project using your same steps I can install the plugin. I'm using phonegap CLI 8.0.0 as you.
➜ test phonegap -v 8.0.0
So, I have the same CLI version, and same android version in both projects. What could it be?
Possible there's remnants of a previous cordova-android
platform version in the other project?
Try removing /Users/jc/Documents/Veteca/App/vetecaApp/node_modules
and then do:
cordova platform rm android --nosave && cordova platform add android --nosave
to rebuild the project.
I'm inclined to think it's a bug in either cordova
(CLI) or cordova-android
(platform) though.
I'm submitting a ... (check one with "x"):
Bug report
Current behavior:
cordova-custom-config@^5.0.2 with phonegap and cordova 7.0.0 don't find the correct AndroidManifest.xml path
The cordova version: