Skip to content
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

Could not find method compile() for arguments [project ':react-native-upi-payment'] #49

Open
shubhamchepe opened this issue Jun 14, 2023 · 3 comments

Comments

@shubhamchepe
Copy link

dependencies {
classpath("com.android.tools.build:gradle:7.3.1")
classpath("com.facebook.react:react-native-gradle-plugin")
classpath 'com.google.gms:google-services:4.3.15'
compile project(':react-native-upi-payment')
}

@pratteekshaurya1994
Copy link

goto node_modules>react-native-upi-payment>android>build.gradle

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

change "compile" to "implementation"

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

@nitish24p
Copy link
Owner

@pratteekshaurya1994 Would you like to give a PR for the same, i can merge it and push a new bundle out on npm

@YadhuYk007
Copy link

@nitish24p I have added a PR for the same. Please review it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants