Expo build:android with error


#1

When executing the ‘running gradle’ step, I see this error

Parallel execution with configuration on demand is an incubating feature.
[stderr] FAILURE: Build failed with an exception.
[stderr] * What went wrong:
[stderr] A problem occurred configuring root project ‘android-shell-app’.
[stderr] > Could not resolve all files for configuration ‘:classpath’.
[stderr] > Could not find com.google.gms:google-services:3.2.1.
[stderr] Searched in the following locations:
[stderr] https ://dl.google.com/dl/android/maven2/com/google/gms/google-services/3.2.1/google-services-3.2.1.pom
[stderr] https ://dl.google.com/dl/android/maven2/com/google/gms/google-services/3.2.1/google-services-3.2.1.jar
[stderr] https ://jcenter.bintray.com/com/google/gms/google-services/3.2.1/google-services-3.2.1.pom
[stderr] https ://jcenter.bintray.com/com/google/gms/google-services/3.2.1/google-services-3.2.1.jar
[stderr] Required by:
[stderr] project :
[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 5s
Error: Process exited with non-zero code: 1
at ChildProcess.child.on (/app/node_modules/@expo/spawn-async/build/spawnAsync.js:39:21)
at emitTwo (events.js:126:13)
at ChildProcess.emit (events.js:214:7)
at maybeClose (internal/child_process.js:915:16)
at Process.ChildProcess._handle.onexit (internal/child_process.js:209:5)


#2

I’m seeing this error as well using turtle cli.


#3

It looks like there’s an issue with the Google maven repository for this dependency.


#4

It’s already resolved on Expo builders: https://status.expo.io/incidents/0wgjyhl1m2lz

For turtle-cli you probably need to remove downloaded SDK and run turtle setup:android again. Let us know if this helps you.


#5

Same error


#6

Seeing the same error as well

Parallel execution with configuration on demand is an incubating feature.
[stderr] FAILURE: Build failed with an exception.
[stderr] * What went wrong:
[stderr] A problem occurred configuring root project 'android-shell-app'.
[stderr] > Could not resolve all files for configuration ':classpath'.
[stderr]    
[stderr] > Could not find google-services.jar (com.google.gms:google-services:3.2.1).
[stderr]      Searched in the following locations:
[stderr]          https://jcenter.bintray.com/com/google/gms/google-services/3.2.1/google-services-3.2.1.jar
[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 4s
Error: Process exited with non-zero code: 1
    at ChildProcess.child.on (/app/node_modules/@expo/spawn-async/build/spawnAsync.js:39:21)
    at emitTwo (events.js:126:13)
    at ChildProcess.emit (events.js:214:7)
    at maybeClose (internal/child_process.js:915:16)
    at Process.ChildProcess._handle.onexit (internal/child_process.js:209:5)

#7

same here


#8

Solved


#9

Hey everyone,

As Jakub mentioned earlier, we had an incident with our Android builders that you can read about here: https://status.expo.io/incidents/0wgjyhl1m2lz It has since been resolved. Can you let me know if you are able to or have already built your APK? Nonetheless, sorry for the inconvenience!

Cheers,

Adam


#10

I’m still not able to get this working with turtle. I’m not sure what “remove downloaded SDK” means.


closed #11

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