phonegap-build / GAPlugin

Google Analytics Plugin
MIT License
170 stars 141 forks source link

Cannot call method 'addConstructor' of undefined GAPlugin.js:47 #51

Open koyan opened 10 years ago

koyan commented 10 years ago

Hi there,

On completely new installation of Cordova ( cordova -v gives: 3.4.0-0.1.0 )

On a completely new project, with only this plugin and the demo code, I get the following: Uncaught TypeError: Cannot call method 'addConstructor' of undefined GAPlugin.js:47

Any ideas what I am doing wrong or what I could do to fix it?

Thanks

Praveenram87 commented 10 years ago

Hai , I am having the Same Issue.My First Question - 1) Why should both versions(V2 and V3) of Analytics jar be present in the application ? 2) Why is the jar name not the same as Google V3 jar (libGoogleAnalyticsServices.jar)? 3) Also ,the package name of GAPlugin.java, should that not be com.adobe.plugins ? 4) Now I see the window.plugins is not having 'gaplugins' because of the above issue.Why? 5) Is this a stable version of GAPlugin?