Error: resource android:attr/fontVariationSettings not found

getting below error while doing initial setup

/home/kalandher.s/.gradle/caches/transforms-1/files-1.1/appcompat-v7-27.1.1.aar/fe60ba1e2fc433e77557653054dbc233/res/values/values.xml: AAPT: error: resource android:attr/fontVariationSettings not found.
    

/home/kalandher.s/.gradle/caches/transforms-1/files-1.1/appcompat-v7-27.1.1.aar/fe60ba1e2fc433e77557653054dbc233/res/values/values.xml: AAPT: error: resource android:attr/ttcIndex not found.
    
/home/kalandher.s/Documents/work/trunk/skylark/platforms/android/build/intermediates/incremental/mergeDebugResources/merged.dir/values/values.xml:237: error: resource android:attr/fontVariationSettings not found.
/home/kalandher.s/Documents/work/trunk/skylark/platforms/android/build/intermediates/incremental/mergeDebugResources/merged.dir/values/values.xml:237: error: resource android:attr/ttcIndex not found.
error: failed linking references.

Failed to execute aapt

com.android.ide.common.process.ProcessException: Failed to execute aapt

below is my properties.gradle file

target=android-26

android.library.reference.1=CordovaLib

cordova.gradle.include.1=cordova-android-support-gradle-release/appname-cordova-android-support-gradle-release.gradle

cordova.system.library.1=com.android.support:support-v4:24.1.1+

cordova.system.library.2=com.android.support:support-v4:+

cordova.system.library.3=com.android.support:support-annotations:27.+

cordova.system.library.4=com.android.support:support-v4:26.+

cordova.system.library.5=com.squareup.okhttp3:okhttp-urlconnection:3.10.0

cordova.system.library.6=com.android.support:appcompat-v7:26.+

cordova.gradle.include.2=cordova-plugin-firebase/appname-build.gradle

cordova.system.library.7=com.google.android.gms:play-services-tagmanager:+

cordova.system.library.8=com.google.firebase:firebase-core:+

cordova.system.library.9=com.google.firebase:firebase-messaging:+

cordova.system.library.10=com.google.firebase:firebase-config:+

cordova.system.library.11=com.google.firebase:firebase-perf:+

gradle version : Gradle 4.4.1

Facing the same issue !