Skip to content

Jugg capability overview

Jugg capability pages answer whether a type of change or operation is supported, how it takes effect, and which prerequisites apply. If you are unsure which category covers your scenario, start with the relevant group on this page and then open the specific capability page.

Capability groups

GroupWhen to use itTypical entry points
Compilation capabilitiesDetermine how source code, resources, Manifest, DataBinding, .so, Release, constant references, and other changes are handled incrementallySource compilation, resource compilation, Gradle fallback
Deployment capabilitiesDetermine whether the current artifacts will use install, Code Swap, Full Swap, Hot Reload, Restart, or deployment-state recovery firstClean Reinstall, Direct Overlay, multiple APKs, multiple devices
Testing capabilitiesDetermine how Android Tests for app and library modules run, how results are displayed, and how logcat is attributedApplication Android Test, Library Android Test, Test Results UI
Jugg CLI and Agent SkillsDetermine how an Agent or terminal invokes Jugg compilation, deployment, testing, UI inspection, and remote diagnosisCLI, MCP, UI automation, Agent Skills

Choose an entry point by task

What you want to doRead first
Determine whether changes to Java, Kotlin, or class files can be compiled incrementallySource compilation
Change resources, layouts, assets, or R-related contentResource compilation
Change AndroidManifest.xmlAndroidManifest compilation
Update an already generated native .soUpdating .so files
Understand why callers, subclasses, or constant consumers must be recompiledRecompilation
Determine whether the current deployment can avoid restarting the appCode Swap, Hot Reload
Reinstall after clearing data or re-establish a baselineClean Reinstall
Determine whether deployment automatically recovers or retries after failureRecover and Retry
Run Android instrumentation testsTesting capabilities, Android Test CLI
Let an Agent compile, deploy, or verify through the command lineAgent Skills, Jugg CLI
Inspect the current app UI, locate elements, or perform tapsUI automation, UI layout evidence

Core flow

text
Code or resource changes
  -> Compilation capabilities determine whether incremental handling is available and fall back to Gradle when needed
  -> Deployment capabilities apply artifacts to target devices
  -> Testing capabilities run Android Tests or display results
  -> Tool capabilities let Agents, the CLI, and MCP drive and verify the entire process

These capabilities share the same Jugg project baseline. Whether compilation is trustworthy, deployment history is consistent, devices are available, and an Android Test baseline has been established all affect whether later capabilities can run directly.

Prerequisites and boundaries

  • Jugg's incremental capabilities depend on the latest trustworthy Gradle build baseline and do not replace the complete Gradle pipeline.
  • Changes to Gradle scripts, dependencies, variants, source sets, or complex plugin configuration may require Gradle fallback first.
  • Device-side capabilities require an available target device and consistent deployment history, APK ownership, and overlay checkpoints.
  • Android Test requires enabling the Android Test target and completing one full build baseline for that target.
  • Agent, CLI, and MCP capabilities are tool entry points into Jugg. The corresponding capability pages remain the source for compilation, deployment, and testing behavior.

Continue reading