Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.Start your free trial
the constructor expects android.Support.v4.App.FragmentManager
Im having Android.App.Fragment with ViewPager but the FragmentPagerAdapter constructor expecting Android.Support.V4.App.FragmentManager. i tried compile 'com.android.support:support-v13:23.2.1' but still didnt work for me. maybe do i need to replace import statement in code? but which nd where?
You need to include the v4 support library in your app's build.gradle file. For eg : compile "com.android.support:support-v4:18.0.+"