I have a bizarre problem: I want to start an android emulator and at the same time install an already built .apk. The thing is that I want to do all these from the command line and especially from ONE terminal. (actually from a Makefile…).
If i start the emulator, it never stops until I close it thus I cannot execute any other command. On the other hand I don’t know emulator’s name before hand, although probably will be 5554.
Why not start the emulator in the background? From the command line, this is done by appending an ampersand to the command:
and then communicate with it via ADB: