android.device

Details

Description

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.

I just upgraded to 2.11(.1) specifically because I started having this issue recently and am now facing another weird one which seems related:

After the plugin starts the emulator, its subsequent attempts to "connect" to it fail and ends up timing out. I see the emulator window available, but the sequence of "adb connect emulator-xxxx" and "adb -s emulator-xxxx shell getprop dev.bootcomplete" keeps on failing with a "error: device offline" error.

Roberto Andrade
added a comment - 2014-06-27 16:35 I just upgraded to 2.11(.1) specifically because I started having this issue recently and am now facing another weird one which seems related:
After the plugin starts the emulator, its subsequent attempts to "connect" to it fail and ends up timing out. I see the emulator window available, but the sequence of "adb connect emulator-xxxx" and "adb -s emulator-xxxx shell getprop dev.bootcomplete" keeps on failing with a "error: device offline" error.
any tips as to what could be the problem?

Roberto Andrade
added a comment - 2014-06-27 18:27 I reopened https://issues.jenkins-ci.org/browse/JENKINS-11952 as it seems to be a better fit for the issue description, but I think it might have been caused by the changes that fixed this issue.