ERROR: In <declare-styleable> FontFamilyFont, unable to find attribute android:fontVariationSettings
ERROR: In <declare-styleable> FontFamilyFont, unable to find attribute android:ttcIndex
在build.grade文件中添加即可:
configurations.all {
resolutionStrategy {
force 'com.android.support:support-v4:27.1.0'
}
}
详细解决方案见原文链接:
https://stackoverflow.com/questions/49162538/cordova-build-android-unable-to-find-attribute-androidfontvariationsettings-a