I'm making a simple camera preview project in ionic 3. I first added the platform with the command:
$ ionic cordova platform add android
Then when I try to run the project with:
$ ionic cordova run android
I tried removing the android platform and then again adding it but it doesn't work.