When I ionic cordova build android --release
error coming
ios build success already, but android cannot build for me, first time fa
Normally, this error is the cordova plugins problem.
For my project is the weibosdk
plugin problem
I just remove my weibosdk plugin, and found a new latest plugin add in my project, then build success.
cordova plugin rm cordova-plugin-weibosdk
So when you meet this problem, type ionic cordova plugin list
to list what you add in your project, then check your plugin which out of date or other problem.
If you have other advices, please comment in this post. Thanks!
That is an issue with the facebook plugin. https://github.com/jeduan/cordova-plugin-facebook4/issues/507
Between builds, i remove the plugins, platforms and resources and re-generate everything.