Android Question unable to find attribute android:font

trepdas

Active Member
Licensed User
Longtime User
just upgraded from android 18 to 21.
changed the paths accordingly.

this is what I get in the compiling windows :

B4A Version: 7.80
Parsing code. (0.03s)
Compiling code. (0.05s)
Compiling layouts code. (0.00s)
Organizing libraries. (1.18s)
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

what can be the probelm?
 
Last edited:

Peter Simpson

Expert
Licensed User
Longtime User
I would point B4A to the new SDK folder and make sure that all the recommended items are downloaded. Also make that you are up to date with your Java, I think that it's 151...
 
Upvote 0

trepdas

Active Member
Licensed User
Longtime User
anyway...
I opened the old sdk manager and noticed that there were some components that were missing in the new sdk manager...
installed those and all is fixed...

Thx
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…