执行ionic cordova build命令报- unable to find attribute android:fontVariationSettings and android:ttcInde

ERROR: In  FontFamilyFont, unable to find attribute android:fontVariationSettings
ERROR: In  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

你可能感兴趣的:(Ionic3)