Hi, I was wondering if someone could help with this error that i’ve been getting. When I press the Facebook login button, I get this error on Android:
5-27 02:15:31.511 22041-22041/com.thisal.dekew E/AndroidRuntime: FATAL EXCEPTION: main
Process: com.thisal.dekew, PID: 22041
java.lang.Error: FATAL EXCEPTION [main]
Unity version : 5.3.4f1
Device model : samsung GT-N7100
Caused by: java.lang.NoClassDefFoundError: com.facebook.FacebookActivity
at com.facebook.internal.Validate.hasFacebookActivity(Validate.java:192)
at com.facebook.FacebookSdk.sdkInitialize(FacebookSdk.java:199)
at com.facebook.FacebookSdk.sdkInitialize(FacebookSdk.java:175)
at com.facebook.unity.BaseActivity.onCreate(BaseActivity.java:44)
at com.facebook.unity.FBUnityLoginActivity.onCreate(FBUnityLoginActivity.java:35)
at android.app.Activity.performCreate(Activity.java:5451)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1093)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2377)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2471)
at android.app.ActivityThread.access$900(ActivityThread.java:175)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1308)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:146)
at android.app.ActivityThread.main(ActivityThread.java:5602)
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)
java.lang.NoClassDefFoundError: com.facebook.FacebookActivity
Thanks for any advice. @liortal