-
Notifications
You must be signed in to change notification settings - Fork 121
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
Patch failing for flutter 3.22 with ERR : The current Dart SDK version is 3.2.3. #2114
Comments
I think this might be #1945? |
Yeah I believe you can resolve this issue by explicitly specifying the |
I believe I ran the below patach and shorebird choose the old flutter version but still fails
|
Can you share the full logs (including the full command you ran and the output)? |
Here it is shorebird patch android --release-version=0.7.8+30 -v -- --dart-define=SUPABASE_PROJECT_URL=url
--dart-define=SUPABASE_API_KEY=apikey --dart-define=SUPABASE_REDIRECT_URL=<callback>
--dart-define=SUPABASE_SERVICE_ROLE=<role>
--dart-define=FIREBASE_VAPID_KEY=<vapidkey>
--dart-define=ADMIN_EMAIL=<email>
--dart-define=FCM_SERVER_KEY=<server key> > log.txt complete logs |
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
From the logs, the issue seems to be that you're attempting to build with an old version of Flutter:
My guess as to what happened is that you updated your app to use a newer version of Flutter than what is used by release |
Yes, I updated the app to latest version of flutter and then tried to patch it. |
You can, but the patch has to be buildable with that version of Flutter, which it seems like is not the case here. |
I think this has been resolved. Closing. |
App ID: (insert your app ID here)
Description
The patch is failing when building with latest version of flutter 3.22, please find the complete logs below
logs
log.txt
Additionally you can see the workflow logs here https://github.com/maheshmnj/vocabhub/actions/runs/9105732960/job/25031796434
Expected Behavior
A clear and concise description of what you expected to happen.
Screenshots
Looks like after the patch succeeds with 3.22 its still creating a patch with old version of flutter
flutter doctor -v
shorebird doctor
Additional Context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: