Android Question [SOLVED]B4A v9.30 BETA AndroidX SDK error with AHViewPager

Brandsum

Well-Known Member
Licensed User
Hi,

While using AHViewPager library, I'm getting this following error,
B4X:
B4A Version: 9.30 BETA #4
Java Version: 8
Parsing code.    (0.32s)
Building folders structure.    (0.02s)
Compiling code.    (0.30s)
Compiling layouts code.    (0.02s)
Organizing libraries.    (0.00s)
    (AndroidX SDK)
Generating R file.    (0.00s)
Compiling generated Java code.    Error
B4A line: 1769
wnwTab.SetViewPager(wnwViewPager)
javac 1.8.0_201
src\in\quest\main\main.java:4833: error: cannot access ViewPager
mostCurrent._wnwtab.SetViewPager((androidx.viewpager.widget.ViewPager)(mostCurrent._wnwviewpager.getObject()));
                   ^
  class file for android.support.v4.view.ViewPager not found
 
Cookies are required to use this site. You must accept them to continue using the site. Learn more…