opengapps / aosp_build

AOSP Build system compatible version of Open GApps
GNU General Public License v3.0
319 stars 155 forks source link

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

Open hanspark74 opened 3 years ago

hanspark74 commented 3 years ago

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: xxx@gmail.com 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 commented 3 years ago

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: https://github.com/opengapps/aosp_build/issues/273

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

Best regards.

WrekLess commented 3 years ago

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.