Android Question Strange error Beta #2

AndOrNot

Well-Known Member
Licensed User
Longtime User
Hi all, i've this strange error. In 6.50 works properly.
The error is related to this code, but give me an error only in customprogressdialog, i use the method in other code without issue.
Code:

B4X:
Dim dg As CustomProgressDialog
dg.Initialize(Activity,70%x,-1,-1,"","",0xFF404a5e,0xFFF7CC1C,"Default",True)
dg.Show(Utils.Tr("ut_28"),Colors.White)

'Utils
Sub Tr (str As String) As String   
    Return ahtrans.GetResourceString(str&"_"&Language.ToUpperCase).Replace("%%","%").Replace("/n",CRLF)
End Sub 'I use this sub in other code without problem

** Activity (editbuild) Pause, UserClosed = true **
** Activity (build) Resume **
** Activity (build) Pause, UserClosed = true **
** Activity (main) Resume **
** Activity (main) Pause, UserClosed = false **
** Activity (vend) Create, isFirst = true **
~w:1004,vend,23
vend_activity_create (B4A line: 35)
Return ahtrans.GetResourceString(str&"_"&Language
java.lang.NoSuchMethodError: No virtual method MeasureMultilineTextHeight(Landroid/widget/TextView;Ljava/lang/String;)I in class Lanywheresoftware/b4a/objects/StringUtils; or its super classes (declaration of 'anywheresoftware.b4a.objects.StringUtils' appears in /data/app/ed.tactivision.com-2/base.apk)
at njdude.custom.progressdialog.customprogressdialog._show(customprogressdialog.java:417)
at ed.tactivision.com.vend._activity_create(vend.java:402)
at java.lang.reflect.Method.invoke(Native Method)
at anywheresoftware.b4a.BA.raiseEvent2(BA.java:179)
at ed.tactivision.com.vend.afterFirstLayout(vend.java:102)
at ed.tactivision.com.vend.access$000(vend.java:17)
at ed.tactivision.com.vend$WaitForLayout.run(vend.java:80)
at android.os.Handler.handleCallback(Handler.java:739)
at android.os.Handler.dispatchMessage(Handler.java:95)
at android.os.Looper.loop(Looper.java:158)
at android.app.ActivityThread.main(ActivityThread.java:7229)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java)
 
Top