diff --git a/common.gradle b/common.gradle index 903d0d593..dce2d536d 100644 --- a/common.gradle +++ b/common.gradle @@ -43,6 +43,14 @@ android { includeInApk = false } + buildFeatures { + // Disable unused AGP features + aidl false + renderScript false + resValues false + shaders false + } + compileOptions { sourceCompatibility = JavaVersion.VERSION_1_8 targetCompatibility = JavaVersion.VERSION_1_8