Raja0sama/rn-foreground-service

Getting this error even after changing SDK version. Can't build release version... Working fine in debug mode

Closed this issue · 1 comments

Execution failed for task ':voximplant_react-native-foreground-service:verifyReleaseResources'.

A failure occurred while executing com.android.build.gradle.tasks.VerifyLibraryResourcesTask$Action
Android resource linking failed
ERROR:D:\ProjectName\node_modules@voximplant\react-native-foreground-service\android\build\intermediates\merged_res\release\values\values.xml:2717: AAPT: error: resource android:attr/lStar not found.

ext {
buildToolsVersion = "33.0.0"
minSdkVersion = 21
compileSdkVersion = 33
targetSdkVersion = 33

    // We use NDK 23 which has both M1 support and is the side-by-side NDK version from AGP.
   ndkVersion = "23.1.7779620"
}

While using this ./gradlew assembleRelease command it makes the errors mentioned above

issue solved