Code Monkey home page Code Monkey logo

Comments (25)

WECENG avatar WECENG commented on June 10, 2024 2

@E1se2t 这种情况目前在处理着

from ticket-purchase.

OyeNeko avatar OyeNeko commented on June 10, 2024 1

appium driver install uiautomator2

from ticket-purchase.

WECENG avatar WECENG commented on June 10, 2024 1

@stone-98 嗯嗯,后续会完善使用教程

from ticket-purchase.

WECENG avatar WECENG commented on June 10, 2024

需要使用app,需要连接真实设备。不进行调试的话不需要装模拟器。
YourDeviceName可以不填,非必填

from ticket-purchase.

stone-98 avatar stone-98 commented on June 10, 2024

您好~使用真实设备的话,是否有对应的教程呢?因为不太熟悉安卓这块。

from ticket-purchase.

WECENG avatar WECENG commented on June 10, 2024

连USB或者连同一个无线网络,然后用 adb devices命令检测一下是否存在可用设备。若存在,启动程序会自动连接

from ticket-purchase.

stone-98 avatar stone-98 commented on June 10, 2024

image
我这个报错是什么原因?能帮忙看下嘛?

from ticket-purchase.

WECENG avatar WECENG commented on June 10, 2024

npm install appium-uiautomator2-driver 使用该命令安装驱动

from ticket-purchase.

stone-98 avatar stone-98 commented on June 10, 2024

image
我是安装完成,再启动的。

from ticket-purchase.

stone-98 avatar stone-98 commented on June 10, 2024

我安装完成之后

C:\Users\admin>appium driver list
√ Listing available drivers list
- uiautomator2 [not installed]
- xcuitest [not installed]
- mac2 [not installed]
- espresso [not installed]
- safari [not installed]
- gecko [not installed]
- chromium [not installed]

显示uiautomator2 [not installed]no active sessions for cleanup,不知道什么原因。

from ticket-purchase.

WECENG avatar WECENG commented on June 10, 2024

adb devices命令检测一下是否存在可用设备

from ticket-purchase.

stone-98 avatar stone-98 commented on June 10, 2024

image
是显示了有设备的,我安装了雷电模拟器,是否需要指定启动名称呢?

from ticket-purchase.

stone-98 avatar stone-98 commented on June 10, 2024

需要使用app,需要连接真实设备。不进行调试的话不需要装模拟器。 YourDeviceName可以不填,非必填

YourDeviceName我没有填,那它会找不到设备嘛?

from ticket-purchase.

WECENG avatar WECENG commented on June 10, 2024

不会

from ticket-purchase.

stone-98 avatar stone-98 commented on June 10, 2024

奇怪的是我使用npm install appium-uiautomator2-driver安装完成后,通过appium driver list,却显示它没有安装.
image
image

from ticket-purchase.

stone-98 avatar stone-98 commented on June 10, 2024

@OyeNeko uiautomator2?不是appium-uiautomator2-driver嘛?

from ticket-purchase.

stone-98 avatar stone-98 commented on June 10, 2024

appium driver install uiautomator2

我安装uiautomator2后,没有驱动问题了,我再试试,感谢

from ticket-purchase.

stone-98 avatar stone-98 commented on June 10, 2024
# 操作系统版本
device_app_info.set_capability('platformVersion', '10')

上述显示设置的os版本为10,我的模拟器的版本为9,我将它改为9有什么影响嘛?@WECENG

from ticket-purchase.

WECENG avatar WECENG commented on June 10, 2024

改成对应版本

from ticket-purchase.

stone-98 avatar stone-98 commented on June 10, 2024

@WECENG 感谢~

from ticket-purchase.

stone-98 avatar stone-98 commented on June 10, 2024

@WECENG 你使用的时候,有出现过就是抢票的频率过高,需要输入验证码嘛?

from ticket-purchase.

E1se2t avatar E1se2t commented on June 10, 2024

image
这种情况处理了吗?

from ticket-purchase.

stone-98 avatar stone-98 commented on June 10, 2024

@OyeNeko uiautomator2?不是appium-uiautomator2-driver嘛?

@WECENG 这个感觉可以在教程上面完善一下~

from ticket-purchase.

EXPi0 avatar EXPi0 commented on June 10, 2024
Screenshot 2024-05-01 at 14 13 48 请问这种报错怎么解决呢?

from ticket-purchase.

WECENG avatar WECENG commented on June 10, 2024

@EXPi0 服务端没启动吧

from ticket-purchase.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.