honeynet / droidbot

A lightweight test input generator for Android. Similar to Monkey, but with more intelligence and cool features!
MIT License
791 stars 230 forks source link

Failed with momery_guided policy #129

Closed Prsaro closed 2 years ago

Prsaro commented 3 years ago

It runs well when policy is none, however failed when I turned the policy to momery_guided. image

INFO:androguard.apk:Starting analysis on AndroidManifest.xml
INFO:androguard.apk:APK file was successfully validated!
WARNING:androguard.core.api_specific_resources:Requested API level 29 is larger than maximum we have, returning API level 28 instead.
WARNING:InputEventManager:No valid input policy specified. Using policy "none".
INFO:DroidBot:Starting DroidBot
INFO:Device:waiting for device
ls: /data/local/tmp/minicap-devel: No such file or directory
ls: 2>/dev/null: No such file or directory
PID: 30627
INFO: Using projection 1176x2400@1176x2400/0
INFO: (external/MY_minicap/src/minicap_29.cpp:241) Creating SurfaceComposerClient
INFO: (external/MY_minicap/src/minicap_29.cpp:244) Performing SurfaceComposerClient init check
INFO: (external/MY_minicap/src/minicap_29.cpp:255) Creating virtual display
INFO: (external/MY_minicap/src/minicap_29.cpp:261) Creating buffer queue
INFO: (external/MY_minicap/src/minicap_29.cpp:264) Setting buffer options
INFO: (external/MY_minicap/src/minicap_29.cpp:268) Creating CPU consumer
INFO: (external/MY_minicap/src/minicap_29.cpp:272) Creating frame waiter
INFO: (external/MY_minicap/src/minicap_29.cpp:276) Publishing virtual display
INFO: (jni/minicap/JpgEncoder.cpp:64) Allocating 8526852 bytes for JPG encoder
INFO: (jni/minicap/minicap.cpp:448) New client connection
[CONNECTION] ADB is enabled and connected.
[CONNECTION] TelnetConsole is not enabled.
[CONNECTION] DroidBotAppConn is enabled and connected.
[CONNECTION] Minicap is enabled and connected.
[CONNECTION] Logcat is enabled and connected.
[CONNECTION] UserInputMonitor is enabled and connected.
[CONNECTION] ProcessMonitor is enabled and connected.
[CONNECTION] DroidBotIme is enabled and connected.
Please wait while installing the app...
Please wait while installing the app...
Please wait while installing the app...
Please wait while installing the app...
INFO:Device:App installed: com.yipo.tfb
INFO:Device:Main activity: com.yipo.tfb.MainActivity
INFO:AppEnvManager:Start deploying environment, policy is none
INFO:InputEventManager:start sending events, policy is momery_guided
INFO:InputEventManager:Finish sending events
[CONNECTION] ADB is disconnected
[CONNECTION] Minicap is disconnected
[CONNECTION] UserInputMonitor is disconnected
[CONNECTION] Logcat is disconnected
WARNING:DroidBotIme:Failed to disconnect DroidBotIME!
Please wait while uninstalling the app...
[CONNECTION] ProcessMonitor is disconnected
INFO:DroidBot:DroidBot Stopped

Thanks

yuanchun-li commented 2 years ago

Could you please provide the command line?

yuanchun-li commented 2 years ago

Closing this issue due to inactivity. BTW, just noticed that the policy name was misspelled (momery -> memory)