<Gradle Sync: "Cannot find a variant matching buil...
# stackoverflow
u
Gradle Sync: "Cannot find a variant matching build type 'null' and product flavors '[]' in module" [AGP] There's a syncing problem that only appears while trying to use Android Gradle Plugin version 7.2.0 and above; So, the sync is successful with AGP 7.1.3, but fails with 7.2.1 or even 7.4.0-alpha08. The project is a KMP project, but for the above reason, I assume the issue is related to AGP and its configuration. Project Structure The project's android target follows the modular architecture described below: ┌─────────────┐ Depends On ┌────┐ ┌────┐ ┌─────────────┐ │ :androidApp │...