Skip to content

Glossary

This page defines stable terms that appear throughout the Jugg Wiki and logs. Chinese terms are used in Chinese prose, while English terms correspond to code, logs, UI labels, or English documentation. It does not explain the underlying mechanisms in detail. Terms used by only one page should usually be explained where they appear.

Compilation

TermMeaning
Incremental compilationProcesses only the source, resources, Manifest, DEX, or other artifacts affected by the current changes.
Gradle fallbackSwitches to a full Gradle build when Jugg determines that the incremental path is unreliable or when the user explicitly requests it.
Full build baselineThe project information, classpath, APK, and deployment history baseline that Jugg establishes through a full build.
Build targetThe current build target, such as a regular app or Android Test.
Source compilationThe compilation stage that processes Java and Kotlin source, annotation processing, and DEX output.
Resource compilationThe compilation stage that processes res/, assets/, the resource table, and the resource APK.
Manifest compilationThe stage that processes AndroidManifest merging, differences, and package declarations.
Const-refCompile-time constant definition and reference impact analysis, used to determine which source files must be recompiled after a constant changes.
RecompilationAdds affected, unchanged source files to the current compilation based on references, inheritance, constants, or generated source. The recompilation set expands while the impact continues to propagate.

Deployment

TermMeaning
DeployInstalls or updates compilation output on a device, then launches, restarts, or hot-updates the app according to the selected strategy.
Incremental deploymentInstalls or updates compilation output on a device, then launches, restarts, or hot-updates the app according to the selected strategy.
Code SwapSends only code changes that can be replaced at runtime, avoiding an app restart when possible.
Full SwapSends a more complete set of changes than Code Swap and may require an app restart.
Hot ReloadThe fast deployment path that does not restart the app and requires changes that the runtime can update in place.
Hot FixA more conservative deployment path that usually forces an app restart.
Apply ChangesThe Android Studio mechanism for replacing code and updating resources at runtime.
Direct OverlayA fast overlay deployment path that does not require the app process to be running.
Compatibility deploymentDeployment through compatibility mode when the device or system is not suitable for the default deployment path.
Deployment state recoveryRe-establishes trusted deployment state when device state, deployment history, or caches are inconsistent.
Deployment self-healingSelects a bounded retry, broader recovery, or reinstallation after deployment fails with a known failure condition.
Deploy HistoryJugg's history of deployed APKs, overlays, DEX files, and device state.

Project and cache

TermMeaning
Project informationA snapshot of modules, source sets, variants, dependencies, and APK information that Jugg reads from the IDE and Gradle.
Compile contextThe module, classpath, dependency, and build target context used for incremental compilation.
StagingThe temporary deployment output directory for the current incremental compilation, located at build/jugg/build/staging/.
Classpath backupJugg's cache of classpath data, APKs, library backups, and embedded APKs.
Included buildAn external build incorporated into the main project model through a Gradle composite build.