gradle
Gradle build system for Android
Learn how to debug Unity objects with scripts that fail in Android builds. Fix 'UnitDatabase.Instance is NULL!' errors and disappearing objects with proper Gradle configuration and script execution order.
Learn how to resolve 'Could not isolate parameters' error and AAPT2 dependency issues in Kotlin Multiplatform Mobile projects with Android Gradle Plugin 8.8.0. Fix build configuration problems and ensure compatibility.
Resolve 'kotlin.Unit' incompatible version error in Kotlin Android Studio after adding Firebase Cloud Messaging Java service. Upgrade Kotlin to 2.1.20, align Gradle, AGP, Java 17 for firebase messaging compatibility.
Resolve Android Gradle build errors with duplicate META-INF/LICENSE files using merge instead of exclude. Preserve LeakCanary functionality while fixing build conflicts.
Resolve red unresolved imports in KMM commonMain source set despite successful Gradle builds and runs. Fixes for Android Studio templates: add android.library plugin, enable metadata flags, correct Compose and coroutines deps for Kotlin 2.3.0.
Fix the 'Invoke-customs are only supported starting with Android 0 --min-api 26' error after updating Gradle build tools and Java compatibility in Android Studio.
Resolve 16KB page size warnings, zip-alignment errors, and Android 12 compatibility in Flutter apps for Google Play Store uploads. Upgrade AGP, enable uncompressed native libs, update plugins, and verify ELF alignments with readelf and bundletool.
Resolve 'No matching client found' error for Google Analytics in Android apps with multiple product flavors and custom build types. Use one google-services.json with multiple clients for all variants without separate files.
Learn how to fix Gradle configuration errors in multi-module Android applications using Kotlin DSL and version catalogs.
Resolve duplicate class errors like org.hamcrest.BaseDescription in Android Gradle projects when adding json-simple. Learn excludes, resolutionStrategy force, and substitution for Gradle 8.3 and Android Studio Otter 2.
Learn how to properly configure ReplaceToken-filter with dynamic properties in Gradle 9 using Configuration Cache. Avoid serialization errors with gradle.properties and providers.