razorpay / razorpay-flutter

Razorpay Flutter Plugin
MIT License
107 stars 147 forks source link

Execution failed for task ':app:checkDebugAarMetadata'. #392

Open navtan1 opened 1 month ago

navtan1 commented 1 month ago

when i run the project i got this type of error

vivekshindhe commented 1 month ago

@navtan1 , Hey, I'm unable to reproduce the issue. Can you try with a different network? It doesn't look like this is an issue from the SDK but the MavenRepository it's hosted on.

There are two things you can try:

  1. Try to run the project while you are connected to a different network. It is possible that there may be a proxy on your network you aren't aware of.
  2. You can check if this is something you can do in the Flutter project. Link
navtan1 commented 1 month ago

i have try with change the network but not work show same error and suddenly get this error nothing i have changed

bhavesh-xcitech commented 3 weeks ago

any one can able to find the solution i am getting same error

mrrathod0007 commented 3 weeks ago

any one can able to find the solution i am getting same error

  • 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 GET 'https://jcenter.bintray.com/com/razorpay/checkout/maven-metadata.xml'. Received status code 500 from server: Internal Server Error

i have same issue

mitaliagmits commented 3 weeks ago
Mohitrangani59 commented 3 weeks ago

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

Mohitrangani59 commented 3 weeks ago

I solve this problem by first commenting all razorepay related code and then build apk after building apk uncomment razorpay related code from dart file and pubspec.yaml file then rebuild app.

bhavesh-xcitech commented 3 weeks ago

may be issue on mavenCentral is resolved. not because of commenting out code uncomment it.