Android Compatibility Issue Detection Using API Differences
Tarek Mahmud, Meiru Che, Guowei Yang · IEEE International Conference on Software Analysis, Evolution and Reengineering (SANER) · 2021
Android apps are developed using a Software Development Kit (SDK), where the Android application programming interface (API) enables app developers to harness the functionalities of Android devices by interacting with services and hardware. However, API frequently evolves together with its associated SDK. The mismatch between the API level supported by the device where apps are installed and the API level targeted by app developers can induce compatibility issues. These issues can manifest themselves as unexpected behaviors, including runtime crashes, creating a poor user experience. In this paper, we propose ACID, a novel approach to detecting compatibility issues caused by API evolution. We leverage API differences and static analysis of the source code of Android apps to detect both API invocation compatibility issues and API callback compatibility issues. Experiments on 20 benchmark apps from previous studies show that ACID is more accurate and faster in detecting compatibility issues than state-of-the-art. We also analyzed 35 more real-world apps to show the practical applicability of our approach.
Cited by 29 works. doi:10.1109/saner50967.2021.00051
Authors
References
- The Soot framework for Java program analysis: a retrospective
- An Empirical Study of API Stability and Adoption in the Android Ecosystem
- API change and fault proneness: a threat to the success of Android apps
- Taming Android fragmentation: characterizing and detecting compatibility issues for Android apps
- How do API changes trigger stack overflow discussions? a study on the Android SDK
- CiD: automating the detection of API-related compatibility issues in Android apps
- Large-scale analysis of framework-specific exceptions in Android apps
- Eclipse API usage: the good and the bad
- Exploring the Intent behind API Evolution: A Case Study
- Understanding and detecting evolution-induced compatibility issues in Android apps