“package native binary” in the ionic pro dashboard failed:
…
$ cordova platform add android
Using cordova-fetch for cordova-android@6.2.3
Error: Failed to fetch platform cordova-android@6.2.3
Probably this is either a connection problem, or platform spec is incorrect.
Check your connection and platform name/version/URL.
Failed to get absolute path to installed module
cordova platform add android failed
…
which cordova-android versions (in package.json) are available for the package process?
Thanks for the feedback! The problem does not affect my local development environment but the “Package native binary” function of Ionic Pro and there I have no influence on the installed Android versions …
Interesting. Old builds of mine are also no longer working on Ionic Pro. I believe something is broken on Ionic Pro side. I’m going to raise it on the slack channel.
I believe this is related to their recent upgrade to Android-26.
I’ve registered ticket #8542 on ionic.zendesk.com regarding this failure with old build.
I’ll update here if I fix it.
So I’ve fixed this on my branch.
I ran rm -Rf plugins/* platforms/*
Made sure these are committed as empty in git ionic cordova plugin save ionic cordova prepare android
Make sure the package.json and config.xml are committed.
Doing these steps made my branches all start packaging again.