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

Discussion in 'Android Questions' started by Brandsum, Jul 5, 2019.

  1. Brandsum

    Brandsum Active Member Licensed User

    Hi,

    While using AHViewPager library, I'm getting this following error,
    Code:
    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
     
  2. Brandsum

    Brandsum Active Member Licensed User

    Solved!! I had to clean the project.
     
Loading...
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice