Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Uiautomator2与appium冲突,有人解决过吗 #37

Open
chendapeng1984 opened this issue Nov 26, 2021 · 1 comment
Open

Uiautomator2与appium冲突,有人解决过吗 #37

chendapeng1984 opened this issue Nov 26, 2021 · 1 comment

Comments

@chendapeng1984
Copy link

Uiautomator2与appium冲突,同一台机器都安装了话,appium就不能正常工作了,
安装Uiautomator2会自动安装com.github.uiautomator.test,
安装appium会自动安装io.appium.uiautomator2.server.test。
所以导致 在使用appium初始化driver时,会报UiAutomationService android.accessibilityservice.IAccessibilityServiceClient$Stub$Proxy@11be4eacalready registered!

@chendapeng1984
Copy link
Author

在capability配置中添加以下解决了:
skipServerInstallation: True
automationName: "uiautomator2"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant