[
https://issues.jenkins-ci.org/browse/JENKINS-12673?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=158750#comment-158750
]
Christopher Orr commented on JENKINS-12673:
-------------------------------------------
How are you starting the emulator? Using the plugin, or via some other means?
Which plugin version?
Can you possibly post all/more of the build log, including the start and
anything else Android- or adb-related.
Thanks.
> Can't install apk and adb devices shows there is no device/emulator
> -------------------------------------------------------------------
>
> Key: JENKINS-12673
> URL: https://issues.jenkins-ci.org/browse/JENKINS-12673
> Project: Jenkins
> Issue Type: New Feature
> Components: android-emulator
> Environment: OSX
> Reporter: Kevin Chow
> Assignee: Christopher Orr
>
> I use Install Android Package Option in Build Step
> Before running the installer, I did adb devices and it's showing the emulator
> + /tmp/jenkins/tools/android-sdk/platform-tools/adb devices
> 15:50:37 List of devices attached
> 15:50:37 localhost:49651 device
> 15:50:37
> 15:50:37 [android] Installing APK file 'EM_Runtime.apk'
> 15:50:37 $ /tmp/jenkins/tools/android-sdk/platform-tools/adb -s
> localhost:49651 install -r Runtime.apk
> 15:50:47 729 KB/s (7369965 bytes in 9.870s)
> 15:50:50 pkg: /data/local/tmp/Runtime.apk
> 15:51:27 - waiting for device -
> It's supposed to show "Succeed" which is not. I tried to run this again:
> + /tmp/jenkins/tools/android-sdk/platform-tools/adb devices
> It would just restart adb.
> Is it a known issue? Anyway that I could resolve it?
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.jenkins-ci.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira