I am getting this error when hitting the \"Login With Facebook\" (Simple login button).
I have Google, and read other topics here - but I can not see any thing mat
I have struggled with this problem and I fixed with multidex enabled
add this in your build file
multiDexEnabled true
also this code in your activity
@Override
protected void attachBaseContext(Context context) {
super.attachBaseContext(context);
MultiDex.install(this);
}
after adding this in your build gradle dependencies
compile 'com.android.support:multidex:1.0.1'
This can happen when the user has the native Facebook App installed.
You can suppress the attempt to open it by initializing the LoginManager
's LoginBehaviour
:
// Don't allow the Facebook App to open.
LoginManager.getInstance().setLoginBehavior(LoginBehavior.WEB_VIEW_ONLY);