Android Question [SOLVED] error: cannot access PagerAdapter

AHilberink

Active Member
Licensed User
Longtime User
Hi,

Of an older project, I got an error compeling it in my v12 BA4 version compling for android-32.
Original build in v7 or v9 for an older android version.

I got:
B4X:
javac 1.8.0_201
src\nwa\inspection\formulier.java:769: error: cannot access PagerAdapter
mostCurrent._bewerken._titel /*String*/  = "VOLZETTEN AFSCHEIDINGSINSTALLATIE "+mostCurrent._container.GetTitle(mostCurrent._pager.getCurrentPage()).toUpperCase();
                                                                                                      ^
  class file for android.support.v4.view.PagerAdapter not found

On this code:
B4X:
Bewerken.Titel = "VOLZETTEN AFSCHEIDINGSINSTALLATIE "&container.GetTitle(Pager.CurrentPage).ToUpperCase

I add:
#AdditionalJar: com.android.support:support-v4

I checked if AHVIewPager is in my additional libary folder and not in the internal.

Any help would be appreciated.

Kind regards,
André
 
Cookies are required to use this site. You must accept them to continue using the site. Learn more…