AAPT: error: resource android: attr/IStar not found.
This error occurred suddenly, it was working fine last week.
I've tried many solutions but none works. Solutions tried:
- Delete, reinstall npm, using
npm install
- clean gradle with
./gradlew clean
in /android - Cleaning npm cache with
npm cache clean --force
- add
org.gradle.jvmargs=-Xmx4608m
in /android/gradle.properties - In /android/build.gradle, inside
ext{}
addandroidXCore = "1.6.0"
npm update @react-native-community/netinfo
- androidx.core:core-ktx:+ to androidx.core:core-ktx:1.6.0 but I've searched through my project, there is no 'androidx.core:core-ktx:+. So this solution I found is irrelevant.
Version:
"react-native": "0.63.4",
compileSdkVersion = 29
targetSdkVersion = 29