Closed swarupbc closed 1 year ago
Same issue
jcenter.bintray.com is permanently down
hello ,
i am getting same issue recently ,
Waiting for solution , Thank You in advance ...! :)
@swarup13 sir ,
have you find any solution for this issue ?
Is there a workaround for this? Our major release is pending due to this.
getting the same issue on Razorpay pub
doe to this issue my work is stopped. please let me know if find any solution .
razorpay_flutter: 1.3.2 <== remove the up arrow then try it will work
razorpay_flutter: 1.3.2 <== remove the up arrow then try it will work
Its only a temp solution.
i found this solution for now until the not solve you can use this ,
add this lines ,
in app/build.gradle
constraints {
implementation('com.razorpay:checkout') {
version {
strictly '1.5.0'
}
}
}
in src/main/AndroidMenifest.xml file
<activity
android:name="com.razorpay.CheckoutActivity"
android:exported="true"
/>
<receiver android:name="com.razorpay.RzpTokenReceiver"
android:exported="false">
<intent-filter>
<action android:name="rzp.device_token.share"/>
</intent-filter>
</receiver>
this one working fine for me .
razorpay_flutter: 1.3.2 <== remove the up arrow then try it will work
It's not a good practice
@vivekshindhe can you please look into this issue?
in app/build.gradle
constraints { implementation('com.razorpay:checkout') { version { strictly '1.5.0'
}
}
}
best solution for now
I am also facing this issue if you guys got any permanent and best solution then please post here.
guys in your android/build.gradle can you try out , i tried this and it worked out for me :-
allprojects { repositories { all { ArtifactRepository repo -> println repo.url.toString() if (repo.url.toString().startsWith("https://jcenter.bintray.com/")) { project.logger.warn "Repository ${repo.url} removed." remove repo mavenCentral() } } gradlePluginPortal() // add this if you get further errors ....others } }
All credits to -->> https://stackoverflow.com/a/74261483/19295870
I was just figuring out the solution and found this on official razorpay_flutter git directory, the temp solution is to set the razorpay_flutter version to 1.3.2 without ^ this symbol. for more solution refer to this link - https://github.com/razorpay/razorpay-flutter/issues/280
guys in your android/build.gradle can you try out , i tried this and it worked out for me :-
allprojects { repositories { all { ArtifactRepository repo -> println repo.url.toString() if (repo.url.toString().startsWith("https://jcenter.bintray.com/")) { project.logger.warn "Repository ${repo.url} removed." remove repo mavenCentral() } } gradlePluginPortal() // add this if you get further errors ....others } }
All credits to -->> https://stackoverflow.com/a/74261483/19295870
This Solution Works for me too, Thanks @sagnik-sanyal for sharing.
Removed the jcenter inclusion in build.gradle file. Issue fixed on v1.3.4. Thank you for your patience.
Description
What went wrong: Execution failed for task ':app:checkDebugAarMetadata'.
Flutter (Channel stable, 3.3.6, on macOS 13.0 22A380 darwin-arm, locale en-IN) [✓] Android toolchain - develop for Android devices (Android SDK version 33.0.0) [!] Xcode - develop for iOS and macOS (Xcode 14.0.1) razorpay_flutter: ^1.3.3![Screenshot 2022-10-30 at 10 29 25 PM](https://user-images.githubusercontent.com/55395995/198891433-56723678-a4cc-4cd2-843f-cbb6d44152b3.png)