Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failed to add Gmail account #126

Open
ghost opened this issue Jan 14, 2020 · 4 comments
Open

Failed to add Gmail account #126

ghost opened this issue Jan 14, 2020 · 4 comments

Comments

@ghost
Copy link

ghost commented Jan 14, 2020

I've tried to add gmail account but some error occurs:

Traceback (most recent call last):
  File "<console>", line 1, in <module>
  File "C:\SCS\anaconda3\lib\site-packages\mobly-1.9.1-py3.7.egg\mobly\controllers\android_device_lib\jsonrpc_client_base.py", line 355, in rpc_call
    return self._rpc(name, *args)
  File "C:\SCS\anaconda3\lib\site-packages\mobly-1.9.1-py3.7.egg\mobly\controllers\android_device_lib\jsonrpc_client_base.py", line 326, in _rpc
    raise ApiError(self._ad, result['error'])
mobly.controllers.android_device_lib.jsonrpc_client_base.ApiError: <AndroidDevice|5200b9494d8c749d>
-------------- Java Stacktrace ---------------
android.accounts.AuthenticatorException: Sign in failed with status UNKNOWN_ERROR
        at android.accounts.AccountManager.convertErrorToException(AccountManager.java:2533)
        at android.accounts.AccountManager.access$700(AccountManager.java:167)
        at android.accounts.AccountManager$AmsTask$Response.onError(AccountManager.java:2369)
        at android.accounts.IAccountManagerResponse$Stub.onTransact(IAccountManagerResponse.java:70)
        at android.os.Binder.execTransact(Binder.java:739)
@xpconanfan
Copy link
Collaborator

Seems like an issue with Android/network?
If you think it's a problem in MBS implementation, please point it out.

@yiantong
Copy link

yiantong commented Jan 13, 2022

i have this promble too
so how do u slove it @mrttson

@xpconanfan
Copy link
Collaborator

The original error indicates an inherent problem on your device or account, which is unrelated to this lib

@yiantong
Copy link

get it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants