Hi Priyanka,
I am not sure if you have followed all the steps for invoking the emulator
here so listing them below -
1. After building AOSP, you should have below files -
a) system.img
b) userdata.img
c) ramdisk.ing
in out/target/product.generic_x86/
2) Create AVD using avdmanager
avdmanager create avd -n a25x86 --tag google_apis -k
'system-images;android-25;google_apis;x86'
3) Run emulator with prebuilt images-
emulator @a25x86 -verbose -show-kernel -shell -engine classic
3) run the emulator with your AOSP built images -
emulator@a25x86 -verbose -show-kernel -system out/system.img -ramdisk
out/ramdisk.img -initdata out/userdata.img
Regards,
Saket Sinha
On Friday, December 28, 2018 at 1:32:48 AM UTC+5:30, Priyanka Bose wrote:
>
> Hi,
>
> I am am trying to run the emulator for aosp_source code : arm64 target.
> I have downloaded the source code from the android AOSP master , and built
> the android image .
> Everytime i try to start the emulator it hangs with android logo screen.
> It never boots to the home screen.
> I followed the below steps to build the source code :
>
> 1. => source build/envsetup.sh
> 2. => lunch aosp_arm64-eng
> 3. => make -j24
> 4. => emulator
>
> List of devices attached
> adb server version (40) doesn't match this client (39); killing...
> * daemon started successfully *
> emulator-5554 device
>
> I can even see that emulator in the adb devices list on my host but the
> emulator screen just pops up with the "android" logo . It never boots to
> home menu even after a long time
> I tried running with "emulator -verbose" but i only get these debug logs :
>
> =======
> emulator: Starting QEMU main loop
>
> emulator: registered 'boot-properties' qemud service
> ...
> VERBOSE: AdbHostServer.cpp:49: Send [0012host:emulator:5555] to adb daemon.
> emulator: WARNING: Ignoring invalid http proxy: Bad format: invalid port
> number (must be decimal)
> VERBOSE: AdbHostServer.cpp:49: Send [0012host:emulator:5555] to adb daemon.
> emulator: onGuestSendCommand: [0x5313d60] Adb connected, start proxing data
> emulator: 'magic' skin format detected: 480x800
> emulator: WARNING: UpdateCheck: Failure: Error
> emulator: WARNING: UpdateCheck: failed to get the latest version, skipping
> check (current version '28.0.15-5109391')
> ==============
>
> Any help is appreciated to start the emulator for arm ?
>
--
--
You received this message because you are subscribed to the "Android Building"
mailing list.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-building?hl=en
---
You received this message because you are subscribed to the Google Groups
"Android Building" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.