I am starting up an android virtual device, but I am getting:
Starting emulator for AVD 'avd.1'
pulseaudio: pa_context_connect() failed
pulseaudio: Reason: Connection refused
pulseaudio: Failed to initialize PA contextaudio: Could not init `pa' audio driver
emulator: Listening for console connections on port: 5558
emulator: Serial number of this emulator (for ADB): emulator-5558
The emulator is coming up but I see no icons on it so I'm wondering if the errors listed above are "showstoppers"? Then when I try adb install bin/my.apk
I get the error Can't find service: package
. So it seems adb is not communicating with the AVD correctly. However, adb devices
does show emulator-5558 listed above. Any advice would be really helpful.
adb install xxx.apk
command. When I tried the command a second time, I got another error:adb: failed to install xxx.apk:
without any information but I noticed that the app was installed correctly. You can see if the "package" service is loaded by typing the commandadb shell service list
. – Monitory