Hi everyone,
Recently for API 19 and 21 some images were released which allowed to have google APIs in the x86 architecture so you can use HAXM and test faster in the emulator while still being able to use google services. To use this apparently you need to download the "Intel x86 Atom System Image" and the "Google APIs Intel x86 Atom System Image". Then you can create an AVD with the two system images. However, after downloading the Google APIs x86 system image, I notice it appears as installed for APIs 14-18 but when I tried making an AVD for this API, there was no option for Google APIs in x86. I thought it might be corrupted so I uninstalled the google system image from API 18 and that uninstalled it from all APIs. Actually, after removing it, it was no longer in the list to redownload except for API 21.
I then thought I could try to look for the files myself and see if I could get it working. I opened the config.ini for the API 21 AVD and found that it just points to one system image:
image.sysdir.1=system-images\android-21\google_apis\x86_64\
and inside the folder I could find the following structure:
- system-images/android-21
- android-tv
- default
- armeabi-v7a
- x86
- x86_64
- google_apis
- armeabi-v7a
- x86
- x86_64
Then I thought the same structure would be there for API18, but no, this is the structure:
- system-images/android-18
- armeabi-v7a
- default
- x86
And I thought, were are the google apis?. So I looked at the API 19 AVD config.ini and found that it uses 2 sys images instead of 1 like API 21:
image.sysdir.1=add-ons\addon-google_apis_x86-google-19\images\x86\
image.sysdir.2=system-images\android-19\default\x86\
This looked more like the structure for API 18, so I gave that a try and tried to search in the add-ons folder. Turns out, there is no addon-google_apis_x86-google-18 folder, but there is a regular addon-google_apis-google-18 bu tit just have an armeabi image.
TL;DR: apparently there is no way to have Google APIs and x86 for APIs 18 and lower. Even though the SDK shows you there is an image installed.
Here is the screen shot showing the images for all APIs from 14 to 18 (Screenshot only got 15 to 18):
My respectful request is if we can get google apis for x86 for API 18 and below and if possible a more standard folder structure because it looks like a nightmare. Or if there is a workaround, to please tell me how to accomplish this.
Thanks.