I'm getting this error when trying to create build file on bitbucket

Alex
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
June 13, 2024

 

+ flutter packages get
2
Running "flutter pub get" in build...
3
Resolving dependencies...
4
The current Dart SDK version is 2.19.4.
5
6
Because vision_mobile_erp requires SDK version >=3.0.2 <4.0.0, version solving failed.
7
pub get failed
8
command: "/sdks/flutter/bin/cache/dart-sdk/bin/dart __deprecated_pub --directory . get --example"
9
pub env: {
10
"FLUTTER_ROOT": "/sdks/flutter",
11
"PUB_ENVIRONMENT": "flutter_bot:flutter_cli:get",
12
"PUB_CACHE": "/root/.pub-cache",
13
}
14
exit code: 1
15

1 answer

0 votes
Nicolas Grossi
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
June 14, 2024

@Alex Welcome! It appears that your SDK version is not supported ?

 

Nicolas

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events