Gradle Clean
Overview
Section titled “Overview”Remove all build artifacts to start fresh. Useful when builds behave unexpectedly or you want a clean slate.
Parameters
Section titled “Parameters”| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
projectDir | string | Yes | — | Absolute path to the Android project root |
Examples
Section titled “Examples”Clean my Android project build
Clean my project and then rebuild it
Related Tools
Section titled “Related Tools”- Gradle Build — Build after cleaning