Android Question JSDevLightNavTabBar crash

carycai

Member
Licensed User
Longtime User
@SNOUHyhQs2
Hi,i run the example,and app crash.could you give me some advice?

LOG:
B4X:
main_activity_create (java line: 353)
java.lang.NoClassDefFoundError: Failed resolutio of: Landroid/support/v4/view/animation/LinearOutSlowInInterpolator;
    at com.gigamole.navigationtabbar.ntb.NavigationTabBar.<clinit>(NavigationTabBar.java:119)
    at com.salvadorjhai.widgets.JSDevLightNavTabBar._initialize(JSDevLightNavTabBar.java:175)
    at com.salvadorjhai.widgets.JSDevLightNavTabBar.Initialize(JSDevLightNavTabBar.java:159)
    at b4a.example.main._activity_create(main.java:353)
    at java.lang.reflect.Method.invoke(Native Method)
    at anywheresoftware.b4a.BA.raiseEvent2(BA.java:186)
    at b4a.example.main.afterFirstLayout(main.java:104)
    at b4a.example.main.access$000(main.java:17)
    at b4a.example.main$WaitForLayout.run(main.java:82)
    at android.os.Handler.handleCallback(Handler.java:761)
    at android.os.Handler.dispatchMessage(Handler.java:98)
    at android.os.Looper.loop(Looper.java:156)
    at android.app.ActivityThread.main(ActivityThread.java:6523)
    at java.lang.reflect.Method.invoke(Native Method)
    at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:942)
    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:832)
Caused by: java.lang.ClassNotFoundException: Didn't find class "android.support.v4.view.animation.LinearOutSlowInInterpolator" on path: DexPathList[[zip file "/data/app/b4a.example-1/base.apk"],nativeLibraryDirectories=[/data/app/b4a.example-1/lib/arm64, /system/lib64, /vendor/lib64, /system/vendor/lib64, /product/lib64]]
    at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:56)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:380)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:312)
    ... 16 more
https://www.b4x.com/android/forum/t...ion-tab-bar-with-colorful-interactions.73407/
 
Last edited:

DonManfred

Expert
Licensed User
Longtime User
You are using which b4a version?
Did you use the B4A SDKManager to manager your SDK? Point is that
android.support.v4.view.animation.LinearOutSlowInInterpolator is added in Api 22 and, if using b4asdkmanager, you should use Api 27 already.

So my fear is you are not using it.
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…