razorpay / razorpay-flutter

Razorpay Flutter Plugin
MIT License
106 stars 147 forks source link

Could not resolve com.razorpay:checkout:1.6.+. in Flutter Latest Version 3.24 #404

Closed SumitRayte closed 1 month ago

SumitRayte commented 1 month ago

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

wrteam-vimal commented 1 month ago

Same issue here

niladri-raychaudhuri commented 1 month ago

Try this https://github.com/razorpay/razorpay-flutter/issues/400#issuecomment-2285365867

vivekshindhe commented 1 month ago

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 https://github.com/razorpay/razorpay-flutter/issues/400#issuecomment-2285365867 (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.

vivekshindhe commented 1 month ago

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 commented 1 month ago

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.

SumitRayte commented 1 month ago

Okay Thank you. My issue is resolve.