Not able to Build Android #2985
Unanswered
VikasAgrawal-04
asked this question in
Q&A
Replies: 1 comment 3 replies
-
Hello @VikasAgrawal-04,
Based on discussions online, this issue is likely due to Java 21 not being supported. Some users have resolved it by either downgrading to JDK 11 or upgrading their Gradle version. Here’s a relevant StackOverflow thread: Additionally, a similar issue was reported for React Native Android, which may apply to your Flutter app as well: Please can you try adjusting your JDK or Gradle version to resolve the issue? |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
If you are looking for help, please confirm the following...
Which mobile framework are you using?
Flutter (Dart)
Steps to reproduce
Just Build The application and it will fail at Building android.
Expected results
Build should be successful as it's working on my local device.
Actual results
It's failing to build the android aab. And I am using /Library/Java/JavaVirtualMachines/zulu-21.jdk/Contents/Home for Java version and tried upgrading to 23.jdk but gave me incompatible version for gradle but works on my Mac with java 23 version.

Build id (optional)
67b33083d4aee38568ad8e09
Beta Was this translation helpful? Give feedback.
All reactions