How do i solve this error
Configuration on demand is an incubating feature.
2[stderr]
FAILURE:
3[stderr]
Build failed with an exception.
4[stderr]
- What went wrong:
5[stderr]
A problem occurred configuring root project ‘android-shell-app’.
6[stderr]
Could not resolve all artifacts for configuration ‘:classpath’.
7[stderr]
Could not resolve com.diffplug.spotless:com.diffplug.spotless.gradle.plugin:5.14.1.
8[stderr]
Required by:
9[stderr]
project :
10[stderr]
> Could not resolve com.diffplug.spotless:com.diffplug.spotless.gradle.plugin:5.14.1.
11[stderr]
> Could not get resource 'https://dl.bintray.com/android/android-tools/com/diffplug/spotless/com.diffplug.spotless.gradle.plugin/5.14.1/com.diffplug.spotless.gradle.plugin-5.14.1.pom'.
12[stderr]
> Could not HEAD 'https://dl.bintray.com/android/android-tools/com/diffplug/spotless/com.diffplug.spotless.gradle.plugin/5.14.1/com.diffplug.spotless.gradle.plugin-5.14.1.pom'. Received status code 502 from server: Bad Gateway
13[stderr]
- Try:
14[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.
15[stderr]
- Get more help at https://help.gradle.org
16[stderr]
BUILD FAILED in 10s
17
Error: ./gradlew exited with non-zero code: 1
at ChildProcess.completionListener (/app/turtle/node_modules/@expo/xdl/node_modules/@expo/spawn-async/build/spawnAsync.js:52:23)
at Object.onceWrapper (events.js:421:26)
at ChildProcess.emit (events.js:314:20)
at ChildProcess.EventEmitter.emit (domain.js:483:12)
at maybeClose (internal/child_process.js:1022:16)
at Process.ChildProcess._handle.onexit (internal/child_process.js:287:5)
…
at spawnAsync (/app/turtle/node_modules/@expo/xdl/node_modules/@expo/spawn-async/build/spawnAsync.js:17:21)
at spawnAsyncThrowError (/app/turtle/node_modules/@expo/xdl/build/detach/ExponentTools.js:201:45)
at buildShellAppAsync (/app/turtle/node_modules/@expo/xdl/build/detach/AndroidShellApp.js:985:11)
at async Object.createAndroidShellAppAsync (/app/turtle/node_modules/@expo/xdl/build/detach/AndroidShellApp.js:396:5)
at async runShellAppBuilder (/app/turtle/build/builders/android.js:95:9)
at async Object.buildAndroid [as android] (/app/turtle/build/builders/android.js:43:28)
at async build (/app/turtle/build/jobManager.js:181:33)
at async processJob (/app/turtle/build/jobManager.js:118:32)
at async Object.doJob (/app/turtle/build/jobManager.js:49:5)
at async main (/app/turtle/build/server.js:66:13)