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

Could not resolve com.razorpay:checkout:1.6.+. #401

Open
rangholiyaprince opened this issue Aug 13, 2024 · 7 comments
Open

Could not resolve com.razorpay:checkout:1.6.+. #401

rangholiyaprince opened this issue Aug 13, 2024 · 7 comments

Comments

@rangholiyaprince
Copy link

FAILURE: Build failed with an exception.

  • What went wrong:
    Execution failed for task ':app:checkDebugAarMetadata'.

Could not resolve all files for configuration ':app:debugRuntimeClasspath'.
Could not resolve com.razorpay:checkout:1.6.+.
Required by:
project :app > project :razorpay_flutter
> Failed to list versions for com.razorpay:checkout.
> Unable to load Maven meta-data from https://jcenter.bintray.com/com/razorpay/checkout/maven-metadata.xml.
> Could not HEAD 'https://jcenter.bintray.com/com/razorpay/checkout/maven-metadata.xml'. Received status code 500 from server: Internal Server Error

  • 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.

BUILD FAILED in 1m 13s
Error: Gradle task assembleDebug failed with exit code 1

@rangholiyaprince rangholiyaprince changed the title RazorPay Could not resolve com.razorpay:checkout:1.6.+. Aug 13, 2024
@vishal-xip
Copy link

Same issue. unable to run a project

@abhijit-hl
Copy link

Same Issue, Unable to build a project from today morning. It was working fine yesterday.

@nimesh-devloper
Copy link

same issue, I am also unable to run my project and am getting the same error.

@vivekshindhe
Copy link
Contributor

Hey folks, the issue is not with the razorpay-checkout SDK but with mavenCentral. The razorpay-flutter package does not use jcenter. You can verify this here. Also attaching the link to the site which states the outage in OSSRH (mavenCentral) which is why we are seeing this issue. The issue is also different for each because using a specific version has been working for some folks, while it hasn’t for others. You can try to use #400 (comment) (Thank you @niladri-raychaudhuri for explaining the steps) fix temporarily to see if that would resolve it for you, while we look into resolving this from our end.

@wrteam-vimal
Copy link

Same issue here

@vivekshindhe
Copy link
Contributor

Hey folks, seems like the issue on mavenCentral is resolved. You can check the latest status here. Please try to run ./gradlew --refresh-dependencies or ./gradle --refresh-dependencies or run Sync project with Gradle files in Android studio when the android project is opened.

@nimesh-devloper
Copy link

Hey folks,

I think Maven Central has resolved this issue, now just run the flutter clean and flutter pub get commands in your Terminal and it will work again.

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

6 participants