[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.
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
)
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
. But it said, Marshmallow,
If this is really the case, then some develepor please do it! I'm not much into this! 
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.
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
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
Last edited: