Tuesday 30 May 2017

Error installing cordova plugin from npm in Android-Studio

I'm following the Phonegap tutorial Embedding the Webview from the official website using Android Studio link

When I try the steps

  • Go to Tools > PhoneGap > Install Plugin from npm
  • Type in cordova-plugin-device

I get this in the event log

10:21   Success!
            Command Output C:\nodejs\node.exe
            ExitCode: 0

10:21   Success!
            Command Output C:\Users\User\AppData\Roaming\npm\plugman
            C:\Users\User\AppData\Roaming\npm\plugman.cmd
            ExitCode: 0

10:21   Installing plugin : Please be patient…

10:21   Error!: Error installing plugin

What does this error depend on?



via Federico Rampazzo

No comments:

Post a Comment