Ionic异常及解决

1. 编译时提示:

ERROR: In <declare-styleable> FontFamilyFont, unable to find attribute android:fontVariationSettings
ERROR: In <declare-styleable> FontFamilyFont, unable to find attribute android:ttcIndex

解决:在platforms/android/build.gradle中顶级节点加入:

configurations.all {
    resolutionStrategy {
        force 'com.android.support:support-v4:27.1.0'
    }
}

 

posted @   石曼迪  Views(2084)  Comments(2Edit  收藏  举报
努力加载评论中...
瓴域建设-环保事业中心
点击右上角即可分享
微信分享提示