Ionic Pro : Build failed with an exception (Android first, iOS will see later)


Curious to see how my day ended :

FAILURE: Build failed with an exception.

* Where:
Script '/usr/src/app/platforms/android/onesignal-cordova-plugin/winogame-build-extras-onesignal.gradle' line: 1

* What went wrong:
A problem occurred evaluating script.
> /usr/src/app/platforms/android/app/AndroidManifest.xml (No such file or directory)

Very new to Ionic, I am pretty sure my mistake can be fixed by a child, but me I am lost in the sea :open_mouth:

There is some Heroes here for any suggestion, I am already an expert to type this kind of “things…?” (even if I don’t understand really what I do) :

ionic cordova prepare android
git add .
git commit -m "bla bla"
git push ionic master
npm update -g cordova
cordova platform list
npm outdated
cordova plugin remove cordova-plugin-ionic
cordova plugin add cordova-plugin-ionic --save --variable APP_ID="xxxxx" --variable CHANNEL_NAME="production" --variable UPDATE_METHOD="background"
ionic cordova platform rm android
ionic cordova platform add android
npm install -g cordova-check-plugins
sudo npm install -g cordova-check-plugins

Here, the full error log :

And now, we understand why developers are strong guys.

Thanks in advance in case you have time to save me :slight_smile: