George Stoilov
George Stoilov

Reputation: 166

Cordova build error - unable to find attribute android:font

I am using Cordova for building Android and iOS app, but when I run the build I get the following errors:

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

Upvotes: 1

Views: 286

Answers (2)

Arthur &#193;villa
Arthur &#193;villa

Reputation: 26

in C:\Users\\AppData\Local\Android\sdk\build-tools check the version of your latest build tools and use in appFolder\platforms\android\project.properties:

cordova.system.library.2=com.android.support:support-v4:<your build tools version>

Upvotes: 1

Priyanka Jethwa
Priyanka Jethwa

Reputation: 77

try this in project.properties file.

target=android-26

Hope this help:)

Upvotes: 0

Related Questions