-
Notifications
You must be signed in to change notification settings - Fork 408
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Not compatible with AndroidX #169
Comments
Confirm that! 2018-08-28 10:21:31.580 11301-11301/ru.speedfire.flycontrolcenter E/AndroidRuntime: FATAL EXCEPTION: main |
It seems that this library is not supported anymore. |
Yes this library is androidx compatible, the way he's added the class CustomViewPager into android.support.v4.view package makes android studio confuses the android studio while migrating, simple fix is to just drop the CustomViewPager class into different package which does not have support package name |
I created a fork of this library since the author seems to no longer maintain it and published an AndroidX compatible version to maven central: https://github.com/DreierF/material-intro-screen |
@DreierF Highly appreciate your work. Keep up the good work. |
@DreierF thank you |
@DreierF tnx and solve my problem |
thank you dreierF your solution helped me a lot. |
You are a god, just saved my day! |
@DreierF thank u bro. It's work well. |
java.lang.IllegalAccessError: Method 'void androidx.viewpager.widget.PagerAdapter.setViewPagerObserver(android.database.DataSetObserver)' is inaccessible to class 'androidx.core.view.CustomViewPager' (declaration of 'androidx.core.view.CustomViewPager' appears in /data/app/com.myapp-kpPRJwiysP3ALIy5WkActg==/base.apk!classes2.dex)
at androidx.core.view.CustomViewPager.setAdapter(CustomViewPager.java:530)
at agency.tango.materialintroscreen.MaterialIntroActivity.onCreate(MaterialIntroActivity.java:94)
The text was updated successfully, but these errors were encountered: