Skip to content
Back to skills

Install Jdk Gradle

ASecurity

Diagnose and plan the Java, AGP and Gradle toolchain compatible with the existing Expo Android project. Use for JDK setup, Gradle compatibility, or Java version build failures.

  • 3 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added October 4, 2026
developmentrustjavakotlinshellreact

Security analysis

A100/100

Pro scans all 2 files and shows the line behind each finding

Scanned October 4, 2026

npx -y skills add khadinakbarlabs/expo-mobile-app-builder --skill install-jdk-gradle --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Install Jdk Gradle?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Install Jdk Gradle
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/khadinakbarlabs-install-jdk-gradle/badge)](https://www.skillsdirectory.com/skills/khadinakbarlabs-install-jdk-gradle)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: "install-jdk-gradle"
description: "Diagnose and plan the Java, AGP and Gradle toolchain compatible with the existing Expo Android project. Use for JDK setup, Gradle compatibility, or Java version build failures."
---

# Configure the Android Java and Gradle Toolchain

Inspect the current Expo SDK, React Native, Android Gradle Plugin (AGP), Gradle wrapper and CI configuration before choosing Java. Use https://developer.android.com/build/jdks and the exact AGP release notes at https://developer.android.com/build/releases/gradle-plugin for compatibility. AGP 8.x requires JDK 17; do not assert AGP 8.6 requires JDK 21 or substitute a newer React Native toolchain into an Expo SDK 54 project.

## Read-only diagnosis

With authorization to inspect the project, read its Gradle configuration, wrapper properties and CI Java setup. Run local version checks such as `java -version` and `javac -version`. Inspect the committed wrapper's origin and distribution URL/checksum before executing it, because a wrapper runs project code and may download a distribution.

## Plan before changing the machine

Select the Java version compatible with that project's locked toolchain. Prefer the existing Android Studio JDK where compatible. If installation is necessary, present an official vendor or trusted package-manager source, version, scope and proposed changes; obtain missing installation authorization. Do not automatically install JDKs, rewrite shell profiles, alter global PATH, upgrade AGP or regenerate the Gradle wrapper.

Use temporary session/project configuration for JAVA_HOME where practical. Explain how the owner can restore their previous selection. Preserve generated Expo configuration and avoid independent AGP/Kotlin/SDK overrides that invalidate Expo compatibility.

## Verify and deliver

After an authorized change, verify Java and the trusted project wrapper versions, then run the affected build using existing project instructions. Report the precise toolchain, build result and any unresolved compatibility issue. A passing version check does not prove a successful Android build.

Files in this skill

  • SKILL.md2.1 KB
  • agents/openai.yaml185 B

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…