Error:
Corresponding code:
B4X:
** Activity (configure) Create, isFirst = true **
Error occurred on line: 29 (Configure)
java.lang.NoSuchFieldException: No field mActionView in class Lcom/android/internal/app/WindowDecorActionBar; (declaration of 'com.android.internal.app.WindowDecorActionBar' appears in /system/framework/framework.jar:classes2.dex)
at java.lang.Class.getDeclaredField(Native Method)
at anywheresoftware.b4a.objects.StdActionBar.Initialize(StdActionBar.java:64)
at io.zmote.remote.b4a.configure._activity_create(configure.java:399)
at java.lang.reflect.Method.invoke(Native Method)
at anywheresoftware.b4a.shell.Shell.runMethod(Shell.java:703)
at anywheresoftware.b4a.shell.Shell.raiseEventImpl(Shell.java:340)
at anywheresoftware.b4a.shell.Shell.raiseEvent(Shell.java:247)
at java.lang.reflect.Method.invoke(Native Method)
at anywheresoftware.b4a.ShellBA.raiseEvent2(ShellBA.java:134)
at io.zmote.remote.b4a.configure.afterFirstLayout(configure.java:102)
at io.zmote.remote.b4a.configure.access$000(configure.java:17)
at io.zmote.remote.b4a.configure$WaitForLayout.run(configure.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:148)
at android.app.ActivityThread.main(ActivityThread.java:5441)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:738)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:628)
** Activity (configure) Resume **
Corresponding code:
B4X:
Sub Globals
Private actBar As StdActionBar
End Sub
Sub Activity_Create(FirstTime As Boolean)
Activity.LoadLayout("Configure")
actBar.Initialize("ACTBAR") <---- line 29
actBar.ShowUpIndicator = True
SetActionBarColor(0xFF000000 + Main.CLRENA)