Skip to content

emulator does not seem to be fully downloaded on windows/linux #369

Closed
@codeanticode

Description

@codeanticode

The sdk/emulator folder containing qemu-system-i386.exe, etc. is missing (on windows and linux).

When installing the SDK through Android Studio, the emulator files are downloaded from https://dl.google.com/android/repository/emulator-windows-4077558.zip, in fact, these (for each platform, linux, windows, mac) are listed in the repository file. @rupak0577 we are not downloading the emulator packages in SDKDownloader, right?

As a related note, the issue of hardware acceleration also needs to be taken care of. For instance, x86 images won't work on Intel CPUs if HAXM is not installed, this requires downloading additional packages and prompting the user to install them (btw, on AMD cpus, x86 images won't work, only ARM).

Finally, if one installs the emulator package manually, Processing would download the image, but then (for sure on Linux, but I believe on Windows as well) it fails to create the avd with the following message:

Error: Package path is not valid. Valid system image paths are:system-images;android-25;android-wear;x86null
Auto-selecting single ABI x86Error: AVD not created.null

It is possible to create the required AVDs manually (i.e.: avdmanager create avd -n "processing-phone" -k "system-images;android-25;google_apis;x86" -d "Nexus 5", and then Processing will be able to run the sketch in the emulator, either when the emulator is launched from the command line, or from Processing.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions