Lune

ICSE2022Top-tier venue

Towards Automatically Repairing Compatibility Issues in Published Android Apps

Yanjie Zhao, Li Li, Kui Liu, John C. Grundy

Abstract

The heavy fragmentation of the Android ecosystem has led to severe compatibility issues with apps, including those that crash at runtime or cannot be installed on certain devices but work well on other devices. To address this problem, various approaches have been proposed to detect and fix compatibility issues automatically. However, these all come with various limitations on fixing the compatibility issues, e.g., can only fix one specific type of issues, cannot deal with multi-invocation issues in a single line and issues in released apps. To overcome these limitations, we propose a generic approach that aims at fixing more types of compatibility issues in released Android apps. To this end, our prototype tool, Repair-Droid, provides a generic app patch description language for users to create fix templates for compatibility issues. The created templates will then be leveraged by RepairDroid to automatically fix the corresponding issue at the bytecode level (e.g., right before users install the app). RepairDroid can support template creations for OS-induced, device-specific and inter-callback compatibility issues detected by three state-of-the-art approaches. Our experimental results show that RepairDroid can fix 7,660 out of 8,976 compatibility issues in 1,000 randomly selected Google Play apps. RepairDroid is generic to configure new compatibility issues and outperforms the state-of-the-art on effectively repairing compatibility issues in released Android apps.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

6 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Compatibility Issues in Deep Learning Systems: Problems and Opportunities cites Automatically detecting API-induced compatibility issues in Android apps: a comparative analysis (replicability study)
  • Compatibility Issues in Deep Learning Systems: Problems and Opportunities cites How Android developers handle evolution-induced API compatibility issues: a large-scale study
  • Compatibility Issues in Deep Learning Systems: Problems and Opportunities cites Exploring how deprecated Python library APIs are (not) handled
  • Automatically detecting API-induced compatibility issues in Android apps: a comparative analysis (replicability study) cites How Android developers handle evolution-induced API compatibility issues: a large-scale study
  • GUIPilot: A Consistency-Based Mobile GUI Testing Approach for Detecting Application-Specific Bugs cites Compatibility Issue Detection for Android Apps Based on Path-Sensitive Semantic Analysis
  • GUIPilot: A Consistency-Based Mobile GUI Testing Approach for Detecting Application-Specific Bugs cites ConfFix: Repairing Configuration Compatibility Issues in Android Apps
  • Compatibility Issue Detection for Android Apps Based on Path-Sensitive Semantic Analysis cites Automatically detecting API-induced compatibility issues in Android apps: a comparative analysis (replicability study)
  • Compatibility Issue Detection for Android Apps Based on Path-Sensitive Semantic Analysis cites How Android developers handle evolution-induced API compatibility issues: a large-scale study
  • Evaluating Representation Learning of Code Changes for Predicting Patch Correctness in Program Repair cites On the efficiency of test suite based program repair: A Systematic Assessment of 16 Automated Repair Systems for Java Programs
  • ConfFix: Repairing Configuration Compatibility Issues in Android Apps cites Automatically detecting API-induced compatibility issues in Android apps: a comparative analysis (replicability study)
  • ConfFix: Repairing Configuration Compatibility Issues in Android Apps cites How Android developers handle evolution-induced API compatibility issues: a large-scale study
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers6

  1. Automatically detecting API-induced compatibility issues in Android apps: a comparative analysis (replicability study)Pei Liu, Yanjie Zhao, Haipeng Cai, Mattia Fazzini et al.ISSTA 2022 · 21 citations
  2. Compatibility Issues in Deep Learning Systems: Problems and OpportunitiesJun Wang, Guanping Xiao, Shuai Zhang, Huashan Lei et al.FSE 2023 · 13 citations
  3. Compatibility Issue Detection for Android Apps Based on Path-Sensitive Semantic AnalysisSen Yang, Sen Chen, Lingling Fan, Sihan Xu et al.ICSE 2023 · 12 citations
  4. ConfFix: Repairing Configuration Compatibility Issues in Android AppsHuaxun Huang, Chi Xu, Ming Wen, Yepang Liu et al.ISSTA 2023 · 10 citations
  5. GUIPilot: A Consistency-Based Mobile GUI Testing Approach for Detecting Application-Specific BugsRuofan Liu, Xiwen Teoh, Yun Lin, Guanjie Chen et al.ISSTA 2025 · 5 citations

Builds on7

  1. On the efficiency of test suite based program repair: A Systematic Assessment of 16 Automated Repair Systems for Java ProgramsKui Liu, Shangwen Wang, Anil Koyuncu, Kisub Kim et al.ICSE 2020 · 116 citations
  2. Evaluating Representation Learning of Code Changes for Predicting Patch Correctness in Program RepairHaoye Tian, Kui Liu, Abdoul Kader Kaboré, Anil Koyuncu et al.ASE 2020 · 81 citations
  3. Exploring how deprecated Python library APIs are (not) handledJiawei Wang, Li Li, Kui Liu, Haipeng CaiFSE 2020 · 52 citations
  4. JuCify: A Step Towards Android Code Unification for Enhanced Static AnalysisJordan Samhi, Jun Gao, Nadia Daoudi, Pierre Graux et al.ICSE 2022 · 43 citations
  5. How Android developers handle evolution-induced API compatibility issues: a large-scale studyHao Xia, Yuan Zhang, Yingtian Zhou, Xiaoting Chen et al.ICSE 2020 · 38 citations

Related papers

  1. Mining Android API Usage to Generate Unit Test Cases for Pinpointing Compatibility IssuesXiaoyu Sun, Xiao Chen, Yanjie Zhao, Pei Liu et al.ASE 2022 · 16 citations
  2. Detecting and fixing data loss issues in Android appsWunan Guo, Zhen Dong, Liwei Shen, Wei Tian et al.ISSTA 2022 · 17 citations
  3. Characterizing and Detecting Configuration Compatibility Issues in Android AppsHuaxun Huang, Ming Wen, Lili Wei, Yepang Liu et al.ASE 2021 · 15 citations
  4. Automated Program Repair for UI-Centric Android Bugs: How Far Are We?Junayed Mahmud, Sparsh Pandey, Nadeeshan De Silva, Atish Kumar Dipongkor et al.ISSTA 2026
  5. Automated Repair of Information Flow Security in Android Implicit Inter-App CommunicationAbhishek Tiwari, Jyoti Prakash, Zhen Dong, Carlo A. FuriaFM 2024
Dusk over the sea between two cliffs drawn in fine vertical lines