Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

React Native Android : Could not resolve org.gradle.toolchains:foojay-resolver:0.5.0 #929

Open
ravi123saxena opened this issue Jan 14, 2024 · 0 comments

Comments

@ravi123saxena
Copy link

Laptop: Mac OS M2 Chip
OS : SONOMA - 14.2.1
Issue: Android SDK - Android Studio Hedgehog | 2023.1.1 Patch 1

error Failed to install the app. Command failed with exit code 1: ./gradlew app:installDebug -PreactNativeDevServerPort=8081 FAILURE: Build failed with an exception. * What went wrong:
Could not resolve all files for configuration 'classpath'.

Could not resolve org.gradle.toolchains:foojay-resolver:0.5.0. Required by: unspecified:unspecified:unspecified > org.gradle.toolchains.foojay-resolver-convention:org.gradle.toolchains.foojay-resolver-convention.gradle.plugin:0.5.0 > Could not resolve org.gradle.toolchains:foojay-resolver:0.5.0. > Could not get resource 'https://plugins.gradle.org/m2/org/gradle/toolchains/foojay-resolver/0.5.0/foojay-resolver-0.5.0.pom'. > Could not GET 'https://plugins-artifacts.gradle.org/org.gradle.toolchains/foojay-resolver/0.5.0/824e8819d685581917eb6211904b03f18152247338bc5df231a3c251438212b0/foojay-resolver-0.5.0.pom'. > PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target * 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 3s.
info Run CLI with --verbose flag for more details.

Please anyone help asap.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant