Failed To Find Provider Info For Com.facebook.katana.provider.platformprovider
Solution 1:
add permission of internet in menifest of your application
<uses-permissionandroid:name="android.permission.INTERNET"/>
Solution 2:
The issue for me was that that facebook app installed on Android was outdated and not consistent with my Facebook Android SDK.
Please look at this page: Developer Facebook and be sure that that the Facebook SDK is consistent with the Facebook app that installed on your Android.
Solution 3:
Maybe you can try to do more error checking like this
if (user != null) {
Log.d("myDebug",
"Hello " + user.getName()
+ " user id = "
+ user.getId()
+ "!");
} else {
Log.d("myDebug", "User is null");
FacebookRequestError error = response.getError();
if (error != null) {
Log.d(String.format("Error: %s", error.getErrorMessage()));
}
}
Solution 4:
If somebody has that same error and the answers above did not work check if you move your facebook app to SD card. When you connect your smartphone to the pc it automatically disable every apps located at SD card.
The solution that I found was move the Facebook app to the phone again to test. You could also disconnect the smartphone and run the application and it works fine, but you will not have access to debug etc.
Post a Comment for "Failed To Find Provider Info For Com.facebook.katana.provider.platformprovider"