Skip to content Skip to sidebar Skip to footer

Phonegap Class Not Found Error In Android

I am facing some problem with my PhoneGap(Android) application. So far I understand, I have done everything well. Here is what I have done. After creating a project in Eclipse, I

Solution 1:

I was having same issue before. I have just follow below steps and it starts working :

  • Go to Selected project's Properties
  • Go to java build path
  • Select 'Order and Export'
  • Enable all the checks (dependent projects)
  • Now just clean and run application again.

It works for me...

Solution 2:

Seems like you are missing config.xml in your apps res/xml directory. It is included as part of the phonegap distribution,at lib/android/res/xml/config.xml. Copy that file into your res/xml directory and you should be fine.

Solution 3:

I was facing the similar issue and today I found that in Javascript unless the deviceready event is called; the navigator, device etc remains undefined.

This thing is not mentioned in documentation.

Post a Comment for "Phonegap Class Not Found Error In Android"