build-android

Build and deploy XerahS Android apps to emulators or devices via adb.

309|15|Updated Dec 29, 2025
One-click install
npx skills add https://github.com/ShareX/XerahS --skill build-android
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: build-android
Source: https://github.com/ShareX/XerahS/tree/main/.ai/skills/build-android
Command: npx skills add https://github.com/ShareX/XerahS --skill build-android

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill streamlines the complex process of building and deploying XerahS Android apps (Kotlin/Mobile.Kt, Avalonia, MAUI) to emulators or devices via adb, with strict timeouts to prevent stalls.

Core Features & Use Cases

  • Single-node builds to avoid file-lock races and ensure consistent outputs.
  • JAVA_HOME setup guidance, Compose KeyboardOptions integration, and Android Gradle workflow tips.
  • MAUI APKs built with EmbedAssembliesIntoApk for reliable adb installs, plus cold-boot emulator and 5-minute timeout enforcement.
  • Cross-project support for Kotlin, Avalonia, and MAUI Android targets, with automated post-install launch.

Quick Start

Run the MAUI or Avalonia Android deploy script to build and install the APK on a connected emulator or device.

Frequently Asked Questions about build-android

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

FAQPage Schema
How do I automate building and deploying Android apps to an emulator via adb?

Automating Android builds and deploys via adb handles single-node builds, strict timeout enforcement, and automated post-install launches to streamline app delivery to connected emulators or devices.

Why does my MAUI Android APK installation fail or show a white screen on launch?

MAUI Android APKs require EmbedAssembliesIntoApk for reliable adb installs, while white-screen init delays are handled through cold-boot emulator enforcement and automated launch sequences after installation.

Can I build Avalonia and Kotlin Android apps in the same multi-project workflow?

Multi-project Android workflows support cross-project builds for Avalonia, Kotlin/Mobile.Kt, and MAUI targets, using single-node builds to avoid file-lock races and ensure consistent outputs.

Do I need to configure JAVA_HOME before running Android Gradle builds for these projects?

Android Gradle workflows require proper JAVA_HOME setup guidance to prevent environment errors, alongside Compose KeyboardOptions integration for Kotlin targets.

What is the best way to prevent file-lock races during Android multi-project builds?

Single-node builds prevent file-lock races during Android multi-project workflows, ensuring consistent outputs while applying strict 5-minute timeout enforcement to halt stalled build processes.

Are there limitations when deploying Android apps with strict build timeouts to physical devices?

Strict timeout enforcement limits stalled builds to 5 minutes, requiring a cold-boot emulator or properly connected physical device to successfully execute automated post-install launches.