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

(使用帮助)小米设备需开启模拟点击 #3

Open
zhangzhao4444 opened this issue Jan 25, 2018 · 1 comment
Open

(使用帮助)小米设备需开启模拟点击 #3

zhangzhao4444 opened this issue Jan 25, 2018 · 1 comment

Comments

@zhangzhao4444
Copy link
Owner

当运行monkey命令 几秒后monkey退出运行。
log如下:

......
:Switch: #Intent;action=android.intent.action.MAIN;category=android.intent.category.LAUNCHER;launchFlags=0x10200000;component=com.shiyin/.Splash_MainActivity;end
// Allowing start of Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] cmp=com.shiyin/.Splash_MainActivity } in package com.shiyin
// Allowing start of Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] cmp=com.shiyin/.Splash_MainActivity } in package com.shiyin
Sleeping for 300 milliseconds
:Sending Touch (ACTION_DOWN): 0:(292.0,224.0)
:Sending rotation degree=0, persist=false

请尝试 开启 “开发者选项” -> "USB调试(安全设置) 允许通过usb调试修改权限或模拟点击"

@zhangzhao4444
Copy link
Owner Author

另 小米手机 需要开启 【USB调试】和【USB调试(安全设置)
http://www.miui.com/thread-5711795-1-1.html

@zhangzhao4444 zhangzhao4444 changed the title (使用帮助)关于小米3s 跑monkey时报错 (使用帮助)小米设备需开启模拟点击 May 31, 2021
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