react-native-upi icon indicating copy to clipboard operation
react-native-upi copied to clipboard

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

Open nitinrevankar opened this issue 2 years ago • 10 comments

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

nitinrevankar avatar Apr 22 '22 09:04 nitinrevankar

Same issue

pareshDev31 avatar May 17 '22 02:05 pareshDev31

@nitish24p image

Could you please help us to fix this issue?

sanjaymhatre avatar May 24 '22 15:05 sanjaymhatre

Same issue

iamsathyaseelan avatar Jul 18 '22 12:07 iamsathyaseelan

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

nitish24p avatar Jul 25 '22 14:07 nitish24p

same +1

uttu-316 avatar Aug 20 '22 03:08 uttu-316

same issue +1

manish0707 avatar Sep 04 '22 09:09 manish0707

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

manish0707 avatar Sep 04 '22 10:09 manish0707

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

MonMohon avatar Nov 07 '22 09:11 MonMohon

Not resolved, still

Rickshesh avatar Dec 13 '22 13:12 Rickshesh

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' }

Navinnahar11 avatar Jan 31 '23 11:01 Navinnahar11