Lune

ISSTA2023Top-tier venue

ConfFix: Repairing Configuration Compatibility Issues in Android Apps

Huaxun Huang, Chi Xu, Ming Wen, Yepang Liu, Shing-Chi Cheung

Abstract

XML configuration files are widely-used to specify the user interfaces (UI) of Android apps. Configuration compatibility (CC) issues are induced owing to the inconsistent handling of such XML configuration files across different Android framework versions. CC issues can cause software crashes and inconsistent look-and-feels, severely impacting the user experience of Android apps. However, there is no universal solution to resolve CC issues and app developers need to handle CC issues case by case. Existing tools are designed based on predefined rules or visual features that are possibly manifested by CC issues. Unfortunately, they can fail or generate overfitting patches when the CC issues are beyond their capabilities. To fill the above research gaps, we first empirically studied the app developers' common strategies in patching real-world CC issues. Based on the findings, we propose ConfFix, an automatic approach to repair CC issues in Android apps. ConfFix is driven by the knowledge of how an XML element is handled inconsistently in different versions of the Android framework and generates patches to eliminate such inconsistencies. We evaluated ConfFix on a set of 77 reproducible CC issues in 13 open-source Android apps. The results show that ConfFix outperforms baselines in successfully repairing 64 CC issues with a high precision. Encouragingly, the patches for 38 CC issues have been confirmed and merged by app developers.

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.

4 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

  • Characterizing and Repairing Color-Related Accessibility Issues in Android Apps cites MobileVisFixer: Tailoring Web Visualizations for Mobile Phones Leveraging an Explainable Reinforcement Learning Framework
  • Characterizing and Repairing Color-Related Accessibility Issues in Android Apps cites Unblind your apps: predicting natural-language labels for mobile GUI components by deep learning
  • Data-driven accessibility repair revisited: on the effectiveness of generating labels for icons in Android apps cites Unblind your apps: predicting natural-language labels for mobile GUI components by deep learning
  • Towards Automatically Repairing Compatibility Issues in Published Android Apps 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 Towards Automatically Repairing Compatibility Issues in Published Android Apps
  • Automated Repair of Information Flow Security in Android Implicit Inter-App Communication cites Towards Automatically Repairing Compatibility Issues in Published Android Apps
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers4

  1. 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
  2. Characterizing and Repairing Color-Related Accessibility Issues in Android AppsJiahao Gu, Huaxun HuangASE 2025 · 1 citation
  3. Why the Proof Fails in Different Versions of Theorem Provers: An Empirical Study of Compatibility Issues in IsabelleXiaokun Luan, David Sanán, Zhe Hou, Qiyuan Xu et al.FSE 2025 · 1 citation
  4. Automated Repair of Information Flow Security in Android Implicit Inter-App CommunicationAbhishek Tiwari, Jyoti Prakash, Zhen Dong, Carlo A. FuriaFM 2024

Builds on8

  1. Unblind your apps: predicting natural-language labels for mobile GUI components by deep learningJieshan Chen, Chunyang Chen, Zhenchang Xing, Xiwei Xu et al.ICSE 2020 · 101 citations
  2. MobileVisFixer: Tailoring Web Visualizations for Mobile Phones Leveraging an Explainable Reinforcement Learning FrameworkAoyu Wu, Wai Tong, Tim Dwyer, Bongshin Lee et al.IEEE VIS 2020 · 51 citations
  3. Data-driven accessibility repair revisited: on the effectiveness of generating labels for icons in Android appsForough Mehralian, Navid Salehnamadi, Sam MalekFSE 2021 · 47 citations
  4. 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
  5. Towards Automatically Repairing Compatibility Issues in Published Android AppsYanjie Zhao, Li Li, Kui Liu, John C. GrundyICSE 2022 · 25 citations

Related papers

  1. Characterizing and Detecting Configuration Compatibility Issues in Android AppsHuaxun Huang, Ming Wen, Lili Wei, Yepang Liu et al.ASE 2021 · 15 citations
  2. 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
  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. 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
  5. Automated Fixing of Web UI Tests via Iterative Element MatchingYuanzhang Lin, Guoyao Wen, Xiang GaoASE 2023 · 8 citations
Dusk over the sea between two cliffs drawn in fine vertical lines