H2SO4T / ARES

Black-box tool that uses Deep Reinforcement Learning to test and explore Android applications
GNU Affero General Public License v3.0
70 stars 21 forks source link

Cannot start the 'com.android.insecurebankv2' application #17

Closed shiyuanxiang closed 2 years ago

shiyuanxiang commented 2 years ago

android version: 8.1 error happend when I run with the cmd: python test_application.py --instr_emma --appium_port "4723" --android_port "62002" --timer 10 --rotation --internet --emu normal --platform_version "8.1" --iterations 2 --algo random --timesteps 50 --trials_per_app 3 --apps "D:\code\pycharm\gym\test\test_resources\InsecureBankv2.apk" --save_policy

image-20221018212644209

shiyuanxiang commented 2 years ago

I have successfully instrumented the InsecureBankv2

H2SO4T commented 2 years ago

Hi, This is not a problem related to ARES. This is an application problem (it crashes) 😅 Moreover, if you used cosmo the correct flag to use is --instr_jacoco

shiyuanxiang commented 2 years ago

Can I use the my apps for testing?

H2SO4T commented 2 years ago

@shiyuanxiang yes you can use any app you want, however the InsecureBank crash is not related to ARES. I suggest you to investigate the crash causes using Logcat for example: https://f-droid.org/docs/Getting_logcat_messages_after_crash/