我正在使用 Cordova 构建 Android 和 iOS 应用程序,但是当我运行构建时出现以下错误:
ERROR: In <declare-styleable> FontFamilyFont, unable to find attribute android:font
ERROR: In <declare-styleable> FontFamilyFont, unable to find attribute android:fontStyle
ERROR: In <declare-styleable> FontFamilyFont, unable to find attribute android:fontWeight
最佳答案
在 C:\Users\\AppData\Local\Android\sdk\build-tools 检查你最新构建工具的版本并在 appFolder\platforms\android\project.properties 中使用:
cordova.system.library.2=com.android.support:support-v4:<your build tools version>
关于android - Cordova 构建错误 - 无法找到属性 android :font,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/50638804/