Closed kabitacode closed 7 months ago
Your error has nothing to do with the plug-in. Your error message seems quite clear about what you need to do. Have you actually read it?
Hi @christocracy , thank you for replying, yes I have read it correctly, I tried adding this in android/build.gradle but it still gives an error
maven {
// react-native-background-fetch
url("${project(':react-native-background-fetch').projectDir}/libs")
}
If I were you, I'd be having a look at my compileSdkVersion, targetSdkVersion in my app/build.gradle
in my app/build.gradle, I tried changing it to 33 but it's still the same
defaultConfig {
applicationId "com.example"
minSdkVersion rootProject.ext.minSdkVersion
targetSdkVersion rootProject.ext.targetSdkVersion
versionCode 41
versionName "1.1.1"
multiDexEnabled true
}
Well, your app thinks otherwise, so keep digging.
Hi, thank you for helping me, apparently this was my error in android/build.gradle I tried deleting this and it worked
subprojects {
afterEvaluate {project ->
if (project.hasProperty("android")) {
android {
compileSdkVersion 28
buildToolsVersion "28.0.3"
}
}
}
}
close your issues when complete
Your Environment
react-native -v
): 0.67.2Expected Behavior
Hi, Thank you for creating this amazing package, but when I run it there is an error as seen in this picture.
Context
in android/build.gradle buildscript { ext { buildToolsVersion = "30.0.2" minSdkVersion = 21 compileSdkVersion = 33 targetSdkVersion = 33 googlePlayServicesVersion = "+" ndkVersion = "21.4.7075529" kotlinVersion = '1.5.20' firebaseIidVersion = "19.0.1" // default: "19.0.1"
Debug logs