Comments (8)
I'm sorry!
Thanks for your advice, it's helpful, I will try it.
from ares.
Dear @mingxiaoshan123, can you describe in detail your error? at the moment your issue is not useful.
Anyway I have tested both the algorithms, and they work.
from ares.
master branch
Q : takes 5 positional arguments but 8 were given
my command like this:
python parallel_exec.py --instr_jacoco --save_policy --list_devices "Nexus6" --appium_ports "4723" --android_ports "5554" --path "apks" --timer 60 --algo Q --timesteps 4000 --app_dir "D:\android_project\ru.meefik.busybox_46_src\ru.meefik.busybox_46_src.tar.gz\app"
I have change some code, then it is fixed.
from ares.
please note that --app_dir
is not a flag of ARES.
from ares.
Hi, how to deal with unsupported signal?
master branch
random: ERROR Unsupported signal: 2
log like this:
2021-12-29T09:37:41.291625+0800 ERROR Unsupported signal: 2 2021-12-29T09:38:17.634472+0800 ERROR Unsupported signal: 2 2021-12-29T09:38:55.439177+0800 ERROR Unsupported signal: 2
2021-12-29T09:38:26.320041+0800 DEBUG <--- EPISODE RESET ---> 2021-12-29T09:38:28.842751+0800 DEBUG action: Open navigation drawer Activity: ru.meefik.busybox.MainActivity 2021-12-29T09:38:31.898851+0800 DEBUG action: ru.meefik.busybox.MainActivity.androidx.appcompat.widget.LinearLayoutCompat. Activity: ru.meefik.busybox.MainActivity 2021-12-29T09:38:33.107675+0800 DEBUG action: ru.meefik.busybox:id/outputView Activity: ru.meefik.busybox.MainActivity 2021-12-29T09:38:33.685839+0800 DEBUG action: ru.meefik.busybox:id/removeBtn Activity: ru.meefik.busybox.MainActivity 2021-12-29T09:38:34.495224+0800 DEBUG pressed menu button 2021-12-29T09:38:34.706071+0800 DEBUG action: android:id/button2 Activity: ru.meefik.busybox.MainActivity 2021-12-29T09:38:35.531258+0800 DEBUG action: ru.meefik.busybox:id/outputView Activity: ru.meefik.busybox.MainActivity 2021-12-29T09:38:36.090926+0800 DEBUG action: ru.meefik.busybox:id/outputView Activity: ru.meefik.busybox.MainActivity 2021-12-29T09:38:36.650048+0800 DEBUG action: ru.meefik.busybox:id/removeBtn Activity: ru.meefik.busybox.MainActivity 2021-12-29T09:38:37.451703+0800 DEBUG action: android:id/button1 Activity: ru.meefik.busybox.MainActivity 2021-12-29T09:38:38.243559+0800 DEBUG pressed menu button 2021-12-29T09:38:38.401866+0800 DEBUG pressed menu button 2021-12-29T09:38:38.559064+0800 DEBUG action: ru.meefik.busybox:id/removeBtn Activity: ru.meefik.busybox.MainActivity 2021-12-29T09:38:39.333311+0800 DEBUG pressed menu button 2021-12-29T09:38:39.524802+0800 DEBUG action: android:id/button2 Activity: ru.meefik.busybox.MainActivity 2021-12-29T09:38:40.306887+0800 DEBUG action: Open navigation drawer Activity: ru.meefik.busybox.MainActivity 2021-12-29T09:38:43.260549+0800 DEBUG action: ru.meefik.busybox:id/outputView Activity: ru.meefik.busybox.MainActivity 2021-12-29T09:38:46.515203+0800 DEBUG action: ru.meefik.busybox:id/removeBtn Activity: ru.meefik.busybox.MainActivity 2021-12-29T09:38:55.439177+0800 ERROR Unsupported signal: 2
from ares.
The errors should be described always in details...
Which version of android are you using?
Which version of python are you using?
Which version of the app are you using?
Which version of appium are you using?
Anyway the error seems related to an unsupported version of android
from ares.
Using the latest version of this app: https://github.com/meefik/busybox/releases/tag/1.31.1
and
- Android Version: 10
- Python 3.8
- Appium 1.22
- random algorithm
- these flags
--list_devices "API31" --appium_ports "4270" --android_ports "5554" --path "apps" --timer 60 --rotation --internet --emu normal --platform_version 10 --iterations 10 --algo random --timesteps 4000 --trials_per_app 2
everything works fine.
from ares.
Nice to help you, just remember to give me all the info about your config next time ;)
from ares.
Related Issues (17)
- Some questions about running HOT 1
- Quick question about SACExploration.py HOT 4
- which version of appium should I install? HOT 5
- adb: error: failed to stat remote object '/mnt/sdcard/coverage.x': No such file or directory HOT 3
- Cannot start the 'com.android.insecurebankv2' application HOT 4
- Evaluate a trained model HOT 1
- Crash after the error "type numpy.ndarray doesn't define __round__ method"
- about the observation HOT 1
- Adb error - failed to access HOT 5
- Problem when running ARES HOT 2
- Reload a previously learned navigation policy HOT 2
- where can I get your app benchmark ? HOT 1
- how to use collect_coverage_emma and collect_coverage_jacoco
- Some quetions about app experiment HOT 4
- Some questions about RL_application_env.py HOT 16
- ARES seems blocked HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ares.