You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I cloned this repository to my local and installed the dependencies with yarn , then
1:19:05 › npx react-native run-android
info Running jetifier to migrate libraries to AndroidX. You can disable it using "--no-jetifier" flag.
Jetifier found 1014 file(s) to forward-jetify. Using 4 workers...
info Starting JS server...
info Installing the app...
Starting a Gradle Daemon (subsequent builds will be faster)
FAILURE: Build failed with an exception.
* What went wrong:
Could not determine the dependencies of task ':app:preDebugBuild'.
> Could not resolve all task dependencies for configuration ':app:debugRuntimeClasspath'.
> Could not resolve androidx.transition:transition:1.1.0.
Required by:
project :app > project :react-native-reanimated
> Could not resolve androidx.transition:transition:1.1.0.
> Could not get resource 'https://dl.google.com/dl/android/maven2/androidx/transition/transition/1.1.0/transition-1.1.0.pom'.
> Could not GET 'https://dl.google.com/dl/android/maven2/androidx/transition/transition/1.1.0/transition-1.1.0.pom'.
> Remote host terminated the handshake
> Could not resolve androidx.transition:transition:1.1.0.
> Could not get resource 'https://jcenter.bintray.com/androidx/transition/transition/1.1.0/transition-1.1.0.pom'.
> Could not GET 'https://jcenter.bintray.com/androidx/transition/transition/1.1.0/transition-1.1.0.pom'.
> Remote host terminated the handshake
> Could not resolve androidx.transition:transition:1.1.0.
> Could not get resource 'https://jitpack.io/androidx/transition/transition/1.1.0/transition-1.1.0.pom'.
> Could not GET 'https://jitpack.io/androidx/transition/transition/1.1.0/transition-1.1.0.pom'.
> Remote host terminated the handshake
* 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 6m 6s
当前问题
I cloned this repository to my local and installed the dependencies with
yarn
, thenI've searched on the internet and found this issue looks similar. transistorsoft/react-native-background-geolocation#536 (comment)
Now I'm trying to install the dependencies with
npm
.Now it works. Build successful.
期待的正确输出
BUILD SUCCESSFUL
The text was updated successfully, but these errors were encountered: