Android monkey. 在一个页面测试

adb shell monkey -p tv.danmaku.bili-s 120000 --hprof --ignore-timeouts --ignore-crashes --ignore-security-exceptions --pct-touch 43 --pct-motion 23 --pct-syskeys 28 --pct-appswitch 1 --pct-majornav 1 --pct-trackball 0 --ignore-native-crashes --monitor-native-crashes --throttle 500 -v -v -v 691200

设置--pct-appswitch 1   就很少会切页面了。 

也尝试了https://blog.csdn.net/u014248060/article/details/80538208 这个方法, 但没有生效

猜你喜欢

转载自www.cnblogs.com/zqlmmd/p/12613100.html