Hi guys,
I’ve just updated my Ionic CLI by doing
npm install -g ionic
And now I can’t run my app anymore by doing
ionic cordova run android --verbose
It returns this error
No scripts found for hook "before_run".
No scripts found for hook "before_prepare".
Checking config.xml and package.json for saved platforms that haven't been added to the project
Config.xml and package.json platforms are the same. No pkg.json modification.
Package.json and config.xml platforms are different. Updating config.xml with most current list of platforms.
PlatformApi successfully found for platform android
Android Studio project detected
The platform "35729" does not appear to have been added to this project.
Error: The platform "35729" does not appear to have been added to this project.
at Object.getPlatformApi (C:\Users\Adam Gelineau\AppData\Roaming\npm\node_modules\cordova\node_modules\cordova-lib\src\platforms\platforms.js:46:15)
at C:\Users\Adam Gelineau\AppData\Roaming\npm\node_modules\cordova\node_modules\cordova-lib\src\cordova\prepare.js:53:38
at Array.map (<anonymous>)
at C:\Users\Adam Gelineau\AppData\Roaming\npm\node_modules\cordova\node_modules\cordova-lib\src\cordova\prepare.js:51:47
at _fulfilled (C:\Users\Adam Gelineau\AppData\Roaming\npm\node_modules\cordova\node_modules\q\q.js:854:54)
at C:\Users\Adam Gelineau\AppData\Roaming\npm\node_modules\cordova\node_modules\q\q.js:883:30
at Promise.promise.promiseDispatch (C:\Users\Adam Gelineau\AppData\Roaming\npm\node_modules\cordova\node_modules\q\q.js:816:13)
at C:\Users\Adam Gelineau\AppData\Roaming\npm\node_modules\cordova\node_modules\q\q.js:624:44
at runSingle (C:\Users\Adam Gelineau\AppData\Roaming\npm\node_modules\cordova\node_modules\q\q.js:137:13)
at flush (C:\Users\Adam Gelineau\AppData\Roaming\npm\node_modules\cordova\node_modules\q\q.js:125:13)
I don’t know what to do here, I don’t know what is “35729” platform…
Thanks 
EDIT 1:
Downgraded to 4.9.0 resolved the issue, how can we report that problem to the Ionic Team ?
. I upgraded from ionic 4.9.0 to 4.10.0 over the night and everything seemed to work fine after a few tests. Today I completely de- and re-installed nodejs (I know some kind of stupid action to drive myself crazy
) and I was searching everywhere for the last 3 hours. Thanks a lot!
. Thanks a lot 
