[Noob][CM13][HowTo]Solve the "Unfortunately, Google Play Services has stopped error".

PoolDead

Member
May 13, 2016
6
4
0
[Noob][CM13][HowTo]Solve the "Unfortunately, Google Play Services has stopped error".

Hello Everyone! :)
I researched everywhere about this "Google Play Services has stopped error" and could not find any one method that worked. So I just had a look in the "report" of the error and found out that it wanted location access to continue.

I have the following version of CM: 13.0-20160513-NIGHTLY-falcon

[What I've tried]
As said in other places, I went to
Settings-> Apps-> Google Play Services-> Permissions-> And enabled everything, including Location.
But didn't work. It kept on showing that random error anytime I used any Google app.

[What To do]
So here's what you need to do. :D

Since this is for CyanogenMod, you may have something called "Privacy" in settings. We're gonna use that.

Goto
1) Settings-> Privacy-> Privacy Guard.
2) Click on 3 dots on right top and tap on Advanced.
3) Under the Location Section, click on Google Play Services.
4) In "Coarse Location", change from " Allowed" to "Ignored".

This should fix the problem. (I've checked this in many phones and it worked!) Click on thanks if it worked!
---------------------------------

EXTRAS: (Only for developers :p )
On seeing the Error Report, I found that it needed a "Fine" location access whereas, in Privacy Guard, it showed "Coarse" location access (a different less accurate location permission).

I know that, in addition to having "ACCESS_FINE_LOCATION" in the manifest, we also have to request them from the user at runtime (using requestPermissions()) checking with (using checkSelfPermission()).

I guess this Open Source Play Services Edition (which I downloaded) has not been still modified for API 23 :p. But it said, Marshmallow, :rolleyes: If this is really the case, then some develepor please do it! I'm not much into this! :p
 
Last edited:

SinusStudios

Member
Aug 3, 2016
28
5
0
Bremen
Thank you very much! Just wanted to add as this happened to me a couple times now as well:
If "Setup Wizard" constantly crashes (making the phone extremely hard to navigate) just try to get into it's app settings (e.g. via "Apps" or "Memory") and allow it all of the permissions it needs.
Resource: Google search.