Help with logs. Build failed


#1

Can anybody help me figure out what the issue is?

Logs are here.
https://expo.io/builds/c7c2c568-5b62-477b-9be8-3250853d54d1

I did a exp build:android from my terminal. exp version is 47.2.2. Working on a mac.


#2

hi @rodiwaa – are you sure that link is right?
i can’t see the logs to help.
do you see them? is there an error message?


#3

@ccheever - Yes, I can see the logs in the link I provided above. I’ve copy-pasted the last part of the logs here.

// logs

:expoview:transformNativeLibsWithMergeJniLibsForRelease
:expoview:transformNativeLibsWithSyncJniLibsForRelease
:expoview:bundleRelease
:app:prepareProdReleaseDependencies
:app:compileProdReleaseAidl
:app:compileProdReleaseRenderscript
:app:mergeProdReleaseAssets
:app:processProdReleaseManifest
:app:fabricGenerateResourcesProdRelease
:app:generateProdReleaseResources
:app:mergeProdReleaseResources
/src/exponent/android-shell-app/app/build/intermediates/res/merged/prod/release/values/values.xml:158:36-44: AAPT: Color value not valid – must be #rgb, #argb, #rrggbb, or #aarrggbb (at ‘splashBackground’ with value ‘##195ba2’).
Failed to generate resource table for split ‘’
/src/exponent/android-shell-app/app/build/intermediates/res/merged/prod/release/values/values.xml:158: error: Error: Color value not valid – must be #rgb, #argb, #rrggbb, or #aarrggbb (at ‘splashBackground’ with value ‘##195ba2’).
:app:processProdReleaseResources FAILED
FAILURE: Build failed with an exception.

  • What went wrong:
    Execution failed for task ‘:app:processProdReleaseResources’.

com.android.ide.common.process.ProcessException: Failed to execute aapt

  • Try:
    Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
    BUILD FAILED
    Total time: 4 mins 41.135 secs
    [e[90m06:52:50e[39m] ‘android-shell-app’ errored after 5.02 min
    [e[90m06:52:50e[39m] Error: Process exited with non-zero code: 1
    at ChildProcess.child.on (/src/exponent/tools-public/node_modules/@expo/spawn-async/build/spawnAsync.js:39:21)
    at emitTwo (events.js:125:13)
    at ChildProcess.emit (events.js:213:7)
    at maybeClose (internal/child_process.js:927:16)
    at Process.ChildProcess._handle.onexit (internal/child_process.js:211:5)

#4

Hi, it looks like you have two pound signs in your splashBackground field.

/src/exponent/android-shell-app/app/build/intermediates/res/merged/prod/release/values/values.xml:158: error: Error: Color value not valid – must be #rgb, #argb, #rrggbb, or #aarrggbb (at ‘splashBackground’ with value ‘##195ba2’).

Try fixing that and rebuilding?


#5

How did I not see that? Thanks, @ccheever! This solved my problem!


closed #6

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