In a virtual machine I think that you have to use the android sdk and install it via the adb. I think that the emulator has a adb server running already so all that you have to do is connect to it and install the app