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

Can't sign in with google accounts in AOSP 7.1.2 with opengapps (tvstock,tvmini) #282

Open
hanspark74 opened this issue Nov 26, 2020 · 2 comments

Comments

@hanspark74
Copy link

I am working on AOSP 7.1.2 for Android TV, and build the opengapps as "tvstock" or "tvmini".
After build completed, GApps seem work properly. But I couldn't sign in with my google accounts for "Play Store" and "Add account".
An error saying that your username and password don't match, even if I have entered the correct information. My google account security options are okay to sign in.

11-25 05:56:51.458 5756 5756 I CreateOrAddAccountActivity: onPageComplete: EXISTING_PASSWORD
11-25 05:56:51.458 5756 5756 D CreateOrAddAccountActivity: Displaying: VERIFY_USERNAME_PASSWORD with error: null
11-25 05:56:51.459 5756 5756 D CreateOrAddAccountActivity: user does not exist: [email protected]
11-25 05:56:51.461 3573 3573 I PhenotypeExperimentConf: refreshConfiguration() : Force = false : UpdateAvailable = false : Age = 40 minutes : MaxAge = 720 minutes
11-25 05:56:51.461 3573 3573 I AndroidIME: PasswordIme.onDeactivate()
11-25 05:56:51.479 3573 3573 W InputMethodService: Window size has been changed. This may cause jankiness of resizing window: -1 -> -2
11-25 05:56:51.706 5756 6562 D AuthTaskThreadFactory: ensure background task delay
11-25 05:56:52.465 5756 5756 D AccountSignInFragment: Log-in failed, detailed reason: null
11-25 05:56:52.465 5756 5756 I CreateOrAddAccountActivity: onPageComplete: VERIFY_USERNAME_PASSWORD
11-25 05:56:52.465 5756 5756 D CreateOrAddAccountActivity: Displaying: VERIFY_USERNAME_PASSWORD_FAILURE with error: null

Thanks.

@WrekLess
Copy link

WrekLess commented Jan 7, 2021

Hello @hanspark74 , did you exclude/include SetupWizard.apk in your build? I had a similar issue with login due to that. Credentials work (verified), but setup will not go beyond accepting Privacy Policy, etc. If you did use SetupWizard in your build, try excluding it and see if that helps.

Another possibility, check to make sure app has permissions enabled in Settings, try clearing app cache data or try wiping cache partition in recovery to see if that helps. All of this was before I started using the OpenGapps build system.

I am now trying to build my tv box with tvstock or tvmini variant, but I keep running into: #273

I am on Nougat also, any feedback or help is appreciated.

Best regards.

@WrekLess
Copy link

WrekLess commented Jan 7, 2021

Last tip @hanspark74 ,

Try running
development/tools/privapp_permissions/privapp_permissions.py
right after your build is complete to see if there any permissions that need to be added to privapp-permissions-platform.xml.

Best regards.

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

No branches or pull requests

2 participants