Closed MohsinP07 closed 9 months ago
Hey @MohsinP07, looks like flutter is trying to get the dependency from JCenter. Can you check if jcenter is present in the (root-level) build.gradle file/buildscript/repositories? If it is present, you can try removing it or adding mavenCentral() at the top of the list as the search for dependencies goes one by one.
Hey @vivekshindhe this worked for me. Thanks a lot!
In my project i have used razorpay-flutter package, it was working fine but suddenly whle building the project i am getting error as FAILURE: Build failed with an exception.