I downloaded Facebook SDK for unity, followed facebook’s guide and built the example project. If I just click “Build and Run” everything works fine. But if I click Export Google Android Project and import it into eclipse, it gives me the following error, when I try to run it:
java.lang.RuntimeException: Unable to get provider com.facebook.FacebookContentProvider: java.lang.ClassNotFoundException: Didn't find class "com.facebook.FacebookContentProvider" on path: DexPathList[[zip file "/data/app/com.company.myapp-1/base.apk"],nativeLibraryDirectories=[/data/app/com.company.myapp-1/lib/arm, /vendor/lib, /system/lib]]
Unity version: 5.0.1p3
Facebook SDK ver: v2.4
UPDATE:
I reported this as a bug to facebook, and they verified it: Log into Facebook
UPDATE2:
Facebook replied to me, that eclipse in no longer supported and I should use Android Studio to integrate the plugin.