Hello,
I have built my AOSP system images that I am trying to run using emulator --
I am using latest marshmallow branch, and selected target 'm_e_arm-userdebug'
And I am starting emulator as shown below, $HOME/emu contains all my img files.
ANDROID_BUILD=$HOME/emu/
${ANDROID_HOME}/tools/emulator \
-debug all -show-kernel \
-no-boot-anim \
-verbose \
-sysdir ${ANDROID_BUILD} \
-system ${ANDROID_BUILD}/system.img \
-ramdisk ${ANDROID_BUILD}/ramdisk.img \
-data ${ANDROID_BUILD}/userdata.img \
-kernel ${ANDROID_HOME}/system-images/android-21/default/armeabi-v7a/kernel-qemu \
-skindir ${ANDROID_HOME}/platforms/android-21/skins \
-skin WVGA800 \
-scale 0.7 \
-memory 2048 \
-partition-size 1024
However my emulator doesn't seem to start and I can't adb shell to it and I see following message:
emulator: Error while connecting to socket '
127.0.0.1:1970': 61 -> Connection refused
emulator: ASC
127.0.0.1:1970: Retrying connection. Connector FD = 25
Any suggestions on what I could be doing wrong? I am running emulator on OSX 10.11 platform.
-Subodh