为什么requestScope导致错误12501?

时间:2018-11-19 19:35:16

标签: android google-signin

我这样创建main.cpp(15): error C2672: 'operator __surrogate_func': no matching overloaded function found main.cpp(15): error C2893: Failed to specialize function template 'void main::<lambda_1>::operator ()(_T1) const' main.cpp(15): note: With the following template arguments: '_T1=int' 对象:

GoogleSignInOptions

,我收到错误12501 ...

gso = new GoogleSignInOptions.Builder(GoogleSignInOptions.DEFAULT_SIGN_IN)
            .requestScopes(Games.SCOPE_GAMES_LITE)
            .requestEmail()
            .build();

一切正常(除了我后来缺少GAMES_LITE范围...)

为什么requestScope导致崩溃?我该怎么办?

0 个答案:

没有答案