Fork of droidbot (https://github.com/honeynet/droidbot) that adds gym environment to Droidbot.
Python
(both 2 and 3 are supported)Java
Android SDK
- Add
platform_tools
directory in Android SDK toPATH
- (Optional)
OpenCV-Python
if you want to run DroidBot in cv mode.
Clone this repo and intall with pip
:
git clone
cd droidbot/
pip install -e .
- Gym (https://github.com/openai/gym for installation instructions)
- Stable-Baselines (https://github.com/hill-a/stable-baselines for installation instructions)
- TensorFlow
- pip install opencv-python
From terminal and droidbot directory run the "start_gym_env_q_learning.py" script. Example usage:
- python3 start_gym_env_q_learning.py -a my_apk_to_run.apk -o /my_output_dir/dqn_run_4 -is_emulator -policy gym