nitish24p / react-native-upi

A tiny module for Adding payments via UPI in your react native apps ❤️
MIT License
77 stars 30 forks source link

A problem occurred evaluating project ':react-native-upi-payment'. #41

Open nitinrevankar opened 2 years ago

nitinrevankar commented 2 years ago

node_modules\react-native-upi-payment\android\build.gradle' line: 33

pareshDev31 commented 2 years ago

Same issue

sanjaymhatre commented 2 years ago

@nitish24p image

Could you please help us to fix this issue?

iamsathyaseelan commented 2 years ago

Same issue

nitish24p commented 2 years ago

What version of gradle are you using? Also can you run the above command with the ---stacktrace flag

uttu-316 commented 2 years ago

same +1

manish0707 commented 2 years ago

same issue +1

manish0707 commented 2 years ago

@uttu-316 Did you get the solution...??

MonMohon commented 1 year ago

compile "com.facebook.react:react-native:+" // From node_modules compile 'com.google.code.gson:gson:2.8.0' change to implementation "com.facebook.react:react-native:+" // From node_modules implementation 'com.google.code.gson:gson:2.8.0'

if still not working

Add after buildscript{} def isNewArchitectureEnabled() { // To opt-in for the New Architecture, you can either: // - Set newArchEnabled to true inside the gradle.properties file // - Invoke gradle with -newArchEnabled=true // - Set an environment variable ORG_GRADLE_PROJECT_newArchEnabled=true return project.hasProperty("newArchEnabled") && project.newArchEnabled == "true" }

dependencies { if (isNewArchitectureEnabled()) { implementation project(":ReactAndroid") } else { implementation 'com.facebook.react:react-native:+' } .... }

Hope it will work Thank You

Rickshesh commented 1 year ago

Not resolved, still

Navinnahar11 commented 1 year ago

dependencies { compile "com.facebook.react:react-native:+" // From node_modules compile 'com.google.code.gson:gson:2.8.0' } change compile to implimentation it is work for me

dependencies { implimentation "com.facebook.react:react-native:+" // From node_modules implimentation 'com.google.code.gson:gson:2.8.0' }