A Systematic Study of Deprecated Android API Usage Updates
Tarek Mahmud, Meiru Che, Guowei Yang
Key points
From the paper's conclusion- On 156 benchmark tasks, the pattern-guided prompt improves correct updates from 139 to 147 and performs better in five of the six categories.
Abstract
Android Application Programming Interfaces (APIs) continuously evolve, causing existing APIs to become deprecated and requiring developers to migrate their usages to recommended replacements. Although prior studies have proposed automated migration techniques, their effectiveness is often limited by the diversity and contextual complexity of API changes. This paper presents a systematic study of deprecated Android APIs, their recommended replacements, and real-world usage updates performed by developers. Based on an analysis of 1,000 deprecated APIs and 4,336 migration examples collected from GitHub, we identify six migration categories and derive recurring usage-update patterns involving Android-version checks, parameter adaptation, object initialization, data-type conversion, and changes in API interaction mechanisms. To assess their applicability, we augment the zero-shot GUPPY benchmark prompts with the migration category and corresponding usage-update pattern. On 156 benchmark tasks, the pattern-guided prompt improves correct updates from 139 to 147 and performs better in five of the six categories.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- GhostAPI-V: Evaluating Audited Diagnostics for Internal API Migration RepairarXiv · 2026
- Bridge: Automatically Mining Ecosystem-Scale API Update Mappings and Client Update InstancesarXiv · 2026
- Byam: Fixing Breaking Dependency Updates with Large Language ModelsEmpirical Software Engineering · 2026
- Spell : Synthesis of Programmatic Edits Using LLMsACM Transactions on Software Engineering and Methodology · 2026
- Automated Program Repair for UI-Centric Android Bugs: How Far Are We?Proceedings of the ACM on Software Engineering · 2026
- OptiMine: Scalable and Precise Code Optimization for Android Apps via LLM-Driven Semantic AnalysisProceedings of the ACM on Software Engineering · 2026