Android Emulator

jonathan.peppers's Avatar

jonathan.peppers

17 Jul, 2017 06:30 PM

Is there a working example of launching an Android emulator to run tests with? I have not been successful in figuring this out myself.

The documentation doesn't mention the paths to the Android SDK/NDK either: https://www.appveyor.com/docs/build-environment/#pre-installed-software

Thanks,

  1. Support Staff 1 Posted by Ilya Finkelshte... on 20 Jul, 2017 02:44 AM

    Ilya Finkelshteyn's Avatar

    Hi Jonathan,

    Android SDK is located here: C:\Program Files (x86)\Android\android-sdk, but we are not aware of any working example of launching an Android emulator on AppVeyor.

    I can be mistaken, but I think that Android emulator required virtualization support. AppVeyor build is running on VMs, and we are currently do not support nested virtualization.

    What may work for you is private build cloud, specifically running AppVeyor build agent on physical machine with Hyper-V locally.

    However this feature is available for Premium plan accounts only, Trial is free. Let us know if you are interested.

    Ilya.

  2. 2 Posted by jonathan.pepper... on 20 Jul, 2017 03:29 AM

    jonathan.peppers's Avatar

    Hi, I think technically an arm emulator (non-haxm) would probably work, but I don't think it's something we want to figure out if others haven't gotten it to work on AppVeyor.

    I think we need to look at a dedicated build agent.

    Thanks for the help,

  3. Support Staff 3 Posted by Ilya Finkelshte... on 20 Jul, 2017 08:41 AM

    Ilya Finkelshteyn's Avatar

    OK, let us know if/when you want us to enable private build cloud trial for you.

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:

»

Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac