diff --git a/ui/android/build.gradle b/ui/android/build.gradle index f8f0e43..471660d 100644 --- a/ui/android/build.gradle +++ b/ui/android/build.gradle @@ -24,6 +24,17 @@ allprojects { } } +// Pin build-tools to the compileSdk-matching version for every Android module (the app + the +// Capacitor modules regenerated by `cap sync`), so AGP does not fall back to its default (35.0.0), +// which the provisioned / read-only CI SDK does not have installed. +subprojects { + afterEvaluate { + if (project.hasProperty('android')) { + android.buildToolsVersion = "36.0.0" + } + } +} + task clean(type: Delete) { delete rootProject.buildDir }