NEW: We developed a tool named A11yScan based on Xbot to automatically detect accessibility issues in Android apps.
NEW: We developed a tool named IRIS based on Xbot to automatically repair the color-based accessibility issues in Android apps.
We have made the source code of Xbot and the corresponding dataset publicly available. We hope this project can benefit other researchers or practitioners in the field of accessibility testing of Android apps. Please feel free to contact us if you have any questions or issues. We will continue to maintain this project. Thanks for your feedback.
- Ubuntu/Macbook
- Python: 2.7
- APKTool: 2.6.1 (Please use the newest version of APKTool)
- Android emulator provided by Android Studio 4.2.2: X86_64, Android 7.1.1, Google APIs, 1920 * 1080
- Android environment: adb, aapt (important)
- Java environment (jdk): jdk1.8.0_45
- Open ~/.bashrc and configure the path of JDK and SDK (Replace by your own paths):
export JAVA_HOME=/usr/lib/jvm/jdk1.8.0_45
export JAVA_BIN=/usr/lib/jvm/jdk1.8.0_45/bin
export CLASSPATH=.:${JAVA_HOME}/lib/dt.jar:${JAVA_HOME}/lib/tools.jar
export PATH=$PATH:${JAVA_HOME}/bin
export PATH=$PATH:/home/dell/Android/Sdk/tools
export PATH=$PATH:/home/dell/Android/Sdk/platform-tools
export PATH=$PATH:/home/dell/Android/Sdk/emulator
export JAVA_HOME JAVA_BIN CLASSPATH PATH
Screencast.2022-08-23.10.19.19.mp4
Python run_xbot.py [emulator_name] [apk(s)_folder]
Screencast.2022-08-24.13.22.25.mp4
Accessibility issue gallery and samples: https://sites.google.com/view/mobile-accessibility/
[1] Accessible or Not? An Empirical Investigation of Android App Accessibility
@inproceedings{chen2019storydroid,
title={Accessible or Not? An Empirical Investigation of Android App Accessibility},
author={Chen, Sen and Chen, Chunyang and Fan, Lingling and Fan, Mingming and Zhan, Xian and Liu, Yang},
booktitle={IEEE Transactions on Software Engineering (TSE)},
year={2021},
organization={IEEE}
}
Sen Chen All Copyright Reserved.