-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Cannot grant GET_ACCOUNTS permission #25
Comments
Yes, real device (honor 5c) |
I remembered.
So, this helper all can manage account only for 21-. |
If you git clone this repository and generate release api signed the same signature with your test target, I guess you can manage account without grant permissions. |
Okay, I understand :) you should update the REAMDE to display this limitation to API lvl 22. |
Yes, thanks and take a look at this helper! |
Can root permision work? |
I don't know since I haven't tried rooted devices. |
[...]\AppData\Local\Android\sdk\platform-tools>adb shell pm grant com.kazucocoa.droidtesthelper android.permission.GET_ACCOUNTS
Operation not allowed: java.lang.SecurityException: Package com.kazucocoa.droidtesthelper has not requested permission android.permission.GET_ACCOUNTS
I am running app on Android 7.0
Some logs :
12-06 09:58:37.373 27718-27718/? W/Activity: Can reqeust only one set of permissions at a time
12-06 09:58:37.373 27718-27718/? E/HandleAccountHelper: Can't granted Manifest.permission.GET_ACCOUNTS
The text was updated successfully, but these errors were encountered: