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:
-
Create a project
Make $ Cordova Hello Example.hello HelloWorld
-
In this case, go to the newly created project folder
$ CD Hello
-
Add your desired platform now
Add $ Cordova Platform Android
- < 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
Post a Comment