如何从 Jenkins 运行 Android 模拟器来运行我的测试? 当我在 Execiute Windows bath 命令中写入时,运行模拟器的命令:
emulator -avd Tester
然后运行我的测试我有这个错误:
..>emulator -avd Tester 'emulator' is not recognized as an internal or external command, operable program or batch file.
..>exit 9009 Build step 'Execute Windows batch command' marked build as failure
我在 Windows 路径中设置了 Android_SDK 和 java 的路径,它可以从 cmd 运行。 我应该怎么做才能运行模拟器?
最佳答案
您可以使用 Android Emulator Plugin for Jenkins 自动执行该过程.
关于java - 从 Jenkins 运行 Android 模拟器以使用 Robotium 运行 Junit 测试,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/11346556/