I'm trying to incorporate the official Android SDK for Unity to my project. After I set everything on the facebook options inside Unity and make my build, everytime FB.Init() is called I get this:
AndroidJavaException: java.lang.ClassNotFoundException: com.facebook.unity.FB
at UnityEngine.AndroidJNISafe.CheckException () [0x00000] in <filename unknown>:0
at UnityEngine.AndroidJNISafe.CallStaticObjectMethod (IntPtr clazz, IntPtr methodID, UnityEngine.jvalue[] args) [0x00000] in <filename unknown>:0
at UnityEngine.AndroidJavaObject._CallStatic[AndroidJavaObject] (System.String methodName, System.Object[] args) [0x00000] in <filename unknown>:0
at UnityEngine.AndroidJavaObject.CallStatic[AndroidJavaObject] (System.String methodName, System.Object[] args) [0x00000] in <filename unknown>:0
at UnityEngine.AndroidJavaObject.FindClass (System.String name) [0x00000] in <filename unknown>:0
at UnityEngine.AndroidJavaClass._AndroidJavaClass (System.String className) [0x00000] in <filename unknown>:0
at UnityEngine.AndroidJavaClass..ctor (System.String className) [0x00000] in <filename unknown>:0
at Facebook.AndroidFacebook.get_FB () [0x0000b] in C:\Users\motionart\Documents\Unity Projects\
I even have 'Development Build' and 'Script Debugging' enabled but everything happens on <filename unknown>
so I don't really know how to proceed.
Any idea what could be happening?