-
Notifications
You must be signed in to change notification settings - Fork 26.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[3.22.0] Android App cannot build anymore on latest stable flutter version #148668
Comments
Thanks for the report @AlexDochioiu |
@darshankawar Thanks for the reply. I think there's not been a beta release newer than this public one? I can try later. As for |
The issue seems indeed similar to those two tickets. Worth saying that unlike them: |
@darshankawar I can confirm now that both latest stable (3.22.0) and latest beta (3.22.0-0.3.pre) fail with the same error when building/running on Android. I still cannot try to run on |
Thanks for trying @AlexDochioiu. It does seem to be a regression. I tried the same command in an existing app at my end which built the apk properly so I am unable to replicate it.
Is there a way for you to provide us a narrowed down reproducible code sample that triggers the reported error ? |
@darshankawar Not sure I can do that easily. However, I managed to address the issue with my setup causing It seems that I can successfully build the android app on master, but not on latest beta or stable. |
Thanks for the update. I'll keep the issue open and label for team's attention on the reported behavior as I am unable to replicate it. |
cc @alexmarkov @jensjoha We really need to make this code more defensive and dump more information when we get a failure like this. |
faced same issue here |
In for instance flutter/flutter#148668 we crash on .location, but don't have anything to go on about why that is. This CL adds more information (e.g. the url, and - in the particular crash - it would also have added the name of the procedure it got the uri from). If this will actually be enough (once a crash comes in with this info) to fix the issue, I'm don't know, but it should give us more to go on. Change-Id: Iceab6f7841380d59aa39f26a728fd8fcad90ffb6 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/368303 Commit-Queue: Jens Johansen <jensj@google.com> Reviewed-by: Johnni Winther <johnniwinther@google.com>
Same here:
|
Will it be shipped to the next beta release? Can you please advise which change I need to cherrypick to fix the issue? |
Same issue here ... looks like possibly related to enforcing Java version? |
Steps to reproduce
After running a build/run command such as:
flutter build apk --release --no-tree-shake-icons
I started getting the following error after switching to stable flutter 3.22.0 (from 3.19.6):
Expected results
App should be able to build/run
Actual results
App fails to build or run on android
Code sample
Code sample
[Paste your code here]
Screenshots or Video
Screenshots / Video demonstration
[Upload media here]
Logs
Logs
[Paste your logs here]
Flutter Doctor output
Doctor output
The text was updated successfully, but these errors were encountered: