google / accompanist

A collection of extension libraries for Jetpack Compose
https://google.github.io/accompanist
Apache License 2.0
7.38k stars 596 forks source link

Error in app after update to latest release of accompanist #1643

Closed joyner-perez closed 1 year ago

joyner-perez commented 1 year ago

Describe the bug

When adding the latest version, 0.31.3-beta, BottomDrawer gives me the following exception: java.lang.NoSuchMethodError: No static method SnapLayoutInfoProvider.

To Reproduce

Steps to reproduce the behavior:

  1. Go to add latest version(0.31.3-beta)
  2. Click on sync project
  3. Run app
  4. See error

Expected behavior

A clear and concise description of what you expected to happen.

Screenshots?

If applicable, add screenshots to help explain your problem.

Environment:

Additional context

Add any other context about the problem here.

ianhanniballake commented 1 year ago

There's no BottomDrawer integration in Accompanist, so this isn't something that is fixable at the Accompanist level.

Accompanist 0.31.3-beta is built against Compose 1.5.0-beta01, so make sure you've upgrade all other dependencies (such as Compose Material) to use 1.5.0-beta01 as well - this kind of error occurs when you've mismatched your Compose versions.