Android Question Get error when add imageslider. How can i solved this ?

eror imageslider.png
 
Logger connected to: Xiaomi Redmi 7
--------- beginning of system
--------- beginning of main
** Activity (dashboard) Pause, UserClosed = true **
** Service (starter) Destroy (ignored)**
Copying updated assets files (1)
*** Service (starter) Create ***
** Service (starter) Start **
** Activity (main) Create, isFirst = true **
** Activity (main) Resume **
** Activity (main) Pause, UserClosed = false **
** Activity (dashboard) Create, isFirst = true **
Error occurred on line: 89 (Dashboard)
java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
at anywheresoftware.b4a.keywords.LayoutBuilder.loadLayout(LayoutBuilder.java:155)
at anywheresoftware.b4a.objects.PanelWrapper.LoadLayout(PanelWrapper.java:134)
at nakes.example.dashboard$ResumableSub_Activity_Create.resume(dashboard.java:680)
at nakes.example.dashboard._activity_create(dashboard.java:651)
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:146)
at nakes.example.dashboard.afterFirstLayout(dashboard.java:105)
at nakes.example.dashboard.access$000(dashboard.java:17)
at nakes.example.dashboard$WaitForLayout.run(dashboard.java:83)
at android.os.Handler.handleCallback(Handler.java:883)
at android.os.Handler.dispatchMessage(Handler.java:100)
at android.os.Looper.loop(Looper.java:221)
at android.app.ActivityThread.main(ActivityThread.java:7542)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:539)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:950)
Caused by: java.lang.reflect.InvocationTargetException
at java.lang.reflect.Method.invoke(Native Method)
at anywheresoftware.b4a.objects.CustomViewWrapper.AfterDesignerScript(CustomViewWrapper.java:64)
at anywheresoftware.b4a.keywords.LayoutBuilder.loadLayout(LayoutBuilder.java:147)
... 19 more
Caused by: java.lang.NoClassDefFoundError: Failed resolution of: Landroid/support/v4/view/PagerAdapter;
at de.donmanfred.SliderWrapper._initialize(SliderWrapper.java:141)
... 22 more
Caused by: java.lang.ClassNotFoundException: android.support.v4.view.PagerAdapter
... 23 more
** Activity (dashboard) Resume **
 
Upvote 0

Alexander Stolte

Expert
Licensed User
Longtime User
Which imageslider?
 
Upvote 0
Top