Android Build Error Logs

Im experiencing failed android builds with error logs. how to solve this?

I have the same issues right now

stderr | error Failed to build the app.
stdout | Error: Command failed with exit code 1: ./gradlew app:bundleRelease
stdout |     at makeError (/tmp/build-E6qiEE/AdaloApp/node_modules/execa/lib/error.js:60:11)
stdout |     at module.exports.sync (/tmp/build-E6qiEE/AdaloApp/node_modules/execa/index.js:194:17)
stdout |     at build (/tmp/build-E6qiEE/AdaloApp/node_modules/@react-native-community/cli-platform-android/build/commands/buildAndroid/index.js:95:22)
stdout |     at Object.buildAndroid [as func] (/tmp/build-E6qiEE/AdaloApp/node_modules/@react-native-community/cli-platform-android/build/commands/buildAndroid/index.js:87:10)
stdout |     at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
stdout |     at async Command.handleAction (/tmp/build-E6qiEE/AdaloApp/node_modules/@react-native-community/cli/build/index.js:111:9)
stdout | info Run CLI with --verbose flag for more details.
stderr | error Command failed with exit code 1.
stdout | info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
- code: 1

exec error: Error: /scripts/build_aab.sh exited with error code 1 (signal: null)
Error in buildAndroid: Error: /scripts/build_aab.sh exited with error code 1 (signal: null)
    at exec (/scripts/lib/exec.js:129:13)
    at async buildAab (/android/buildAndroid.js:399:3)
    at async callback (/android/buildAndroid.js:571:55)
    at async run (/scripts/lib/steps.js:25:53)
    at async Object.execute (/scripts/lib/steps.js:41:50)
    at async buildAndroidUpgraded (/android/buildAndroid.js:576:3)
    at async Queue.<anonymous> (/android/index.js:105:9)

@anar @arkimark I would advise to submit a ticket to support: Submit a Support Ticket.

Unfortunately, there are not a lot of things one can do in the app builder in this case. Sometimes errors could be caused by custom components, but it is not always the case and there could be various other reasons.

Best,
Victor.

Thanks, Victor for the reply, The issue was resolved for me.

1 Like

its working now

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.