Skip to content

Conversation

@Crucialjun
Copy link

Update the dependencies and fix the cannot find symbol flutterEngine error

Copilot AI review requested due to automatic review settings January 28, 2026 06:47
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates the Android Gradle tooling and AndroidX dependencies in an attempt to improve build compatibility and address the reported flutterEngine-related compilation issue.

Changes:

  • Bumped Gradle wrapper to Gradle 8.7 (bin distribution).
  • Updated Android Gradle Plugin from 8.5.1 to 8.5.2 and upgraded AndroidX dependency versions.
  • Added local.properties parsing and hard-coded compileSdk to 36 in the Android library Gradle script.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.

File Description
android/gradle/wrapper/gradle-wrapper.properties Updates Gradle wrapper distribution to Gradle 8.7.
android/build.gradle Updates AGP/dependencies and modifies Android build configuration (local.properties parsing + compileSdk change).

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.


android {
compileSdk flutter.compileSdkVersion
compileSdk 36
Copy link

Copilot AI Jan 28, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

compileSdk 36 hard-codes a very new Android API level and will require consumers/CI to have that platform installed; this can reduce compatibility and break builds unexpectedly. Consider using a widely-available stable compileSdk (or making it configurable via a project property/ext), rather than hardcoding 36 here.

Copilot uses AI. Check for mistakes.
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