So, I managed to make it work finally… I will write those informations in case it can help other developpers.
first I deleted the package-lock.json as it contains outdated information.
By default, this new ionic cordova defaults cordova-android to 6.3.0, this creates compatibility problems, so I had to manually specify in package.json “cordova-android”: “6.2.3”, I have to specify it everytime I remove the platform since auto --save during platform remove with the new CLI removes this information.
after that, a shot of npm install will install the missing packages
after that, I had to manually download the archives of my plugins that would not download anymore for some reason, I unzipped them, put the folders into my project’s root, and reference them with plugin name=“myplugin” spec="./mypluginfolder" in config.xml and “myplugin”: “./mypluginfolder”, in package.json
after that I managed to install the platform correctly, I have it says target 25 during platform installation, hopefully this is a bug of the new CLI (great…) as it actually installs the correct target 22 platform.
after that a shot of ionic cordova run android --prod --debug (or release) detects the active emulators and correctly launches the app without errors (except for some ionic-cloud related stuff, I’ll dig into that in a moment)
what a ride. hopefully I didn’t miss any steps