Fix Android compilation: migrate to AGP 9.0.1#948
Merged
Conversation
Documents 5 issues preventing Android build after repo restructure: missing local.properties, missing google-services.json, wrong .env path, Windows backslash keystore paths, and stale root android dir. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
- .env path: ../.env → ../../.env (now resolves to repo root) - Keystore paths: replaced Windows backslash separators with forward slashes Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Removed old build artifacts (.gradle/, .idea/, build/ caches) left behind after the repo restructure moved android to clients/android/. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
- Replace applicationVariants API with androidComponents.onVariants and lazy task registration (tasks.register) - Remove org.jetbrains.kotlin.android plugin (built into AGP 9) - Rename packagingOptions to packaging - Fix eager bundleRelease task resolution in configureEach - Replace allprojects block with project-local tasks.withType - Remove deprecated gradle.properties: enableJetifier, nonTransitiveRClass, nonFinalResIds - Bump Kotlin serialization plugin to 2.2.20 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
REPO_ROOT_DIR)android/directory left over from restructureapplicationVariantsAPI withandroidComponents.onVariantsand lazy task registrationorg.jetbrains.kotlin.androidplugin (built into AGP 9)packagingOptions→packaging,allprojectsblock, eager task resolution)Test plan
./gradlew assembleDebugbuilds successfully🤖 Generated with Claude Code