You are on page 1of 2

sign up log in tour help stack overflow careers

Stack Overflow is a community of 4.7 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up

Visual Studio Emulator for Android - Install Gapps (Google Play Services)

I'm using the new VS Android Emulator with Android Studio:

https://www.visualstudio.com/en-us/features/msft-android-emulator-vs.aspx

It doesn't have Google Play Services installed... so I'm following this guide to install:

https://university.xamarin.com/resources/how-to-install-google-play-on-android-emulator

I've downloaded the proper Gapps file (in my case):

http://www.devfiles.co/download/7m2VdVjQ/gapps-kk-20140105-signed.zip

Now I've dragged and dropped the ZIP file onto the emulator... and it's just stalled at "copying file"... Is there anything else I need to be
doing here in order to get Gapps installed? How long does this "install" usually take?

android visual-studio android-emulator

asked Jul 21 at 22:19


aherrick
6,611 15 66 100

3 Answers

I was trying it out yesterday myself and had the same problem. Apparently, non of the drag
and drop functionality worked. So this, is what I did to resolve the issue:

1. Use the Additional Tools (small >> icon) for the emulator and go to the SD Card tab.
2. Select a folder on your computer to sync with the virtual SD card.
3. Pull from SD card , which will create a folder structure on the selected folder.
4. Now copy the Gapps fill to the 'Download' folder.
5. Push to SD card . This will take a little while, and copy the zip file to your emulator.
6. Run a commmand prompt, and go to sdk\platform-tools in your Android SDK location
and run adb devices .
7. If you see the your emulator in the list, then skip to step 9.
8. If you do not see emulator, run the following: adb connect <emulator ip>:5555 You can find
the emulator ip, from within the emulator, go to Settings -> About Phone -> Status and IP
section.
9. Next run, adb shell . This will give you a prompt to the android emulator.
10. Confirm the gapps file is there: ls /sdcard/Download

11. Now run, install_zip.sh /sdcard/Download/<flashablezip>.zip This should begin the


flashing process.

Hope this helps in resolving the issue.

edited Jul 23 at 3:50 answered Jul 22 at 13:34


Endareth Vijay Sargunam
319 1 11 126 1 3

Thank you this worked great!! aherrick Jul 22 at 15:10

1 And restart emulator after installation :) Tejasvi Hegde Sep 7 at 15:48

What if you do not have a Download folder but only a 0 , legacy and obb folder in the sd card folder?
(step 4) JP Hellemons Sep 23 at 8:28

Never mind, worked thanks to @user3802436 JP Hellemons Sep 23 at 8:46

It seems that the emulator hangs trying to install files if it cannot find adb.exe.

1. Ensure you have the Android SDK installed

2. If you run regedit.exe and look at the


HKEY_LOCAL_MACHINE\Software\Wow6432Node\Android SDK Tools reg key, there is
a Path string value that points to a location on disk. Double check to make sure that there
is a copy of adb.exe located in the platform-tools directory under that path.

Hope this helps.

answered Jul 22 at 15:19


Matt
51 1

After installing the Android SDK, you need to run Android SDK Manager to install the Android SDK Platform-
tools. Thomas Mueller Aug 5 at 14:14

It looks like you're doing the right thing to get the Google Apps installed, but just in case, these
instructions might help: http://codesmells.net/2015/07/27/installing-the-google-play-store-in-
the-microsoft-visual-studio-android-emulator/

answered Jul 27 at 17:57


user3802436
11 1