Images with Google Play Store?
Hello,
First thanks a lot for your work. I'd like to know, is there a way to have the play store installed in an image created with androidenv.emulateApp ? I tried useGoogleAPIs but it seems to be a different thing. I think that google packs some images with the play store and I've no idea how hard it would be to use them.
Thanks!
Hum, it seems that there is something here. But no idea how to enable (and to bad it does not work ship armeabi-v7a)
EDIT: Let's try systemImageType = "google_apis_playstore";
EDIT2: Hum amazing, it download the image. But I'm not sure to understand the use of useGoogleAPIs. Maybe a line in the doc about systemImageType would be interested ;) (if I can help for the doc let me know)
EDIT3: Hum, unfortunately it does not run the executable:
with import <nixpkgs> {};
androidenv.emulateApp {
name = "emulate-revolut";
enableGPU = false;
systemImageType = "google_apis_playstore";
platformVersion = "28";
abiVersion = "x86_64";
}
Run:
Looking for a free TCP port in range 5554-5584
We have a free TCP port: 5554
Available Android targets:
----------
id: 1 or "android-28"
Name: Android 9
Type: Platform
API level: 28
Revision: 6
Skins: HVGA, QVGA, WQVGA400, WQVGA432, WSVGA, WVGA800 (default), WVGA854, WXGA720, WXGA800, WXGA800-7in
Tag/ABIs : no ABIs.
Valid ABIs: no ABIs.
Error: Invalid --abi x86_64 for the selected target.
But it seems to be present here, so I don't see what's wrong: https://github.com/NixOS/nixpkgs/blob/master/pkgs/development/mobile/androidenv/generated/system-images-google_apis_playstore.nix
EDIT 4: Maybe this is the solution? https://github.com/OneBusAway/onebusaway-android/commit/b24dac19b67c01cfc8092fb597c6940b7f48996c It's like the api requires a google_apis/ prefix (but I guess it depends on the versions...)