android studio - Error: Current working directory is not a Cordova-based project -


when running code error cordova plugin add cordova-plugin-customurlscheme --variable url_scheme=ptw in cmd ,i getting error "error: current working directory not cordova-based project." why error coming.i unable fix it.here

http://i.stack.imgur.com/nmb0w.png please suggest me.thank in advance.

you have in project before launch

  • has .cordova directory, config.json inside.
  • has www directory, config.xml inside.
  • has platforms directory.

if update cordova

npm install -g cordova 

hopes !


Comments

Popular posts from this blog

authentication - Mongodb revoke acccess to connect test database -

r - Update two sets of radiobuttons reactively - shiny -

ios - Realm over CoreData should I use NSFetchedResultController or a Dictionary? -