Closed NikhilMasurkar closed 1 year ago
':react-native-cashfree-pg-sdk:compileDebugJavaWithJavac'
Please open this issue against react-native-cashfree-pg-sdk
as this is not related to React Native itself
Got the same issue after upgrading from 0.68.2 to 0.72.3. Any fixes?
dapak, no solution? :(
After upgrading 0.71 to 0.72, Android build was failed I got this error : "Can't find build-gradle:7.4.2"
It seems that problem is related to node_modules/react-native/build.gradle.kts
. By changing com.android.library , com.androud.application versions to 7.5.1, android app was ran.
plugins {
id("com.android.library") version "7.5.1" apply false // Updated
id("com.android.application") version "7.5.1" apply false // Updated
id("de.undercouch.download") version "5.0.1" apply false
kotlin("android") version "1.7.22" apply false
}
We should wait to react-native
developers update gradle version.
New Version
0.72.0
Old Version
0.71.7
Build Target(s)
android
Output of
react-native info
`// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript { ext { buildToolsVersion = "33.0.0" minSdkVersion = 21 compileSdkVersion = 33 targetSdkVersion = 33 ndkVersion = "23.1.7779620" googlePlayServicesAuthVersion = "16.0.1" kotlin_version = '1.7.22' // <- add this line facebookSdkVersion = "13.1.0" } repositories { google() mavenCentral() } dependencies { classpath("com.android.tools.build:gradle") classpath("com.facebook.react:react-native-gradle-plugin") classpath 'com.google.gms:google-services:4.3.15' classpath 'com.google.firebase:firebase-crashlytics-gradle:2.9.2' classpath 'com.google.firebase:perf-plugin:1.4.2' classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:1.8.10" // <- add this line
}
allprojects {
} `
Issue and Reproduction Steps
after upgrading not able to build please check the issue not able to find the problem