[arquillian-issues] [JBoss JIRA] (ARQ-1568) Droidium fails if emulator is about to start and there is not API level 10 and apiLevel is not in config

Stefan Miklosovic (JIRA) jira-events at lists.jboss.org
Thu Nov 14 04:32:05 EST 2013


Stefan Miklosovic created ARQ-1568:
--------------------------------------

             Summary: Droidium fails if emulator is about to start and there is not API level 10 and apiLevel is not in config
                 Key: ARQ-1568
                 URL: https://issues.jboss.org/browse/ARQ-1568
             Project: Arquillian
          Issue Type: Enhancement
      Security Level: Public (Everyone can see)
          Components: Extension - Droidium
            Reporter: Stefan Miklosovic


Given:

1. Already existing emulator with API level != 10 available
2. Emulator is not started prior to tests
3. API level 10 is not installed locally on developers machine
4. apiLevel configuration option is not set in arquillian.xml

When:

I want to start emulator with the environment above

Then:

Droidium does not fail.

The reason why it fails is that in case AVD of such name in avdName property does not exist, Droidium tries to create AVD dynamically and it is deleted after tests. Default API level is 10 so when apiLevel is not specified, it attempts to create emulator with that API level, but it might not be present on the system - so it fails.

The workaround could be to filter all available API level and choose the lowest one as the default one and not API level 10 which is set statically.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the arquillian-issues mailing list