Google Play Services permissions problem - Nexus 5 Q&A, Help & Troubleshooting

I installed the stock Marshmallow last night, everything went well no issues at all. Went through the standard installing and setting up my email, apps, etc. However now, anytime I open a Google app (gmail, camera, Keep, etc) I get a warning pop-up stating that "Google Play Services requires all requested permissions to be enabled. Please click App Setting and review app permissions". All available permissions are enabled and I still get the pop-up. I tried disabling and uninstalling the service updates but most of the apps I use stop working and I have no access to my email. Re-enabling the service updated it, but I still get the pop-up when I open gmail, etc.
Has anyone else run into this issue and is it fixable?

I also have this in my Xiaomi Mi5. It's started happening this week despite having had Marshmallow for ages.
All play services and gmail permissions are already enabled, so not sure how to resolve this.

Related

[Q] Google Play Store says, "Check your connection and try again."

The device in question is an LG Optimus Fuel.
This problem is (hopefully) the very last problem that I have with this phone after I rooted it and deleted too many things without backing them up.
My first problem was exactly the same as the one I have now, with Google Play Store not working. Following the final step on this site...
wccftech . com / fix-no-connection-retry-error-message-on-google-play-store-app
I factory reset the phone. Unfortunately, I deleted some vital apps before this had happened, and had failed to back them up, among them was the home screen, which caused lgsetupwizard to keep shutting down and restarting. To solve that problem, I installed Nova Launcher using ADB.
My next problem was that all Google Play apps wouldn't start. With the store, it would start and immediately crash, with the others, such as books and newsstand, the loading circle would show and never go away. The solution to that was to download all of the Google Apps from an outside source and install them using ADB.
The next thing that happened was that Google+ kept starting on its own and crashing, forcing me to update using the Play Store which of course, wasn't working. The only solution that I could come up with was deleting it.
Now, I have some functionality of the other Google Play apps, with the exception of Google Play Store, which says "Check your connection and try again." which leaves me right back where I started from, except now I have Amazon App Store and F-Droid maintaining all of my non-Google apps.
Knowing that a factory reset is not an option, how do I proceed and get full functionality of the Google Play Store back?

[Android 5.1] Hangout constantly crashes on launch. + "Google Apps has stopped"

[Android 5.1] Hangout constantly crashes on launch. + "Google Apps has stopped"
I upgraded to 5.1 on Monday by flashing the factory image. After the first boot and flashing root/recovery etc, I checked everything is running smooth and rebooted the device once more. Ever since then, Google Hangout crashes every time I try to open it; with this error -
Unfortunately, Hangouts has stopped.
Click to expand...
Click to collapse
I cleaned its cache, cleared data, uninstalled updates, updated from play store.
I cleaned all system cache from Settings > Device > Storage.
I cleaned Dalvik-cache and cache partition by going to recovry.
Nothing seems to fix it. It still crashes with the same error. From time to time, I'm also getting this error -
Unfortunately, Google Apps has stopped.
Click to expand...
Click to collapse
But all other Google apps are working fine. Anyone else having this issue?
Hangout - 3.0.87531466
Play Services - 7.0.93 (1778921-438)
===============================================
UPDATE -
POSSIBLE CAUSE AND SOLUTION​
After spending 2 entire days on it and flashing the 5.1 factory images 3 times, I found out that it was being caused by LBE Security Master's Active Defense mode. This is like a live AppOps. It grants/denies permissions to apps at run time. Even though I had given full permission to Hangout, it was still crashing for unknown reasons. But after I disabled the active defense mode and rebooted the device, everything is running fine now.
So, if you are using any permission control app like LBE or AppOps, try disabling that and reboot your device. Yes, reboot is necessary. Just disabling doesn't fix it.
bagarwa said:
I upgraded to 5.1 on Monday by flashing the factory image. After the first boot and flashing root/recovery etc, I checked everything is running smooth and rebooted the device once more. Ever since then, Google Hangout crashes every time I try to open it; with this error -
I cleaned its cache, cleared data, uninstalled updates, updated from play store.
I cleaned all system cache from Settings > Device > Storage.
I cleaned Dalvik-cache and cache partition by going to recovry.
Nothing seems to fix it. It still crashes with the same error. From time to time, I'm also getting this error -
But all other Google apps are working fine. Anyone else having this issue?
Hangout - 3.0.87531466
Play Services - 7.0.93 (1778921-438)
Click to expand...
Click to collapse
What was your installation process for Play Services 7.0.93?
Aerowinder said:
What was your installation process for Play Services 7.0.93?
Click to expand...
Click to collapse
I had that version after flashing the 5.1 factory image. I guess Google pushed that to my device. It's not sideloaded.
bagarwa said:
I had that version after flashing the 5.1 factory image. I guess Google pushed that to my device. It's not sideloaded.
Click to expand...
Click to collapse
That is strange. I have the same version of Hangouts, but my updated version of Play Services is 6.7.76 (1745988-438).
bagarwa said:
I upgraded to 5.1 on Monday by flashing the factory image. After the first boot and flashing root/recovery etc, I checked everything is running smooth and rebooted the device once more. Ever since then, Google Hangout crashes every time I try to open it; with this error -
I cleaned its cache, cleared data, uninstalled updates, updated from play store.
I cleaned all system cache from Settings > Device > Storage.
I cleaned Dalvik-cache and cache partition by going to recovry.
Nothing seems to fix it. It still crashes with the same error. From time to time, I'm also getting this error -
But all other Google apps are working fine. Anyone else having this issue?
Hangout - 3.0.87531466
Play Services - 7.0.93 (1778921-438)
Click to expand...
Click to collapse
I am having the same issue with hangouts. I've taken the same steps to try to fix it.
As part of troubleshooting, I momentarily disabled hangoouts via app settings, then I started to see the "Google App" error. After re-enabling I didn't see this error anymore.
I have not tried removing hangouts completely, as it seems this would break other things.
Any possible solutions?
EDIT: The Google App error is actually persisting.
My issue is hangouts keeps getting killed by the Low memory killer even though I have 1gb free ram.
I did some monitoring, hangouts Noe has to run its own process that I've never seen before and after a minute it caches itself, and I guess the cache is dumped later since I haven't opened hangouts in 5 minutes, I have to restart the app every time I need to use it. I also don't receive any messages during that time because the app has been killed. Any ideas?
chabsie said:
I am having the same issue with hangouts. I've taken the same steps to try to fix it.
As part of troubleshooting, I momentarily disabled hangoouts via app settings, then I started to see the "Google App" error. After re-enabling I didn't see this error anymore.
I have not tried removing hangouts completely, as it seems this would break other things.
Any possible solutions?
EDIT: The Google App error is actually persisting.
Click to expand...
Click to collapse
POSSIBLE CAUSE AND SOLUTION​
After spending 2 entire days on it and flashing the 5.1 factory images 3 times, I found out that it was being caused by LBE Security Master's Active Defense mode. This like a live AppOps. It grants/denies permissions to apps at run time. Even though I had given full permission to Hangout, it was still crashing for unknown reasons. But after I disabled the active defense mode and rebooted the device, everything is running fine now.
So, if you are using any permission control app like LBE or AppOps, try disabling that and reboot your device. Yes, reboot is necessary. Just disabling doesn't fix it.
bagarwa said:
POSSIBLE CAUSE AND SOLUTION​
After spending 2 entire days on it and flashing the 5.1 factory images 3 times, I found out that it was being caused by LBE Security Master's Active Defense mode. This like a live AppOps. It grants/denies permissions to apps at run time. Even though I had given full permission to Hangout, it was still crashing for unknown reasons. But after I disabled the active defense mode and rebooted the device, everything is running fine now.
So, if you are using any permission control app like LBE or AppOps, try disabling that and reboot your device. Yes, reboot is necessary. Just disabling doesn't fix it.
Click to expand...
Click to collapse
Actually I'm using LBE as well and I suspected that it could have been the cause, and as you experienced, I removed all restrictions from the hangouts app and the problem still persisted.
My theory now is that a restriction that we've set on another app (or apps) is indirectly causing this issue with hangouts.
Does anyone know specifically which system apps could be connected to the functionality of Hangouts?
UPDATE: I've disabled restrictions on Youtube, Calendar, and Drive. This appears to have solved the problem.
Hangouts is working normally thus far and I haven't seen any error messages. Will update if things change.
I have a feeling that it's Drive.
What s
Is LBE? I'm stock phone sideloafed 5.1 and I have actually disabled hangout prior to upgrade now getting this error
Lee
Google play services "keep awake" disabled could cause it
I let all my apps keep awake in app ops and so on, but still have an issue with hangouts. It gets killed by system 5-10 minutes of not using it even if I leave it in background
2nd Update:
The problem is persisting again... my hypothesis has been disproved.
Any other suggestions or discoveries would be appreciated. I'm trying to find a way to fix Hangouts while keeping privacy settings in place as much as possible...
If XPrivacy was working for Android 5.0+ this issue would disappear.
I re enabled hangouts and updated it and not had the issue since
Play Service 7.0.96 from http://www.apkmirror.com/apk/google-inc/
Hangouts (+LBE) works fine by 5.1
Nexus 5 32GB, Android 5.01
Hangouts crashes occasionally for me also, and I don't have LBE or anything. I sideloaded 5.1 via nrt but my play services still says 6.7.76. Is that going to be a problem? Won't it just update itself eventually? Does the image not contain play services?
(I have the N6 but I thought the issue would still be relevant)
I had a similar issue, so I rolled back hangouts to 2.5x and it's working fine now, YMMV. of course this may not be a viable solution to you but a working older version is better than a non-usable latest version.
Cheers!
Well, the only thing I can think of, in my circumstances, is that I had hangouts disabled when I updated to 5.1 (I don't use it). So yesterday I enabled it, cleared data, and disabled it again, and so far no crash. Maybe something got changed in the update and it didn't like the fact hangouts was disabled. Again, your issue may vary.
spark001uk said:
Hangouts crashes occasionally for me also, and I don't have LBE or anything. I sideloaded 5.1 via nrt but my play services still says 6.7.76. Is that going to be a problem? Won't it just update itself eventually? Does the image not contain play services?
(I have the N6 but I thought the issue would still be relevant)
Click to expand...
Click to collapse
The new play services pretty much renders your phone useless due to nonstop update wake lock, (read more on the cataclysm ROM thread, like last 30 pages). The only way to fix the wake lock so far is to flash the cataclysm ROM patch (idk if it will work with stock ROM but it should) and it blocks the wake lock.
See attached picture below, that's how bad the new google play services is.
As for hangouts I got UKM and lowered the low memory killer to a minimum and disabled laptop mode (I'm using elementalX) and hangouts works just fine for me now.
russian392 said:
The new play services pretty much renders your phone useless due to nonstop update wake lock.
Click to expand...
Click to collapse
Sounds like I should stick with what I've got then! Though having said that I think gp will update automatically when it's released, being a core system component?
spark001uk said:
Sounds like I should stick with what I've got then! Though having said that I think gp will update automatically when it's released, being a core system component?
Click to expand...
Click to collapse
Yes, it would.

[Q] Gmail push email no longer working

I may have stopped "google framwork services" last week, but I do not think this is related.
Basically, my gmail app no longer gets push notifications or syncs automatically.
I have android 5.0.1. nexus 5 and the latest gmail app versions. I have checked all settings in the app, and made sure that all my sync settings are enabled. I can see that the last sync of gmail was over 30 minutes ago, yet I've sent emails to my gmail account since then and they appear on the web version.
The app won;t show new emails until I manually refresh within the app.
Please help. I googled a bit and saw that some people with a similar issue dod a "factory reset" to solve. that seems a bit extreme. Is there any other way around this.
I've done all the usual things, cleared data in gmail app and forced stop and restarted phone.
I even removed my google account and readded it. nothing worked.
mcgon1979 said:
I may have stopped "google framwork services" last week, but I do not think this is related.
Basically, my gmail app no longer gets push notifications or syncs automatically.
I have android 5.0.1. nexus 5 and the latest gmail app versions. I have checked all settings in the app, and made sure that all my sync settings are enabled. I can see that the last sync of gmail was over 30 minutes ago, yet I've sent emails to my gmail account since then and they appear on the web version.
The app won;t show new emails until I manually refresh within the app.
Please help. I googled a bit and saw that some people with a similar issue dod a "factory reset" to solve. that seems a bit extreme. Is there any other way around this.
I've done all the usual things, cleared data in gmail app and forced stop and restarted phone.
I even removed my google account and readded it. nothing worked.
Click to expand...
Click to collapse
If you cleared data of Google Services Framework, it resets your GCM push id. Apps usually request this id the first time they are opened, and will usually re-request it every few weeks/months. Clear data of gmail and Play Services, then remove and re-add your Google Account.
thank you Elluel.
I'll try that now. (I've also just tried a wipe of the system cache form the recovery menu, this didn't help.
That seems to have MUCH improved things. Mails are coming in within a minute now, whereas before it would not sync for hours even with all settings set to ON.
Thanks... I'll see how it goes.
Elluel said:
If you cleared data of Google Services Framework, it resets your GCM push id. Apps usually request this id the first time they are opened, and will usually re-request it every few weeks/months. Clear data of gmail and Play Services, then remove and re-add your Google Account.
Click to expand...
Click to collapse
I did this same thing and couldn't get it figured out this worked right away!

Google Play Services has Stopped

So I was at school and my phone kept popping up that Google Play Services has stopped. It keeps popping up and I cant figure out how to fix it. I tried clearing the Play Services cache and the framework cache but it still keeps doing it, virtually making my phone unusable. Please help.
Do you remember any changes that you made quite recently? Like disabling or uninstalling any system app, for eg. Google XYZ, internet browser, etc.
I got this too, after updating exodus rom
I just installed the Tipsy rom for MM 6.0..and i installed open gapps as well. I cannot get past the setup part of the phone when it first kicks back on after reboot. i am able to sign in on wifi, then system checks for updates, then it asks if i have another device, i say no thanks, then i push next, and i get the "google play services has stopped" message, and i cannot proceed anymore. any suggestions?

[SOLVED] Google Discover and app not logging in

Since yesterday Discover does not work, telling me there was an problem logging in, i get the same from the Google app.
Play store is working ok, as is the rest of the phone.
Thought it was the google nova companion, uninstalled it, same happens with pixel launcher.
Cleared caches and data of the google app and play services.
Uninstalled Vanced micro G.
On the "Accounts" and "Google" section of the settings , everything is ok.
Could it be a problem from google and not my phone? Any thoughts?
Tomar777 said:
Since yesterday Discover does not work, telling me there was an problem logging in, i get the same from the Google app.
Play store is working ok, as is the rest of the phone.
Thought it was the google nova companion, uninstalled it, same happens with pixel launcher.
Cleared caches and data of the google app and play services.
Uninstalled Vanced micro G.
On the "Accounts" and "Google" section of the settings , everything is ok.
Could it be a problem from google and not my phone? Any thoughts?
Click to expand...
Click to collapse
I've had it happen on occasion but not as an ongoing problem.
Funny thing is , if i choose another google account, Discover works.
Choosing the main account i have on the phone breaks it again...
The March update did not fix this...
So i pressed the Google Lens icon on the upper right side of Discover, phone asked for a permission, i granted it, Discover started working.

Categories

Resources