Monday, 15 July 2013

Facebook processing error in android -



Facebook processing error in android -

when start apps it's crashed. follow link: https://developers.facebook.com/docs/android/getting-started

my error:

10-19 07:19:32.176: w/dalvikvm(2607): vfy: unable find class referenced in signature (landroid/support/v4/app/fragment;) 10-19 07:19:32.176: w/dalvikvm(2607): vfy: unable find class referenced in signature (landroid/support/v4/app/fragment;) 10-19 07:19:32.176: w/dalvikvm(2607): vfy: unable find class referenced in signature (landroid/support/v4/app/fragment;) 10-19 07:19:32.226: w/dalvikvm(2607): vfy: unable find class referenced in signature (landroid/support/v4/app/fragment;) 10-19 07:19:32.226: i/dalvikvm(2607): not find method android.support.v4.content.localbroadcastmanager.getinstance, referenced method com.facebook.session.postactivesessionaction 10-19 07:19:32.226: w/dalvikvm(2607): vfy: unable resolve static method 248: landroid/support/v4/content/localbroadcastmanager;.getinstance (landroid/content/context;)landroid/support/v4/content/localbroadcastmanager; 10-19 07:19:32.226: d/dalvikvm(2607): vfy: replacing opcode 0x71 @ 0x0009 10-19 07:19:32.336: d/androidruntime(2607): shutting downwards vm 10-19 07:19:32.336: w/dalvikvm(2607): threadid=1: thread exiting uncaught exception (group=0x40a71930) 10-19 07:19:32.346: e/androidruntime(2607): fatal exception: main 10-19 07:19:32.346: e/androidruntime(2607): java.lang.noclassdeffounderror: android.support.v4.content.localbroadcastmanager 10-19 07:19:32.346: e/androidruntime(2607): @ com.facebook.session.postactivesessionaction(session.java:1570) 10-19 07:19:32.346: e/androidruntime(2607): @ com.facebook.session.setactivesession(session.java:977) 10-19 07:19:32.346: e/androidruntime(2607): @ com.facebook.session.openactivesession(session.java:1132) 10-19 07:19:32.346: e/androidruntime(2607): @ com.facebook.session.openactivesession(session.java:1017) 10-19 07:19:32.346: e/androidruntime(2607): @ com.example.facebookfirstapp.mainactivity.oncreate(mainactivity.java:24) 10-19 07:19:32.346: e/androidruntime(2607): @ android.app.activity.performcreate(activity.java:5104) 10-19 07:19:32.346: e/androidruntime(2607): @ android.app.instrumentation.callactivityoncreate(instrumentation.java:1080) 10-19 07:19:32.346: e/androidruntime(2607): @ android.app.activitythread.performlaunchactivity(activitythread.java:2144) 10-19 07:19:32.346: e/androidruntime(2607): @ android.app.activitythread.handlelaunchactivity(activitythread.java:2230) 10-19 07:19:32.346: e/androidruntime(2607): @ android.app.activitythread.access$600(activitythread.java:141) 10-19 07:19:32.346: e/androidruntime(2607): @ android.app.activitythread$h.handlemessage(activitythread.java:1234) 10-19 07:19:32.346: e/androidruntime(2607): @ android.os.handler.dispatchmessage(handler.java:99) 10-19 07:19:32.346: e/androidruntime(2607): @ android.os.looper.loop(looper.java:137) 10-19 07:19:32.346: e/androidruntime(2607): @ android.app.activitythread.main(activitythread.java:5041) 10-19 07:19:32.346: e/androidruntime(2607): @ java.lang.reflect.method.invokenative(native method) 10-19 07:19:32.346: e/androidruntime(2607): @ java.lang.reflect.method.invoke(method.java:511) 10-19 07:19:32.346: e/androidruntime(2607): @ com.android.internal.os.zygoteinit$methodandargscaller.run(zygoteinit.java:793) 10-19 07:19:32.346: e/androidruntime(2607): @ com.android.internal.os.zygoteinit.main(zygoteinit.java:560) 10-19 07:19:32.346: e/androidruntime(2607): @ dalvik.system.nativestart.main(native method)

the problem due java.lang.noclassdeffounderror: android.support.v4.content.localbroadcastmanager

check properties of facebooksdk , create sure contains android-supportv4 library. if not, add together build path of facebooksdk.

android facebook

No comments:

Post a Comment