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

  • SEARCH
  • Home
  • 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 8575995
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T19:49:23+00:00 2026-06-11T19:49:23+00:00

I created an android app (phonegap 2.0) and installed plugin: https://github.com/mgcrea/cordova-facebook-connect This line: in

  • 0

I created an android app (phonegap 2.0) and installed plugin: https://github.com/mgcrea/cordova-facebook-connect

This line: in res/xml/config.xml. The facebook-android-sdk.jar is under libs/ and added to build path.

My assets/www/ contains: https://github.com/mgcrea/cordova-facebook-connect/tree/master/samples/ios/www

When I compile it and run it on my Samsung 2.3 Infuse 4G, I get:


I/InputReader( 139): dispatchTouch::touch event's action is 1
I/InputDispatcher( 139): Delivering touch to current input target: action: 1, channel '40812958 com.example.milea/com.example.milea.MainActivity (server)'
V/webview (20224): singleCursorHandlerTouchEvent -getEditableSupport FASLE
W/System.err(20224): java.lang.ClassNotFoundException: org.apache.cordova.plugins.FacebookConnect
W/System.err(20224): at java.lang.Class.classForName(Native Method)
W/System.err(20224): at java.lang.Class.forName(Class.java:234)
W/System.err(20224): at java.lang.Class.forName(Class.java:181)
W/System.err(20224): at org.apache.cordova.api.PluginEntry.getClassByName(PluginEntry.java:103)
W/System.err(20224): at org.apache.cordova.api.PluginEntry.createPlugin(PluginEntry.java:78)
W/System.err(20224): at org.apache.cordova.api.PluginManager.getPlugin(PluginManager.java:255)
W/System.err(20224): at org.apache.cordova.api.PluginManager.exec(PluginManager.java:182)
W/System.err(20224): at org.apache.cordova.CordovaChromeClient.onJsPrompt(CordovaChromeClient.java:207)
W/System.err(20224): at android.webkit.CallbackProxy.handleMessage(CallbackProxy.java:602)
W/System.err(20224): at android.os.Handler.dispatchMessage(Handler.java:99)
W/System.err(20224): at android.os.Looper.loop(Looper.java:130)
W/System.err(20224): at android.app.ActivityThread.main(ActivityThread.java:3687)
W/System.err(20224): at java.lang.reflect.Method.invokeNative(Native Method)
W/System.err(20224): at java.lang.reflect.Method.invoke(Method.java:507)
W/System.err(20224): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:842)
W/System.err(20224): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:600)
W/System.err(20224): at dalvik.system.NativeStart.main(Native Method)
W/System.err(20224): Caused by: java.lang.NoClassDefFoundError: org.apache.cordova.plugins.FacebookConnect
W/System.err(20224): ... 17 more
W/System.err(20224): Caused by: java.lang.ClassNotFoundException: org.apache.cordova.plugins.FacebookConnect in loader dalvik.system.PathClassLoader[/data/app/com.example.milea-2.apk]
W/System.err(20224): at dalvik.system.PathClassLoader.findClass(PathClassLoader.java:240)
W/System.err(20224): at java.lang.ClassLoader.loadClass(ClassLoader.java:551)
W/System.err(20224): at java.lang.ClassLoader.loadClass(ClassLoader.java:511)
W/System.err(20224): ... 17 more
I/System.out(20224): Error adding plugin org.apache.cordova.plugins.FacebookConnect.
D/CordovaLog(20224): Error: Status=2 Message=Class not found
D/CordovaLog(20224): file:///android_asset/www/js/cordova-2.0.0.js: Line 938 : Error: Status=2 Message=Class not found
I/Web Console(20224): Error: Status=2 Message=Class not found at file:///android_asset/www/js/cordova-2.0.0.js:938
D/CordovaLog(20224): facebookConnect.login:"Class not found"
D/CordovaLog(20224): file:///android_asset/www/js/plugin.js: Line 5 : facebookConnect.login:"Class not found"
I/Web Console(20224): facebookConnect.login:"Class not found" at file:///android_asset/www/js/plugin.js:5
D/Cordova (20224): onPageFinished(file:///android_asset/www/index.html#)
D/CordovaWebView(20224): >>> loadUrlNow()
D/DroidGap(20224): onMessage(onNativeReady,null)

  • 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-06-11T19:49:25+00:00Added an answer on June 11, 2026 at 7:49 pm

    It’s looking for your FacebookConnect class to be in the org.apache.cordova.plugins namespace. Double-check that that’s what you have set for the package at the top of your FacebookConnect.java file.

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

Sidebar

Related Questions

i have created an app in android using JNI,NDKand phonegap Plugin fr android. Here
I've created one Android app with Phonegap. I want to hide default notification bar
I have created android phonegap app using html,css,javascript and jquery.When i hit the back
I have created an app for android using phonegap, but I am worried about
Trying to create a starter app with PhoneGap. I'm stuck on this line: navigator.device.capture.captureAudio(onSuccess,
I'm building an Android app using PhoneGap (aka Cordova), and am having trouble getting
I created a sencha touch 2/phonegap app that works fine on android, and needed
I created an android app to display a lot of images some of them
Possible Duplicate: How to list my app downloads I created an android app that
I created a native Android app that basically hosts a webView control. That webView

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.