Error: Class not found when unmarshalling: com.facebook.login.Login Client Request

前端 未结 8 1427
故里飘歌
故里飘歌 2021-01-11 14:35

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

8条回答
  •  北海茫月
    2021-01-11 15:27

    You should add this to your acctivity

        @Override
    protected void onActivityResult(int requestCode, int resultCode, Intent data)            {
        super.onActivityResult(requestCode, resultCode, data);
        callbackManager.onActivityResult(requestCode, resultCode, data);
    

    }

    but if your using parse SDK add this

    @Override
    protected void onActivityResult(int requestCode, int resultCode, Intent data) {
        super.onActivityResult(requestCode, resultCode, data);
        ParseFacebookUtils.onActivityResult(requestCode, resultCode, data);
    }
    

提交回复
热议问题