I have been racking my brain on this for a while now. I am developing an Android
app on Windows 7
in Cordova 3.4
and I can't get any of the non-core plugins to install (like Google Analytics
, Social Share
). I know that I have plugman, node, git, cordova, and the CLI installed because when I type them into a command prompt I get back a valid response. The Android SDK is working, and I have updated all of these modules and tried re-installing. Here is the error I receive when I try to install a plugin that is not part of Cordova core:
C:\Users\UserName\Desktop\hello>cordova plugin add https://github.com/danwilson/google-analytics-plugin.git
Fetching plugin "https://github.com/danwilson/google-analytics-plugin.git" via git clone
Error: Command failed: fatal: could not create work tree dir 'C:\Users\DAVIDH~1\AppData\Local\Temp\plugman\git\1397683376354'.: No such file or directory
I'm wondering if this is a PATH issue or not, though I have tried many solutions related to this. Your advice and guidance is greatly appreciated. Thanks!