Standalone build failed on Android build

Error Log

Execution failed for task ':app:mergeReleaseResources'.

[stderr] > A failure occurred while executing com.android.build.gradle.internal.tasks.Workers$ActionFacade

[stderr]    > Android resource compilation failed

[stderr]      /app/turtle/workingdir/android/sdk40/android-shell-app/app/src/main/res/values/colors.xml:13:3-55: AAPT: error: invalid color.

[stderr]          

[stderr]      /app/turtle/workingdir/android/sdk40/android-shell-app/app/build/intermediates/incremental/mergeReleaseResources/merged.dir/values/values.xml: AAPT: error: file failed to compile.

[stderr]          

[stderr] * Try:

[stderr] 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.

[stderr] * Get more help at https://help.gradle.org

[stderr] BUILD FAILED in 39s

Expo Digosnistic:

Expo CLI 4.4.3 environment info:
    System:
      OS: macOS 11.2.3
      Shell: 5.8 - /bin/zsh
    Binaries:
      Node: 15.10.0 - /usr/local/bin/node
      Yarn: 1.22.10 - /usr/local/bin/yarn
      npm: 7.5.3 - /usr/local/bin/npm
      Watchman: 4.9.0 - /usr/local/bin/watchman
    Managers:
      CocoaPods: 1.9.3 - /Users/Yusadolat/.rvm/rubies/ruby-2.7.0/bin/pod
    SDKs:
      iOS SDK:
        Platforms: iOS 13.5, DriverKit 19.0, macOS 10.15, tvOS 13.4, watchOS 6.2
    IDEs:
      Android Studio: 3.6 AI-192.7142.36.36.6392135
      Xcode: 11.5/11E608c - /usr/bin/xcodebuild
    npmPackages:
      expo: ~40.0.0 => 40.0.1 
      react: 16.13.1 => 16.13.1 
      react-dom: 16.13.1 => 16.13.1 
      react-native: https://github.com/expo/react-native/archive/sdk-40.0.1.tar.gz => 0.63.2 
      react-native-web: ^0.15.5 => 0.15.5 
    npmGlobalPackages:
      expo-cli: 4.4.3
    Expo Workflow: managed

Please run expo diagnostics and paste the log that’s printed out along with your question or issue!

Hey @yusadolat, does this occur with a freshly created project with the minimum configuration required for a build? Would be helpful to know if this is project specific or not.

Cheers,
Adam

Hi @adamjnav
Thanks for your intervention.
It’s a new project and the issue happens because the "backgroundColor on my splash screen is expecting the equivalent hex code to be 6 digits and I have hex codes.

So I fix it by adding one more f and now looks like this “backgroundColor”: “#ffffff