My B4A was working fine. I recently upgraded.
Now it will not run TabStripPageViewer.
I get the following error message from the attached sample code:
java.lang.ClassNotFoundException: android.support.v4$view$ViewPager$OnPageChangeListener
at anywheresoftware.b4j.object.JavaObject.getCorrectClassName(JavaObject.java:288)
at anywheresoftware.b4j.object.JavaObject.createEvent(JavaObject.java:252)
at anywheresoftware.b4j.object.JavaObject.CreateEventFromUI(JavaObject.java:222)
at b4a.example.webbrowser._setuppagechangelistener(webbrowser.java:1812)
at b4a.example.webbrowser._activity_resume(webbrowser.java:1796)
at java.lang.reflect.Method.invoke(Native Method)
at anywheresoftware.b4a.shell.Shell.runMethod(Shell.java:732)
at anywheresoftware.b4a.shell.Shell.raiseEventImpl(Shell.java:351)
at anywheresoftware.b4a.shell.Shell.raiseEvent(Shell.java:255)
at java.lang.reflect.Method.invoke(Native Method)
at anywheresoftware.b4a.ShellBA.raiseEvent2(ShellBA.java:144)
at anywheresoftware.b4a.BA.raiseEvent(BA.java:176)
at b4a.example.webbrowser.afterFirstLayout(webbrowser.java:112)
at b4a.example.webbrowser.access$000(webbrowser.java:19)
at b4a.example.webbrowser$WaitForLayout.run(webbrowser.java:84)
at android.os.Handler.handleCallback(Handler.java:808)
at android.os.Handler.dispatchMessage(Handler.java:101)
at android.os.Looper.loop(Looper.java:166)
at android.app.ActivityThread.main(ActivityThread.java:7523)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.Zygote$MethodAndArgsCaller.run(Zygote.java:245)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:921)
Any thoughts on what to do?
Now it will not run TabStripPageViewer.
I get the following error message from the attached sample code:
java.lang.ClassNotFoundException: android.support.v4$view$ViewPager$OnPageChangeListener
at anywheresoftware.b4j.object.JavaObject.getCorrectClassName(JavaObject.java:288)
at anywheresoftware.b4j.object.JavaObject.createEvent(JavaObject.java:252)
at anywheresoftware.b4j.object.JavaObject.CreateEventFromUI(JavaObject.java:222)
at b4a.example.webbrowser._setuppagechangelistener(webbrowser.java:1812)
at b4a.example.webbrowser._activity_resume(webbrowser.java:1796)
at java.lang.reflect.Method.invoke(Native Method)
at anywheresoftware.b4a.shell.Shell.runMethod(Shell.java:732)
at anywheresoftware.b4a.shell.Shell.raiseEventImpl(Shell.java:351)
at anywheresoftware.b4a.shell.Shell.raiseEvent(Shell.java:255)
at java.lang.reflect.Method.invoke(Native Method)
at anywheresoftware.b4a.ShellBA.raiseEvent2(ShellBA.java:144)
at anywheresoftware.b4a.BA.raiseEvent(BA.java:176)
at b4a.example.webbrowser.afterFirstLayout(webbrowser.java:112)
at b4a.example.webbrowser.access$000(webbrowser.java:19)
at b4a.example.webbrowser$WaitForLayout.run(webbrowser.java:84)
at android.os.Handler.handleCallback(Handler.java:808)
at android.os.Handler.dispatchMessage(Handler.java:101)
at android.os.Looper.loop(Looper.java:166)
at android.app.ActivityThread.main(ActivityThread.java:7523)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.Zygote$MethodAndArgsCaller.run(Zygote.java:245)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:921)
Any thoughts on what to do?