add android app

This commit is contained in:
2026-08-12 22:09:29 +02:00
parent 43e95c9d3e
commit 7e723ae821
30 changed files with 1872 additions and 45 deletions

View File

@@ -0,0 +1,23 @@
# Fix Gradle Configuration Mutation Error
The project is encountering a `Cannot mutate the dependencies of configuration after the configuration was resolved` error. This is primarily caused by a mismatch between the Android Gradle Plugin (AGP) version (8.2.2) and the Gradle version (9.3.0). AGP 8.2.2 is not fully compatible with the stricter configuration resolution rules in Gradle 9.x.
## Proposed Changes
### Build Configuration
#### [MODIFY] [build.gradle.kts (root)](file:///home/kibi/Projects/f0ckm-uploader/android/build.gradle.kts)
- Upgrade AGP to `9.3.1` to match the Gradle version.
- Upgrade Kotlin to `2.0.0` for better compatibility with newer AGP and Gradle versions.
#### [MODIFY] [app/build.gradle.kts](file:///home/kibi/Projects/f0ckm-uploader/android/app/build.gradle.kts)
- Explicitly disable `dataBinding` to ensure it doesn't trigger unnecessary configuration resolution, while keeping `viewBinding` enabled.
- Update `kotlinOptions` and `jvmTarget` if necessary (though 1.8 is usually fine, newer AGP might prefer 17).
#### [MODIFY] [gradle.properties](file:///home/kibi/Projects/f0ckm-uploader/android/gradle.properties)
- Disable Jetifier if not needed, as it can interfere with configuration resolution in newer Gradle versions.
## Verification Plan
### Automated Tests
- Run `./gradlew assembleDebug` to verify the build succeeds without the configuration mutation error.