I have an IONIC 3 application running normally when I run: ionic cordova run android
.
The problem is when I run ionic cordova run android --prod
of the following error:
When will you install the plugins by Ionic you are using the - save flag? Another thing that may be happening is a plugin not being available in the version of your platform. For example, in config.xml I was using version 6.1.2 of the android, and in the camera plugin, he said that the plugin only worked in > 6.3.0.
I had to update the version of my android: ionic cordova platform upgrade [email protected]
Note: The @ after 'android' was to specify the version I wanted to install.