Compilation Error

yttrium

Active Member
Licensed User
Longtime User
Whenever I try to compile, I seem to be getting the following error:

B4X:
Parsing code.                           0.02
Compiling code.                         0.01
Compiling layouts code.                 0.01
Generating R file.                      0.39
Compiling generated Java code.          Error
B4A line: 61
container.Initialize
javac 1.6.0_31
src\com\yttrium\scrotter\main.java:269: cannot access android.support.v4.view.PagerAdapter
class file for android.support.v4.view.PagerAdapter not found
mostCurrent._container.Initialize(mostCurrent.activityBA);
                      ^
1 error

All that exists on this line (61) in B4A is the standard
B4X:
container.Initialize
from AHViewPager.

It was compiling earlier just fine, but I'm on a different machine now, and yes the library is installed. What might I be doing wrong?
 

yttrium

Active Member
Licensed User
Longtime User
You don't have the "support library v4" installed on that machine, read the RED TEXT on THIS post.

Ahh, thanks, nice catch. Must have forgotten to include it on this machine, while I had it on the other one.
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…