Android Question Update B4A10 - Fail to load FA.FontAwesomeTypeface = Typeface.LoadFromAssets("Arial.ttf")

rafaelcamara

Member
Licensed User
Dear all,

I just updated to B4A 10 and I got an error to load the application. Please advise me.

Please do find below my build log:

B4A Version: 10.0
Java Version: 8
Parsing code. (1.13s)
Building folders structure. (0.04s)
Compiling code. (6.85s)
Compiling layouts code. (0.16s)
Organizing libraries. (0.00s)
(AndroidX SDK)
Generating R file. (0.00s)
Compiling debugger engine code. Error
B4A line: 29
FA.FontAwesomeTypeface = Typeface.LoadFromAssets(
javac 1.8.0_231
shell\src\sag\mobile\storeOPN\cadaparelho_subs_0.java:24: error: unexpected type
cadaparelho.mostCurrent._fa.runMethod(false,"_fontawesometypeface") = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.keywords.constants.TypefaceWrapper"), cadaparelho.mostCurrent.__c.getField(false,"Typeface").runMethod(false,"LoadFromAssets",(Object)(RemoteObject.createImmutable("Arial.ttf"))));
^
required: variable
found: value
1 error


1595530045169.png
 
Top