react-native-upi
react-native-upi copied to clipboard
A problem occurred evaluating project ':react-native-upi-payment'.
node_modules\react-native-upi-payment\android\build.gradle' line: 33
Same issue
@nitish24p
Could you please help us to fix this issue?
Same issue
What version of gradle are you using? Also can you run the above command with the ---stacktrace flag
same +1
same issue +1
@uttu-316 Did you get the solution...??
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
Not resolved, still
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' }