Error: Resource Android:Attr/Fontvariationsettings Not Found

error: resource android:attr/fontVariationSettings not found

try to change the compileSdkVersion to:

compileSdkVersion 28

fontVariationSettings added in api level 28. Api doc here

resource android:attr/fontVariationSettings not found. and android:attr/ttcIndex not found. error out of no where

Increase your compileSdkVersion to 29. You are using a library that requires an up-to-date compileSdkVersion.

resource android:attr/fontVariationSettings not found. in react-native

This helped me

in the top of file android/gradle.properties

googlePlayServicesVersion=12.0.1

And create new index.android.bundle

react-native bundle --platform android --dev false --entry-file index.js --bundle-output android/app/src/main/assets/index.android.bundle --assets-dest android/app/src/main/res

Android build suddenly starts failing with : resource android:attr/fontVariationSettings not found

The fontVariationSettings attribute was added in API Level 28.

Set your compileSdkVersion to 28 or higher to be able to use libraries that reference this attribute.



Related Topics



Leave a reply



Submit