android-gradle-plugin-expert

Provide AGP version compatibility, Gradle wrapper, and R8 behavior guidance.

1|Updated Mar 19, 2026
One-click install
npx skills add https://github.com/trancee/MeshLink-old --skill android-gradle-plugin-expert
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: android-gradle-plugin-expert
Source: https://github.com/trancee/MeshLink-old/tree/main/.agents/skills/android-gradle-plugin-expert
Command: npx skills add https://github.com/trancee/MeshLink-old --skill android-gradle-plugin-expert

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

AGP version compatibility, Gradle/Android Studio tooling, and R8 behavior guidance to help teams upgrade Android projects safely and predictably.

Core Features & Use Cases

  • Expert guidance on AGP version compatibility, Gradle wrapper requirements, and R8 behavior changes.
  • Upgrade assistance with migration paths, Upgrade Assistant usage, and tooling recommendations.
  • Troubleshooting patterns for library consumer rules, reflection issues, and Gradle-related build failures.

Quick Start

Upgrade AGP and related toolchains using the AGP Upgrade Assistant and wrapper updates to ensure compatibility.

Frequently Asked Questions about android-gradle-plugin-expert

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

FAQPage Schema
How do I choose a compatible Gradle wrapper version when upgrading the Android Gradle Plugin?

To choose a compatible Gradle wrapper version during an AGP upgrade, match the wrapper distribution to the exact AGP version mapping. Update the wrapper using the AGP Upgrade Assistant to ensure tooling compatibility and prevent build failures.

What R8 behavior changes do I need to handle during an AGP migration?

R8 behavior changes during an AGP migration include stricter library consumer rules and reflection issues. Mitigate risks like repackaging opt-outs by reviewing exact version mappings and applying targeted troubleshooting patterns.

Which JDK version is compatible with specific Android Gradle Plugin versions?

Compatible JDK versions for specific Android Gradle Plugin versions depend on exact version mappings provided by AGP guidance. Verify your chosen JDK aligns with your target AGP and Gradle wrapper to avoid build failures.

Why does my Android Studio build fail after updating the AGP version?

Android Studio build failures after an AGP update often stem from incompatible Gradle wrapper or JDK versions. Diagnose these AGP version tied failures by following exact upgrade steps and verifying library consumer rule changes.

Does the AGP Upgrade Assistant handle library consumer rules and R8 repackaging opt-outs?

The AGP Upgrade Assistant assists with migration paths and tooling recommendations, but you must manually address library consumer rules and apply risk mitigations like repackaging opt-outs to ensure safe R8 behavior.

What are the limitations of using the Android Gradle Plugin Upgrade Assistant for migration?

Limitations of the AGP Upgrade Assistant include not automatically resolving all R8 behavior changes or library consumer rule conflicts. You must manually apply risk mitigations like repackaging opt-outs and diagnose complex Gradle build failures.