-
Bug
-
Resolution: Fixed
-
Minor
-
None
The following configuration of the android-maven-plugin will not find the running emulator on Jenkins.
Commenting this line will find the emulator.
On my local machine this is working fine, but not in Jenkins.
Both machines use maven 3.0.4 on Linux/Ubuntu.
<groupId>com.jayway.maven.plugins.android.generation2</groupId>
<artifactId>android-maven-plugin</artifactId>
<configuration>
...
<device>emulator</device>
...
</configuration>
</plugin>
This configuration is useful on the local machine, if you are developing while charging your phone via USB.
Best regards, that's a really nice plugin!
Sebl29
Proof of concept fix committed to my personal github a-e-p fork.
https://github.com/oldelvet/android-emulator-plugin/tree/jenkins-12821-poc
I intend to implement the port allocator side of this in due course but have verified that the fix allows android.device=emulator to work with the proof of concept.