android - Jenkins - 使用 Genymotion VM 而不是 Android Emulator

标签 android android-emulator jenkins genymotion

<分区>

有没有人设法让 Jenkins 使用 Genymotion android VM,而不是超慢的 android-emulator?

Genymotion 实际上比我的开发机器上的真实设备更快,因此非常适合运行 CI 测试。

感谢您的任何想法。

西蒙

最佳答案

如果你在 CI 服务器上启动 genymotion 并让它一直运行,那么它就可以正常工作。虽然如果你只是为了测试而唤醒它,然后关闭 id,那么是的,到现在为止你会错过一些 genymotion 的东西。

Jenkins Android 模拟器插件在这方面很有用,但仍然没有与 genymotion 等效的插件。 Genymotion 的脚本化程度仍然不足以在命令行上运行,最好是 headless 的。

然而,在我们工作的项目中,我们最近切换到 genymotion,启动一个“模拟器”,让它始终在 CI 服务器上运行并且一切正常。这真的很值得,我们将构建时间缩短了 2 倍,而且即使启用了 HAX,我们也不会遇到任何在真实模拟器上很常见的内存问题。

Genymotion 欢迎使用 jenkins 插件。我认为他们已经在他们的路线图上了。

关于android - Jenkins - 使用 Genymotion VM 而不是 Android Emulator,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/18182213/

相关文章:

安卓模拟器 : Telnet does not show the Sensor feature in my Android Studio version (2. 2.1)

android - 无法在 MacOS 上运行 React Native 的 Android 项目

android - youTubePlayerSupportFragment.initialize上的Nullpointer异常

android - 如何调试 cubic-bezier animation-timing-function

java - 软件部署流程

ant - Jenkins Ant 和动态 build.properties 文件

amazon-web-services - 查询 AWS CLI 以填充 Jenkins "Active Choices Reactive Parameter"(Linux)

java - 将搜索参数从 Activity 发送到 google map api (Android studio)

android - Nativescript Android 模拟器未运行

android - Visual Studio android 模拟器无法完全启动