13:41:04: Executing task 'assemble'...
Executing tasks: [assemble] in project /Users/cjl/projects/YiYouFuPlatform_APP/android/app
Parallel execution with configuration on demand is an incubating feature.
> Configure project :app
AWS Device Farm Plugin version 1.3
...
...
> Task :app:bundleReleaseExpoAssets FAILED
[13:42:12] ESOCKETTIMEDOUT
[13:42:12] Error: ESOCKETTIMEDOUT
at ClientRequest.<anonymous> (/usr/local/lib/node_modules/expo-cli/node_modules/request/request.js:816:19)
at Object.onceWrapper (events.js:297:20)
at ClientRequest.emit (events.js:209:13)
at TLSSocket.emitRequestTimeout (_http_client.js:685:40)
at Object.onceWrapper (events.js:297:20)
at TLSSocket.emit (events.js:209:13)
at TLSSocket.Socket._onTimeout (net.js:434:8)
at listOnTimeout (internal/timers.js:531:17)
at processTimers (internal/timers.js:475:7)
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':app:bundleReleaseExpoAssets'.
> Process 'command './node_modules/expokit/detach-scripts/run-exp.sh'' finished with non-zero exit value 1
* Try:
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.
* Get more help at https://help.gradle.org
BUILD FAILED in 1m 8s
1098 actionable tasks: 6 executed, 1092 up-to-date
13:42:13: Task execution finished 'assemble'.
Error log as above.
I’m in China, I often got the error like this, this may be caused by network connection. I want to know how to judge the current network if can get my expo asset on AWS. I try to open such as androidExpoViewUrl
, bundleUrl
by Chrome browser successfully.
English isn’t my native language, forgive me for grammar mistakes. Thanks a lot.