You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I confirm the software versions on my local computer match the ones in CI environment (e.g. Xcode version, Gradle version). See here
I confirm I am able to do a fresh clone of the repository and build the project on my local computer.
Which mobile framework are you using?
Flutter (Dart)
Steps to reproduce
My build fails when Codemagic runs flutter build appbundle.
export GCLOUD_SERVICE_ACCOUNT_CREDENTIALS=$(echo $GCLOUD_SERVICE_ACCOUNT_CREDENTIALS| base64 --decode)
LATEST_ANDROID_BUILD_NUMBER=$(($(google-play get-latest-build-number --package-name "$PACKAGE_NAME" --tracks="$GOOGLE_PLAY_TRACK") +1))echo"LATEST_ANDROID_BUILD_NUMBER=$LATEST_ANDROID_BUILD_NUMBER">>$CM_ENVcd.&& flutter build appbundle --build-number=$LATEST_ANDROID_BUILD_NUMBER
Get package "<package_name>" latest build number from track "alpha"
Found latest version code from "alpha" track: 253
I can confirm that the variables are correctly being injected and incrementing fine.
I don't have any issues when running Flutter doctor, everything is fine.
Expected results
Application builds correctly, as it is working local.
Actual results
💪 Building with sound null safety 💪
Running Gradle task 'bundleRelease'...
FAILURE: Build failed with an exception.
What went wrong:
A problem occurred configuring project ':flutter_secure_storage'.
Failed to create Jar file /Users/builder/.gradle/caches/jars-8/fef84f4f98be9f93b0b593ccb1e3e207/lint-model-31.1.1.jar.
Failed to notify project evaluation listener.
Could not get unknown property 'android' for project ':flutter_secure_storage' of type org.gradle.api.Project.
Could not get unknown property 'android' for project ':flutter_secure_storage' of type org.gradle.api.Project.
Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
If you are looking for help, please confirm the following...
Which mobile framework are you using?
Flutter (Dart)
Steps to reproduce
My build fails when Codemagic runs
flutter build appbundle
.I can confirm that the variables are correctly being injected and incrementing fine.
I don't have any issues when running Flutter doctor, everything is fine.
Expected results
Application builds correctly, as it is working local.
Actual results
💪 Building with sound null safety 💪
Running Gradle task 'bundleRelease'...
FAILURE: Build failed with an exception.
A problem occurred configuring project ':flutter_secure_storage'.
Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
Get more help at https://help.gradle.org
BUILD FAILED in 58s
Running Gradle task 'bundleRelease'... 59.8s
Gradle task bundleRelease failed with exit code 1
Build failed :|
Step 10 script
[android] build
exited with status code 1Build id (optional)
6537d88430fccd07d865c521
Beta Was this translation helpful? Give feedback.
All reactions