Software Archive
Read-only legacy content
17061 Discussions

facebook connect plugin crashes on android

Alessandro_S_
Beginner
716 Views

Same code and plugin that was working til yesterday, today a new app build crashes with login from facebok in android

my debug tool returns this

 

java.lang.NoClassDefFoundError: com.facebook.android.R$layout
	at com.facebook.LoginActivity.onCreate(LoginActivity.java:57)
	at android.app.Activity.performCreate(Activity.java:5458)
	at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1093)
	at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2376)
	at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2470)
	at android.app.ActivityThread.access$900(ActivityThread.java:174)
	at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1307)
	at android.os.Handler.dispatchMessage(Handler.java:102)
	at android.os.Looper.loop(Looper.java:146)
	at android.app.ActivityThread.main(ActivityThread.java:5593)
	at java.lang.reflect.Method.invokeNative(Native Method)
	at java.lang.reflect.Method.invoke(Method.java:515)
	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1283)
	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1099)
	at dalvik.system.NativeStart.main(Native Method)

 

 

what's happened again with environment?

0 Kudos
3 Replies
Alessandro_S_
Beginner
716 Views

another info.It happens to other xdk users and the problem is only with crosswalk. I tried to build the same project in the previous post for android (not crosswalk) and it works. of course I want to use crosswalk, so please help us

0 Kudos
Amrita_C_Intel
Employee
716 Views

send your project as I suggested in this post. https://software.intel.com/en-us/forums/intel-xdk/topic/594016

0 Kudos
Amrita_C_Intel
Employee
716 Views

​Or try this!

  • build using the shared mode Crosswalk build to see if that makes it work

  • or update the project to a CLI 5.1.1 and then build with Crosswalk 15. The CW15 suggestion requires that you update to the latest release of the Intel XDK (2496).

0 Kudos
Reply