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

前端 未结 8 1495
故里飘歌
故里飘歌 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:33

    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'
    

提交回复
热议问题