Skip to content
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

java.lang.NoSuchMethodError: No static method rememberPagerState #46

Closed
triandamai opened this issue Mar 7, 2022 · 4 comments · Fixed by #47
Closed

java.lang.NoSuchMethodError: No static method rememberPagerState #46

triandamai opened this issue Mar 7, 2022 · 4 comments · Fixed by #47
Assignees
Labels
bug Something isn't working
Milestone

Comments

@triandamai
Copy link

In my project already use AccompanistPager v 23.1.0
And when use SelectableCalendar got the error:

E/AndroidRuntime: FATAL EXCEPTION: main
    Process: com.cexup.doctor.pusdokkes, PID: 4290
    java.lang.NoSuchMethodError: No static method rememberPagerState(IIFIZLandroidx/compose/runtime/Composer;II)Lcom/google/accompanist/pager/PagerState; in class Lcom/google/accompanist/pager/PagerStateKt; or its super classes (declaration of 'com.google.accompanist.pager.PagerStateKt' appears in /data/app/~~9dkd69JlNmf8FNSJqJyuHA==/com.cexup.doctor.pusdokkes-etFJ7cBHgDKkbgDW1WYRKQ==/base.apk!classes24.dex)
        at io.github.boguszpawlowski.composecalendar.month.MonthContentKt.MonthPager(MonthContent.kt:44)
        at io.github.boguszpawlowski.composecalendar.CalendarKt.Calendar(Calendar.kt:190)
        at io.github.boguszpawlowski.composecalendar.CalendarKt.SelectableCalendar(Calendar.kt:83)
@boguszpawlowski boguszpawlowski self-assigned this Mar 8, 2022
@boguszpawlowski boguszpawlowski added the bug Something isn't working label Mar 8, 2022
@boguszpawlowski
Copy link
Owner

This will probably be resolved by updating library to compose 1.1 Will try to do it over the weekend

@boguszpawlowski
Copy link
Owner

@triandamai Should be fixed in 0.3.1-SNAPSHOT

@triandamai
Copy link
Author

Thank's 😀

@boguszpawlowski
Copy link
Owner

Fix released in 0.4.0

@boguszpawlowski boguszpawlowski added this to the 0.4.0 milestone Mar 16, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants