run-app

Build, install, and verify Android APKs on devices via Gradle and ADB.

343|68|Updated Jun 14, 2017
One-click install
npx skills add https://github.com/MartinStyk/AndroidApkAnalyzer --skill run-app-martinstyk
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: run-app
Source: https://github.com/MartinStyk/AndroidApkAnalyzer/tree/main/.claude/skills/run-app
Command: npx skills add https://github.com/MartinStyk/AndroidApkAnalyzer --skill run-app-martinstyk

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill resolves the friction of manually building, deploying, and verifying Android application changes on physical devices or emulators, ensuring code changes are validated in a real runtime environment.

Core Features & Use Cases

  • Automated Deployment: Handles the Gradle build process and installation of debug APKs to connected devices.
  • Conflict Resolution: Provides safe procedures for handling version downgrade errors and existing app data conflicts.
  • Runtime Verification: Automates the launch of the main activity and provides immediate feedback on process health via PID checks and logcat crash analysis.

Quick Start

Use the run-app skill to build the project and install the latest version on my connected Android device.

Frequently Asked Questions about run-app

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

FAQPage Schema
How do I build and install an Android APK on a connected device?

To build and install an Android APK, you need an active Android SDK environment with USB debugging enabled. The process uses Gradle to compile the package and ADB to deploy the debug APK directly to the connected hardware.

What's the best way to automate Android app deployment during development?

Automating Android app deployment involves using Gradle for the build process and ADB for installation. This approach manages version conflicts, handles version downgrades safely, and verifies app launch through immediate PID checks.

How do I capture runtime crash logs for an Android app?

Capturing runtime crash logs requires launching the main activity via ADB and monitoring logcat. This verifies process health immediately after deployment and provides detailed crash analysis for debugging runtime issues.

Why does my Android app installation fail with a version downgrade error?

Android app installation fails with a version downgrade error due to existing app data conflicts. This requires safe procedures to clear the conflict, allowing the older debug APK to install correctly on the connected device.

Do I need an emulator to test Android app changes, or can I use physical hardware?

You do not strictly need an emulator; you can use physical hardware. The system supports deploying, installing, and verifying debug APKs on either connected hardware or emulators, provided USB debugging is enabled.

How does automated Android app deployment verify that the app launched successfully?

Automated Android app deployment verifies successful launch by automating the main activity start and immediately checking the process health. It captures runtime crash logs via logcat to ensure the application is running.