React-Native: Android Build fail #1748
-
If you are looking for help, please confirm the following...
Which mobile framework are you using?React Native Steps to reproduce1- Press Start new build bottom This is my config file: workflows:
android:
name: react-native-android
instance_type: mac_mini_m1
environment:
node: 18
java: 19
groups:
- google_credentials
android_signing:
- scrumit_keystore
scripts:
- name: Build Android App Bundle
working_directory: android
script: chmod +x ./gradlew | ./gradlew bundleRelease
artifacts:
- build/**/outputs/bundle/**/*.aab
publishing:
google_play:
# Contents of the JSON key file for Google Play service account saved
# as a secure environment variable
credentials: $GCLOUD_KEY_FILE
# Name of the track internal, alpha, beta, production, internal app sharing,
# or your custom track name
track: internal
# Optional Priority of the release (only set if in-app updates are supported)
# integer in range [0, 5]
# in_app_update_priority: 3
# Optional. Rollout fraction (set only if releasing to a fraction of users)
# value between (0, 1)
# rollout_fraction: 0.25
# Optional boolean To be used ONLY if your app cannot be sent for review automatically *
changes_not_sent_for_review: true
# Optional boolean. Publish artifacts under a draft release.
# Can not be used together with rollout_fraction. Defaults to false
submit_as_draft: true
Expected resultsAndroid bundle build successfully Actual resultsThe console throw me the following message: Build id (optional)648230a2cd1f7cff38b48955 |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
hello @ChampiMagic can you try to run chmod through git, maybe additional information will pop up. |
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
hello @ChampiMagic can you try to run chmod through git, maybe additional information will pop up.
try
git update-index --chmod=+x gradlew
Check the version of gradlew bundled in the repository as-well