我已经从firebase和google sign文档中使用了很多样板。我得到一个对话框,用于选择要从中登录的帐户,然后失败。我已经更新了我的Google Play服务。并且还重新生成了我的sha1密钥。我注意到的一件事是,android studio在执行signingreport任务时不断向我退还旧密钥,之后我又生成了两次密钥,并在firebase控制台上进行了更新。
Gist of the main activity on github
E/dalvikvm: Could not find class 'android.support.v4.app.ActivityCompat$SharedElementCallback23Impl', referenced from method android.support.v4.app.ActivityCompat.setEnterSharedElementCallback
E/dalvikvm: Could not find class 'android.support.v4.app.ActivityCompat$SharedElementCallback21Impl', referenced from method android.support.v4.app.ActivityCompat.setEnterSharedElementCallback
E/dalvikvm: Could not find class 'android.support.v4.app.ActivityCompat$SharedElementCallback23Impl', referenced from method android.support.v4.app.ActivityCompat.setExitSharedElementCallback
E/dalvikvm: Could not find class 'android.support.v4.app.ActivityCompat$SharedElementCallback21Impl', referenced from method android.support.v4.app.ActivityCompat.setExitSharedElementCallback
答案 0 :(得分:0)