I'm following along with the new SDK version change requirement Erel tutorial and when I try to run the code I get the following error message which I've experienced at least once before.
My question: How does one set the FontFamilyFont? Is it a library that I need to activate in the library tab?
Thanks
P.S. In case it helps, here is the code that returns the error message (as I said it is a copy of Erel's code in the SDK tutorial
B4X:
B4A Version: 7.80
Parsing code. (0.00s)
Compiling code. (0.04s)
Compiling layouts code. (0.00s)
Organizing libraries. (0.66s)
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
My question: How does one set the FontFamilyFont? Is it a library that I need to activate in the library tab?
Thanks
P.S. In case it helps, here is the code that returns the error message (as I said it is a copy of Erel's code in the SDK tutorial
B4X:
Sub Process_Globals
Private rp As RuntimePermissions
Private shared As String
End Sub
Sub Globals
'These global variables will be redeclared each time the activity is created.
'These variables can only be accessed from this module.
End Sub
Sub Activity_Create(FirstTime As Boolean)
shared = rp.GetSafeDirDefaultExternal("")
Dim testFolder As String = rp.GetSafeDirDefaultExternal("test")
File.WriteString(testFolder, "test.txt", "aaa")
End Sub
Sub Activity_Resume
End Sub
Sub Activity_Pause (UserClosed As Boolean)
End Sub
Last edited: