Android : Failed to find provider info for com.facebook.wakizashi.provider.PlatformProvider

两盒软妹~` 提交于 2019-12-01 01:04:29

I noticed that these logcat errors:

...
E/ActivityThread﹕ Failed to find provider info for com.facebook.katana.provider.PlatformProvider
E/ActivityThread﹕ Failed to find provider info for com.facebook.wakizashi.provider.PlatformProvider
...

appear only if you do not have the Facebook APK installed on your emulator. After you install the FB APP app like this:

Macintosh:platform-tools admin$ ./adb install ~/Downloads/Facebook-[Version Number].apk 
758 KB/s (40857788 bytes in 52.574s)
        pkg: /data/local/tmp/Facebook-32.0.0.23.15.apk
Success

These type of errors should disappear.

Good luck !

Owain van Brakel

This can be caused by:

  1. No internet connection
  2. Make sure you've added the internet permission to the manifest
  3. The hashkey is wrong for the app
  4. Your app id is wrong

My guess would be point 2

you probably need to add this to you AndroidManifest.xml

<uses-permission android:name="android.permission.INTERNET"></uses-permission>

I have the same problem, I noted that the problem is linked to the Facebook app, isn't installed on emulator or device.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!