简体   繁体   English

有没有人获得Appium IDE来与Genymotion Android仿真器一起使用?

[英]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设置

  • Appium build: v1.3.0 (Beta) <= due to ios8 Appium版本:由于iOS8,v1.3.0(测试版)<=
  • App Path: is pointing to app/build/outputs/apk/app-release-unsigned.apk 应用程序路径:指向app/build/outputs/apk/app-release-unsigned.apk
  • Package: referenced from Android DDMS 包:从Android DDMS引用
  • Platform Name: Android 平台名称:Android
  • Automation Name: Appium 自动化名称:Appium
  • Platform Version: 4.4 KitKat (API Level 19) 平台版本:4.4 KitKat(API级别19)
  • 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

  • Then Inspector looks successful: [debug] Responding to client with success: 然后Inspector看起来很成功: [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. 检查器打开,缩略图视图看起来正确。

  • But Inspector does not show any selector paths 但是检查器不会显示任何选择器路径

  • Changing 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.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM