Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7577603
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T17:13:47+00:00 2026-05-30T17:13:47+00:00

Good evening, I am currently developing an application for android using phonegap and sencha

  • 0

Good evening,
I am currently developing an application for android using phonegap and sencha touch 1.1.
I am having trouble with the GoogleAnalyticsTracker plugin for Android. I followed all the instructions on github on how to import the necessery code for the plugin to work but I am having trouble with initialization.

In my plugins.xml I have added the following line:
< plugin name="Analytics" value="com.phonegap.plugins.analytics.GoogleAnalyticsTracker" />

As indicated in the readme.md file in github. I also added the GoogleAnalyticsTracker.java file inside com/phonegap/plugins/analytics and referenced the js file in my html… every thing seems to work fine except the part where I call the start method with my account id… The method returns the failure callback with error ‘Class not found’. any ideas why phonegap cannot find the class specified in the xml?

if you need more info on this please do not hesitate to ask.

Thank you in advance!

PS. i am using phonegap 1.4.1

-L_Sonic

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-30T17:13:48+00:00Added an answer on May 30, 2026 at 5:13 pm

    I took a look at the src and I see that the PhoneGap.exec calls in analytics.js does not match the plugin name. You have two ways to fix this.

    1. In plugins.xml make the plugin line:

      <plugin name=”GoogleAnalyticsTracker” value=”com.phonegap.plugins.analytics.GoogleAnalyticsTracker”/>

    2. Or in analytics.js replace all instances of ‘GoogleAnalyticsTracker’ with ‘Analytics’

    This is a bug in the way the code is setup in github. You should message the author to get them to fix it.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Good evening. I'm developing an android application that uses Facebook SDK. I've no problem
Good evening, In my app that I'm currently developing, I have a class that
Good evening everyone. I am currently using MVC 3 and I have a viewmodel
Good evening, I'm having trouble with model binding and validation but I don't know
Good morning/afternoon/evening, Internet. I am currently developing a wap game and have encountered a
Good evening! I'm currently in the first stages of development with a new application
Good evening everyone. I am puzzling over the oddity that the jQuery Marquee plugin
Good evening, I am working on a program where some application config info is
Good evening, I am developing a set of Java classes so that a container
Good evening everyone, I am using a JavaScript to load/override content from an HTML-File

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.