remote-android / redroid-doc

redroid (Remote-Android) is a multi-arch, GPU enabled, Android in Cloud solution. Track issues / docs here
4.25k stars 303 forks source link

Can't use google play services in apps. #240

Open SinaZK opened 2 years ago

SinaZK commented 2 years ago

Hello Mr Zhou and thanks for this incredible project and answering my questions, I built redroid with the MindTheGapps google apps following docs and i can login in Google Play but no app can use google play services. i tried uninstalling and reinstalling play services from google play and no luck. Because i managed to run those apps in anbox with google play services support with no problem, I thought the problem was with the MindTheGapps. So i Rebuild Redroid with openGapps (With more google apps like Google Play Games, if you interested i can make a pull request to add guide to how to build redroid with openGapps apps). In the new build i can run google play and install apps successfully. But the problem remained and those needed apps didn't work. (found in logs that some of them can't find Google Play!). The common feature of play services needed in those apps is the location and maps, Since i found in repo issues that redroid doesn't support mock location, Maybe the problem is somehow relevant to this? Do you have any idea what is the problem and how can i solve it?

SinaZK commented 2 years ago

Do you have any idea where should i look for this? Any suggestion would be helpful. Thanks.

zhouziyang commented 2 years ago

I'm not testing Google Mobile Service / Google Play Service recently. Possible ask help from OpenGApps or MindTheGapps?

ivon852 commented 1 year ago

Do you have any idea where should i look for this? Any suggestion would be helpful. Thanks.

I got Google Play services working in games by manaully installing OpenGApps to Redroid Android 11 image: Install GApps Manually

Do not run docker container with --rm options or it will kill itself after shutdown.

Fix GMS permissions in System settings and reboot. Resigter your device and wait for 30 minutes. Then you are good to go.

Though I still cannot download ARM64 apps from Play Store, the games won't complain about "missing play services" anymore.

ArtBreguez commented 1 year ago

@ivon852 after reboot the redroid container dies (even withouth the --rm flag), how did you do? I followed the exactly tutorial (https://groups.google.com/g/android-rpi/c/xb2fwTQbUYw?pli=1) but it not work

helperShang commented 1 year ago

Has anyone solved this problem?

zigomi commented 1 year ago

@helperShang can't you simply download apk file directly, via other means, and then install it?

monkey-jsun commented 1 year ago

Hello Mr Zhou and thanks for this incredible project and answering my questions, I built redroid with the MindTheGapps google apps following docs and i can login in Google Play but no app can use google play services. i tried uninstalling and reinstalling play services from google play and no luck. Because i managed to run those apps in anbox with google play services support with no problem, I thought the problem was with the MindTheGapps. So i Rebuild Redroid with openGapps (With more google apps like Google Play Games, if you interested i can make a pull request to add guide to how to build redroid with openGapps apps). In the new build i can run google play and install apps successfully. But the problem remained and those needed apps didn't work. (found in logs that some of them can't find Google Play!). The common feature of play services needed in those apps is the location and maps, Since i found in repo issues that redroid doesn't support mock location, Maybe the problem is somehow relevant to this? Do you have any idea what is the problem and how can i solve it?

Was this problem resolved eventually? I'm hitting the same issue right now.