android-screenshot-automation

Automate Android app screenshot capture across locales with Fastlane Screengrab.

3|1|Updated Dec 4, 2025
One-click install
npx skills add https://github.com/hitoshura25/claude-devtools --skill android-screenshot-automation
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: android-screenshot-automation
Source: https://github.com/hitoshura25/claude-devtools/tree/main/skills/android-screenshot-automation
Command: npx skills add https://github.com/hitoshura25/claude-devtools --skill android-screenshot-automation

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill sets up automated Play Store screenshots for Android apps by integrating Fastlane Screengrab with your existing test infrastructure, eliminating manual screenshot capture.

Core Features & Use Cases

  • Automates screenshot capture across multiple locales and device configurations during QA/build workflows.
  • Integrates with existing end-to-end tests (UI Automator) and Fastlane to generate consistent store-ready images.
  • Use Case: When preparing a new app release, automatically generate screenshots for every locale and screen size without manual clicks.

Quick Start

Use the android-screenshot-automation skill to configure Screengrab-based screenshots for your app.

Step 1: Add Screengrab Dependency to your Android project. Step 2: Create or update app/src/debug/AndroidManifest.xml with necessary permissions. Step 3: Create DemoModeRule.kt under app/src/androidTest/..screenshots to enable clean status bars. Step 4: Create ScreenshotTest.kt under app/src/androidTest/..screenshots to perform the screenshot captures. Step 5: Update ./fastlane/Screengrabfile to point to your test class. Step 6: Run the screenshot workflow:

  • bundle exec fastlane screenshots
  • bundle exec fastlane run capture_android_screenshots

Optional: To capture on multiple devices, extend the screengrab lane in the Fastfile to run for phone, sevenInch, tenInch, etc. Verification: Build APKs and Android tests, start an emulator, run the screenshots lane, and check fastlane/metadata/android/<locale>/images/phoneScreenshots.

Frequently Asked Questions about android-screenshot-automation

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

FAQPage Schema
How do I automate Play Store screenshots for an Android app?

You can automate Android app screenshots by integrating Fastlane Screengrab with UI Automator or Espresso tests to capture store-ready images across multiple locales during your build workflow.

How do I set up Fastlane Screengrab to capture Android screenshots?

To set up Screengrab, add the dependency to your Gradle project, configure AndroidManifest permissions, create Kotlin screenshot test classes, update the Screengrabfile, and run the fastlane screenshots lane.

Do I need UI Automator to run Fastlane Screengrab for Android?

Yes, you need Android testing dependencies like UI Automator or Espresso along with a configured Fastlane environment and the Screengrab tool to execute automated screenshot capture without manual intervention.

Can I capture Android screenshots across multiple locales and device configurations?

Yes, Fastlane Screengrab automates screenshot capture across multiple locales and device configurations by extending the screengrab lane in your Fastfile for phone, sevenInch, and tenInch devices.

How do I get clean status bars in automated Android screenshots?

You can achieve clean status bars in your automated Android screenshots by creating a DemoModeRule.kt file under your androidTest screenshots directory to enable demo mode during capture.

Where does Fastlane Screengrab save captured Android screenshots?

Fastlane Screengrab saves captured Android screenshots in the fastlane/metadata/android directory, organized by locale into specific image folders like phoneScreenshots for your store listings.