Skip to content

chore: upgrade Android build tools for Flutter 3.41+ and 16KB page support#321

Open
hm-toan wants to merge 5 commits into
jonataslaw:masterfrom
hm-toan:master
Open

chore: upgrade Android build tools for Flutter 3.41+ and 16KB page support#321
hm-toan wants to merge 5 commits into
jonataslaw:masterfrom
hm-toan:master

Conversation

@hm-toan
Copy link
Copy Markdown

@hm-toan hm-toan commented Mar 18, 2026

Summary

  • Upgrades Android build tools for compatibility with Flutter 3.41+
  • Prepares for Android 16KB page size support
  • Updates Gradle and AGP to latest versions

Changes

  • AGP: 8.1.1 → 8.11.1
  • Gradle: 7.x → 8.13
  • compileSdk: 34 → 35
  • Kotlin: 1.9.10 → 1.9.20 (example)
  • transcoder: 0.10.5 → 0.11.2
  • Add FVM configuration (.fvmrc)
  • Remove unnecessary dart:typed_data import

Testing

  • flutter analyze passed
  • flutter build apk --debug passed

Related

Fixes build issues with Flutter 3.41+ and prepares for Android 15 16KB page size requirement.

hm-toan and others added 5 commits March 17, 2026 14:55
Utility.deleteAllCache() already calls result.success() internally.
Wrapping it in result.success() passed kotlin.Unit to Flutter, causing:
  IllegalArgumentException: Unsupported value: 'kotlin.Unit'
  IllegalStateException: Reply already submitted

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…pport

- AGP: 8.1.1 -> 8.11.1
- Gradle: 7.x -> 8.13
- compileSdk: 34 -> 35
- Kotlin: 1.9.10 -> 1.9.20 (example)
- transcoder: 0.10.5 -> 0.11.2
- Add FVM configuration (.fvmrc)
- Remove unnecessary dart:typed_data import
Plugin build.gradle hardcoded io.flutter:flutter_embedding_debug with a
stale engine hash (ff37bef...), which no longer exists on
download.flutter.io. This broke releaseCompileClasspath resolution for
any app using a current Flutter SDK:

  Could not find io.flutter:flutter_embedding_debug:1.0.0-ff37bef...

Flutter plugins should not declare io.flutter:flutter_embedding_* —
the Flutter tool injects the correct embedding variant (debug/profile/
release) via flutter.gradle during app builds. Removing the line fixes
release builds without affecting plugin compilation.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
- Bump version to 3.1.5 (fork release)
- Point homepage to hm-toan/VideoCompress
- Add CI workflow (analyze + build example APK release) to prevent
  regressions like the hardcoded flutter_embedding_debug issue
- Document fork reason and consumption in README
- CHANGELOG entry for 3.1.5

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant