Android 无法使用Fabric访问用户Twitter电子邮件地址

Android 无法使用Fabric访问用户Twitter电子邮件地址,android,twitter,twitter-fabric,Android,Twitter,Twitter Fabric,即使在用户允许电子邮件访问后,我也会出现以下错误 "Your application may not have access to email addresses or the user may not have an email address" 尽管twitter的支持人员说 "Your app has all necessary permissions to request user emails. " 在apps.twitter.com的权限中,据说 Can request a us

即使在用户允许电子邮件访问后,我也会出现以下错误

"Your application may not have access to email addresses or the user may not have an email address"
尽管twitter的支持人员说

"Your app has all necessary permissions to request user emails. "
在apps.twitter.com的权限中,据说

Can request a user's email address
我的代码是

 TwitterAuthClient authClient = new TwitterAuthClient();
            authClient.requestEmail(session, new Callback<String>() {
                @Override
                public void success(Result<String> result) {
                    // Do something with the result, which provides the email address

                    Log.i("email","Access granted");
                    Toast.makeText(LinkedInActivity.this,"Access granted",Toast.LENGTH_SHORT).show();

                }

                @Override
                public void failure(TwitterException exception) {
                    // Do something on failure

                    Log.i("email","Access denied"+exception.getMessage());
                    Toast.makeText(LinkedInActivity.this,"Access denied"+exception.getMessage(),Toast.LENGTH_SHORT).show();

                }
            });
TwitterAuthClient authClient=new TwitterAuthClient();
authClient.requestEmail(会话,新回调(){
@凌驾
公开作废成功(结果){
//对结果执行一些操作,结果将提供电子邮件地址
Log.i(“电子邮件”、“授权访问”);
Toast.makeText(LinkedInActivity.this,“授予访问权”,Toast.LENGTH_SHORT.show();
}
@凌驾
公共无效失败(TwitterException异常){
//失败时做点什么
Log.i(“电子邮件”,“拒绝访问”+异常.getMessage());
Toast.makeText(LinkedInActivity.this,“拒绝访问”+exception.getMessage(),Toast.LENGTH_SHORT.show();
}
});

我已经解决了这个问题..问题是Twitter已经登录..虽然我已经注销了好几次,但没有成功

然后我清除twitter应用程序的缓存和数据,然后运行我的应用程序,现在我可以使用fabric从twitter访问电子邮件地址