• MixMonkey 基于 Android Monkey at 2019年01月09日

    发现这个bug了,请问是不是使用的全面屏手机,带屏幕虚拟按键的,现在这个问题已经修改好,还没有更新jar包,去掉了physical keys的检查,
    现在还有一个问题是在全面屏幕手机(暂时测试了8.0和9.0)上执行--pct-appswitch事件就会停止运行,暂时还不知道如何解决,崩溃日志如下

    01-02 20:31:20.827 1341 1341 V SettingsProvider: Notifying for 0: content://settings/secure/accessibility_enabled
    01-02 20:31:20.839 1341 2076 W Binder : Outgoing transactions from this process must be FLAG_ONEWAY
    01-02 20:31:20.839 1341 2076 W Binder : java.lang.Throwable
    01-02 20:31:20.839 1341 2076 W Binder : at android.os.BinderProxy.transact(Binder.java:1116)
    01-02 20:31:20.839 1341 2076 W Binder : at com.miui.server.ISplashScreenService$Stub$Proxy.requestSplashScreen(ISplashScreenService.java:202)
    01-02 20:31:20.839 1341 2076 W Binder : at com.miui.server.SplashScreenServiceDelegate.requestSplashScreen(SplashScreenServiceDelegate.java:338)
    01-02 20:31:20.839 1341 2076 W Binder : at com.android.server.am.ExtraActivityManagerService.requestSplashScreen(ExtraActivityManagerService.java:910)
    01-02 20:31:20.839 1341 2076 W Binder : at com.android.server.am.ActivityStarter.startActivityMayWait(ActivityStarter.java:1126)
    01-02 20:31:20.839 1341 2076 W Binder : at com.android.server.am.ActivityStarter.execute(ActivityStarter.java:494)
    01-02 20:31:20.839 1341 2076 W Binder : at com.android.server.am.ActivityManagerService.startActivityAsUser(ActivityManagerService.java:5301)
    01-02 20:31:20.839 1341 2076 W Binder : at com.android.server.am.ActivityManagerService.startActivityAsUser(ActivityManagerService.java:5275)
    01-02 20:31:20.839 1341 2076 W Binder : at com.android.server.am.ActivityManagerService.startActivity(ActivityManagerService.java:5266)
    01-02 20:31:20.839 1341 2076 W Binder : at android.app.IActivityManager$Stub.onTransact$startActivity$(IActivityManager.java:10164)
    01-02 20:31:20.839 1341 2076 W Binder : at android.app.IActivityManager$Stub.onTransact(IActivityManager.java:123)
    01-02 20:31:20.839 1341 2076 W Binder : at com.android.server.am.ActivityManagerService.onTransact(ActivityManagerService.java:3383)
    01-02 20:31:20.839 1341 2076 W Binder : at android.os.Binder.execTransact(Binder.java:733)
    01-02 20:31:20.850 1341 2076 I SplashScreenServiceDelegate: requestSplashScreen 11ms
    01-02 20:31:20.851 1341 2076 I ActivityManager: START u0 {act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=/.HomeActivity} from uid 0
    01-02 20:31:20.851 1341 2076 W Binder : Outgoing transactions from this process must be FLAG_ONEWAY
    01-02 20:31:20.851 1341 2076 W Binder : java.lang.Throwable
    01-02 20:31:20.851 1341 2076 W Binder : at android.os.BinderProxy.transact(Binder.java:1116)
    01-02 20:31:20.851 1341 2076 W Binder : at android.app.IActivityController$Stub$Proxy.activityStarting(IActivityController.java:176)
    01-02 20:31:20.851 1341 2076 W Binder : at com.android.server.am.ActivityStarter.startActivity(ActivityStarter.java:782)
    01-02 20:31:20.851 1341 2076 W Binder : at com.android.server.am.ActivityStarter.startActivity(ActivityStarter.java:552)
    01-02 20:31:20.851 1341 2076 W Binder : at com.android.server.am.ActivityStarter.startActivityMayWait(ActivityStarter.java:1214)
    01-02 20:31:20.851 1341 2076 W Binder : at com.android.server.am.ActivityStarter.execute(ActivityStarter.java:494)
    01-02 20:31:20.851 1341 2076 W Binder : at com.android.server.am.ActivityManagerService.startActivityAsUser(ActivityManagerService.java:5301)
    01-02 20:31:20.851 1341 2076 W Binder : at com.android.server.am.ActivityManagerService.startActivityAsUser(ActivityManagerService.java:5275)
    01-02 20:31:20.851 1341 2076 W Binder : at com.android.server.am.ActivityManagerService.startActivity(ActivityManagerService.java:5266)
    01-02 20:31:20.851 1341 2076 W Binder : at android.app.IActivityManager$Stub.onTransact$startActivity$(IActivityManager.java:10164)
    01-02 20:31:20.851 1341 2076 W Binder : at android.app.IActivityManager$Stub.onTransact(IActivityManager.java:123)
    01-02 20:31:20.851 1341 2076 W Binder : at com.android.server.am.ActivityManagerService.onTransact(ActivityManagerService.java:3383)
    01-02 20:31:20.851 1341 2076 W Binder : at android.os.Binder.execTransact(Binder.java:733)

  • MixMonkey 基于 Android Monkey at 2019年01月02日

    还在开发阶段,感谢关注:)

  • MixMonkey 基于 Android Monkey at 2019年01月02日

    需要关注android不同版本的差异,用反射实现兼容,monkey源码差异不大,android的uiautomation可以了解下,可以看下uiautomator的源码实现获取控件,其他按照monkey的思路开发就可以

  • MixMonkey 基于 Android Monkey at 2019年01月02日

    请问同时设置事件数了吗,就是命令最后一个值,将他改为10试下呢

  • MixMonkey 基于 Android Monkey at 2019年01月02日

    我们的应用是原生的,webview暂时还不支持,没有考虑到这个情景,感谢反馈!

  • MixMonkey 基于 Android Monkey at 2019年01月01日

    是的

  • 已阅

美味小茄茄