AAPT: error: resource android:attr/fontVariationSettings not found and resource android:attr/ttcIndex not found
Solution 1:
The error is:
AAPT: error: resource android:attr/fontVariationSettings not found.
AAPT: error: resource android:attr/ttcIndex not found
Change the compileSdkVersion
to:
compileSdkVersion 28
fontVariationSettings
and ttcIndex
were added in api level 28.
Solution 2:
If anyone has this issue with some package
- In your project folder go to External libraries
- Locate the library that raised the issue
- Open it's build.gradle(app)
- update the compileSdkVersion to 28