react-native-hms-push : AAPT: error: resource android:attr/lStar not found.
Description Error compiling:
* What went wrong:
Execution failed for task ':hmscore_react-native-hms-push:verifyReleaseResources'.
> A failure occurred while executing com.android.build.gradle.tasks.VerifyLibraryResourcesTask$Action
> Android resource linking failed
ERROR:/app/node_modules/@hmscore/react-native-hms-push/android/build/intermediates/merged_res/release/values/values.xml:2731: AAPT: error: resource android:attr/lStar not found.
Expected behavior Compile success
Current behavior Compile error
Environment
- Platform: React-Native
- Kit: Push
- Kit Version: Push:6.5.0-300
- OS Version Android SDK 33
- Android Studio version (if applicable) 2021.3.1 Patch 1
- Platform version (if applicable)
- Node Version (if applicable): 16
- Your Location/Region (if applicable) : Italy
Fix Update compileSdkVersion and targetSdkVersion to 33
I'm having the same error when running gradlew assembleRelease. I'm using "react-native": "0.71.1" I updated to version 33 but still not working. My config below:
buildToolsVersion = "33.0.0" minSdkVersion = 21 compileSdkVersion = 33 targetSdkVersion = 33
@lylong90 what error do you receive?
@lylong90 what error do you receive?
Sorry, i think i misunderstood. Your suggested fix of updating compileSdkVersion and targetSdkVersion to 33 is intended to be applied to HMS Core package itself, not my own project am I right? What I did is I update the versions to my own project, getting the same error 'resource android:attr/lStar not found'
@lylong90 what package returns error 'resource android:attr/lStar not found'?
You should update your project and hms package
any updates so far?
It seems not compatible with https://github.com/wix/react-native-notifications 4.3.3