expo android build doctor

    2

    Diagnose and fix Expo/React Native Android build failures, Gradle errors, and environment mismatches.

    $5

    Secure checkout via Stripe

    Money-back guarantee

    Converts to your local currency at checkout

    Security scanned

    Works with the AI Agents you already use

    Claude CodeClaude CodeCursorCursorCodex CLICodex CLIDeepSeekDeepSeekMuseMuse+22 more

    expo android build doctor

    Example session with this skill installed

    My Expo Android build is failing with a 'manifest merger failed' error after I added a new notification library. Here is the log output.

    • Read your context and instructions
    • Compiled the expo android build

    The build failed because two libraries are competing for the android:allowBackup attribute in the merged AndroidManifest.xml.

    Root cause

    Conflicting android:allowBackup values between the core app manifest and the newly added notification library.

    Evidence

    • Error: Attribute application@allowBackup value=(false) from [com.github.library:notification-sdk:1.2.0] AndroidManifest.xml:12:9-35
    • Conflict: is also present at [project:app] AndroidManifest.xml:15:9-32 value=(true)
    • Task: :app:processDebugMainManifest

    Fix

    1. Open android/app/src/main/AndroidManifest.xml.
    2. Add the tools namespace to the <manifest> tag:
    <manifest xmlns:android="http://schemas.android.com/apk/res/android"
        xmlns:tools="http://schemas.android.com/tools">
    
    1. Update the <application> tag to resolve the conflict:
    <application
        android:allowBackup="true"
        tools:replace="android:allowBackup">
    

    Verify

    Run the build command again to confirm the manifest merger completes:

    npx expo run:android
    

    If it still fails

    • Provide the output of ./gradlew :app:processDebugMainManifest --stacktrace to see the full merger report.
    • Check if other attributes like android:label or android:supportsRtl are also conflicting.

    Next steps

    • Apply the tools:replace attribute to the Manifest.
    • Re-run the Android build.
    • Verify notification permissions are correctly merged in the final APK.

    Connects securely to your tools. The creator never sees your data.

    About this skill

    The problem

    Android builds in Expo and React Native are fragile. A single mismatched JDK version, a stale Gradle cache, or a conflicting Kotlin dependency can halt development for hours with cryptic stack traces.

    What it does

    • Identifies the root cause across environment, Gradle, Kotlin, NDK, and Manifest layers.
    • Executes targeted environment checks for Windows, macOS, and Linux to find path and SDK mismatches.
    • Analyzes app.json and Expo config plugins to fix prebuild and autolinking failures.
    • Resolves dependency conflicts, version mismatches, and manifest merge errors with minimal code changes.
    • Automates recovery using Gradle clean, Metro resets, and surgical cache clearing.

    Frameworks & tools

    Expo, React Native, Gradle, Android SDK, Kotlin, KSP, NDK, CMake, and EAS.

    Why this beats prompting it yourself

    General LLMs often suggest destructive actions like deleting the android/ folder or running broad upgrades that break other dependencies. This skill uses a tiered diagnostic workflow to find the smallest safe fix, preserving your custom native code and lockfiles.

    Use cases

    • Fixing SDK location not found or JAVA_HOME toolchain errors.
    • Resolving Kotlin version mismatches and KSP alignment issues.
    • Debugging EAS Build failures that work fine on your local machine.
    • Repairing Manifest merge conflicts caused by third-party native modules.

    Known limitations

    Cannot fix hardware-level USB connection issues or physical device failures. Requires project-level read access to config and Gradle files.

    Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for Mobile Development.

    Cannot fix physical hardware failures or proprietary signing certificate issues. Requires read access to project configuration files and build logs.

    How to use

    1. 1

      Connect your agent to the Agensi MCP

      Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup

    2. 2

      Sign in to Agensi

      Your agent shows a sign-in link. Sign in and click Allow.

    3. 3

      Ask for what you need

      Your agent loads this skill and uses it on your task. It always asks before buying a skill.

    Reviews

    No reviews yet

    Be one of the first to try it. Every listed skill goes through the trust checks below.

    Security scanned

    Checked by our 8-point scan before listing

    Fresh listing

    Recently published to Agensi

    Money-back guarantee

    Doesn't do what its page promises? You get your money back.

    Trust & safety

    Security scan

    Security scan passed 2 months ago

    Software
    expoNode.jsJava

    Permissions

    Terminal / Shell
    Read Files
    Network Access
    Write Files
    Environment Variables
    Browser
    Listed2 months ago

    What's inside

    Frequently Asked Questions

    This skill performs a multi-layer diagnosis of your environment, Gradle configurations, and Kotlin dependencies to find the precise cause of build failures without resorting to destructive 'delete and reinstall' tactics.

    The skill is compatible with major AI agents that support file-system access or code analysis, such as AutoGPT, BabyAGI, and custom GPTs designed for developer workflows.

    Yes, it is specifically designed to troubleshoot disparities between local environments and EAS Build, identifying missing config plugins or environment variables that cause remote failures.

    The skill is built for Expo and React Native projects using Gradle, supporting Windows, macOS, and Linux environments, including both managed and bare workflows.

    Simply grant your AI agent access to your project's root directory; the skill will then automatically scan your `app.json`, `build.gradle`, and environment variables to begin the diagnostic process.

    Upon purchase, you receive the full skill definition, including its tiered diagnostic logic and specialized recovery workflows for various Android build layers.

    New in Mobile Development