Raja0sama / rn-foreground-service

Foreground Service for React Native made with ❤
https://rn-foreground.vercel.app/
148 stars 70 forks source link

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

Closed arjunramdas closed 1 year ago

arjunramdas commented 1 year ago

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

arjunramdas commented 1 year ago

issue solved