Android Question ERROR: In <declare-styleable> FontFamilyFont, unable to find attribute android:font

Kentric

New Member
Licensed User
Longtime User
I would appreciate any help on the following:

Why am I getting this error with library 'RunTimePermissions' during compile

Generating R file. Error
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


I am testing with an empty project, no code and no other libraries.
If I remove the reference to the library, it compiles fine.

B4A Version 8.0:
 

Kentric

New Member
Licensed User
Longtime User
Ok Erel, thanks.

I only have the B4A SDK Manager to manage the Android SDK, I know of no other way.

However, I have solved my problem, I think.

I changed the path to android.jar from android-24 to android-27.

Not sure why this fixed it but I would guess that it has something to do with Runtime Permissions not being available in earlier platforms.
Anyhow, its now working.

Thank you.
 
Upvote 0
Top