[英]Has anyone gotten Appium IDE to work with the Genymotion Android emulator?
I'm having all sorts of trouble getting Appium to work with the Genymotion emulator. 让Appium与Genymotion模拟器一起使用时,我遇到各种麻烦。 I've worked with Appium and iOS extensively and without hassle, but getting setup with Android is quickly turning into a nightmare.
我已经与Appium和iOS进行了广泛的合作,没有麻烦,但是使用Android进行安装正迅速变成一场噩梦。
Does anyone have definitive steps on how to get Appium working with Genymotion? 是否有人在如何使Appium与Genymotion协同工作方面有明确的步骤? or any tips at least?
或至少有任何提示?
Current Appium setup 当前的Appium设置
app/build/outputs/apk/app-release-unsigned.apk
app/build/outputs/apk/app-release-unsigned.apk
Device Name: Android 设备名称:Android
Appium-doctor
is successful Appium-doctor
成功
Launch does not return any errors 启动不会返回任何错误
Running Inspector initially throws: error: Logcat capture failed: spawn ENOENT
运行Inspector最初引发:
error: Logcat capture failed: spawn ENOENT
[debug] Responding to client with success:
[debug] Responding to client with success:
Then Inspector throws: Could not start a new session
然后Inspector抛出:
Could not start a new session
Relaunching Inspector then looks successful. 重新启动Inspector看起来很成功。 Inspector opens and thumbnail view looks correct.
检查器打开,缩略图视图看起来正确。
Context
does not appear to do anything. Context
似乎没有任何作用。 I see that you are using a relative path app/build/outputs/apk/app-release-unsigned.apk
. 我看到您正在使用相对路径
app/build/outputs/apk/app-release-unsigned.apk
。 You need to use absolute path. 您需要使用绝对路径。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.