-
Notifications
You must be signed in to change notification settings - Fork 107
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
Execution failed for task ':app:preDebugBuild' #158
Comments
The automatic steps did not work. The manual steps need a bit more of documentation to be clear how to follow. |
Hey @devautor! Did you get it working? |
Hi @devrohityadav I couldn't then. |
It is functional if you follow manual steps as i have pointed out https://medium.com/@sachin.r.r/using-razorpay-in-react-native-sample-3dea020de6a5 |
@sillysachin and every one it is working now as expected, just i had change the minSdkVersion in my top most build.gradle from 16 to 19, and it works perfectly for android. Thank you. |
Could not help any of the above |
If you guys are still facing the issue, then please update your current package to the latest one i.e. 2.1.32. Closing this issue due to the time elapsed. Please feel free to either re-open the issue or create a |
I have downloaded the example code from this repo, deleted
ios
folder to mitigateios
package linking specific error (on Windows), and then I could successfully usereact-native link react-native-razorpay
. Inandroid/app/build.gradle
, this setsimplementation project(':react-native-razorpay')
, while docs say to docompile project(':react-native-razorpay')
in manual steps.Issue: On running
react-native run-android
I am getting following error threads, which I could not fix myself. I did try a day worth of combinations. I am getting the same thing irrespective of using the example folder (with deletedios
folder) or creating a new one withreact-native init ...
. Both are behaving the same as reported below. I tried both of these following changes inbuild.gradle
in both types of projects. Errors are:With
implementation project(':react-native-razorpay')
:With
compile project(':react-native-razorpay')
:Note: I had to change
minSDK
version from 16 to 19 to match withreact-native-razorpay
if that matters.The text was updated successfully, but these errors were encountered: