Skip to content Skip to sidebar Skip to footer

Ionic 3 : Android Add Platform Fails After Installing Cordova-plugin-camera And Native Web-intent

And first of all, thank you for the time you'll take to help me! Summary: Tried to add the cordova-plugin-camera to my ionic 3 project. After many fails and finally a success, now

Solution 1:

in ionic3 you don't need to add platform

you just run ionic cordova run android it automaticaly addeds it

also this is wrong command their is no such command as far as i know

cordova platform add android --save // wrong command

right one

ionic cordova run android // right command directly add platform and run 

Solution 2:

Tip: Open the android project in Android Studio. You might find a more helpful error stack there.

I had the same issue and found out, that the manifest could not be read because of the following line in my config.xml.

<preferencename="Orientation"value="all" />

Solution 3:

Same thing happned with me for ionic keyboard and i ran below command

To remove the plugin, run the code: cordova plugin remove ionic-plugin-keyboard

And after that removed android platform and added again. It run like a charm now :) Hope it will help someone.

Post a Comment for "Ionic 3 : Android Add Platform Fails After Installing Cordova-plugin-camera And Native Web-intent"