android-modernization-upgrade

Upgrade legacy Android projects to modern tooling and AndroidX.

14|2|Updated Mar 7, 2026
One-click install
npx skills add https://github.com/krutikJain/android-agent-skills --skill android-modernization-upgrade
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: android-modernization-upgrade
Source: https://github.com/krutikJain/android-agent-skills/tree/main/.github/skills/android-modernization-upgrade
Command: npx skills add https://github.com/krutikJain/android-agent-skills --skill android-modernization-upgrade

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill automates the upgrade of legacy Android projects to the current baseline, resolving build breakages and improving project stability.

Core Features & Use Cases

  • Automated Project Upgrade: Gradually updates legacy Android projects with modern libraries, frameworks, and toolchains.
  • Build Stability: Corrects compatibility issues between old Gradle, Kotlin, AGP versions, and the Android platform.
  • Use Case: Imagine you have an old Android project stuck at a deprecated AndroidX level. This Skill will guide the upgrade path, applying safe fixes, and preparing for the latest SDK and tools.

Quick Start

Apply the android-modernization-upgrade skill to scan your legacy project 'my-legacy-app'.

Frequently Asked Questions about android-modernization-upgrade

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I migrate an Android project from support libraries to AndroidX?

Migrating an Android project from support libraries to AndroidX requires replacing deprecated classes and updating configurations. This Skill applies deterministic upgrades to resolve build breakages and align legacy projects with modern AndroidX standards.

Why does my legacy Android app have build errors after a Gradle or Kotlin upgrade?

Legacy Android build errors after upgrading Gradle or Kotlin occur due to compatibility issues between old AGP versions and the platform. This Skill corrects these version mismatches by applying targeted fixes to restore build stability.

What is the best way to align an Android app for 16 KB page sizes?

Aligning an Android app for 16 KB page sizes involves updating project configurations to meet modern platform requirements. This Skill applies deterministic upgrades to prepare legacy codebases for 16 KB page size compatibility.

Can I use this to gradually update old Android libraries instead of rewriting everything?

Yes, you can gradually update old Android libraries without a full rewrite. This Skill applies incremental, safe fixes to modernize frameworks and toolchains step by step, ensuring compatibility while progressively upgrading the project.

Does this Android modernization process fix deprecated classes automatically?

Yes, the Android modernization process automatically replaces deprecated classes. It scans legacy projects to update outdated support libraries and deprecated components with current AndroidX equivalents, ensuring readiness with modern tooling.