Hello all, I'm using `HorizontalPager` . When I ru...
# compose
m
Hello all, I'm using
HorizontalPager
. When I run the app, I get
Copy code
java.lang.NoSuchFieldError: No static field Companion of type Landroidx/compose/foundation/layout/BoxScope$Companion; in classLandroidx/compose/foundation/layout/BoxScope; or its superclasses (declaration of 'androidx.compose.foundation.layout.BoxScope' appears in /data/app/~~t1Ai-4vbEvAZ8lELuEQ7cA==/com.partnersincrime.focuslauncher-I6-eS_JANYdA0QptWYtpzA==/base.apk)
        at com.google.accompanist.pager.Pager.Pager(Pager.kt:461)
        at com.google.accompanist.pager.Pager.HorizontalPager(Pager.kt:147)
Currently using Compose
beta04
a
Are you using the latest version 0.7.1 of accompanist?
m
Oh... sorry, I didn't see the update. Last I checked it's still
0.7.0
No issues now !!! Thanks ✌🏼
a
Basically new releases of Google libraries will be published on the same day of Compose so you should always check them when you update Compose.
✌️ 1