installing old deprecated version will resolve installing the same plugin:
$ cordova plugin add org.apache.cordova.camera
Notice: org.apache.cordova.camera has been automatically converted to cordova-plugin-camera to be fetched from npm. This is due to our old plugins registry shutting down.
Fetching plugin "cordova-plugin-camera" via npm
i've tried to install specific versions going backward, and found that v1.2.0 is the last version that works on android (v2.0.0 and up returns null)