camera - Current working directory is not a cordova based project -


When adding the plugin to the Cordova Camera API, I am executing the command cordova plugin by adding org.apache.cordova.camera , But after the execution it is getting an error in CMD like 'current working directory is not a Cordova based project' did I leave nothing? Need help. Thank you.

You have not said how to create a project and for which you are trying to add the plugin .

The general steps are:

  1. Create a project

    Make $ Cordova Hello Example.hello HelloWorld

  2. In this case, go to the newly created project folder

    $ CD Hello

  3. Add your desired platform now

    Add $ Cordova Platform Android

  4. < P> Once a forum has been added, you can now add any plugin.

    $ Cordova plugin add org.apache.cordova.camera

    Note: < Strong> CLI Adds plugin code to the appropriate forum for each . If you want to develop with lower-level shell tools or platform SDK, you need to run the plug-in utility to add plug-ins separately for each platform. (For more information, see.)

Comments

Popular posts from this blog

java - ImportError: No module named py4j.java_gateway -

python - Receiving "KeyError" after decoding json result from url -

.net - Creating a new Queue Manager and Queue in Websphere MQ (using C#) -