I tried to update to navigation-compose 2.4.0-alph...
# compose
c
I tried to update to navigation-compose 2.4.0-alpha07, but i see that it requires API level 31, which is not released, yet. This is not documented in the release notes. Is this an intentional change? cc @Ian Lake
s
Same can be said about Accompanist v0.17.0, fwiw, although it's actually documented there. 🤔
c
Yep, Accompanist is built against API 31 because of AndroidX.
i
Every AndroidX library released from that date onward will compile with API 31. You should always compile with the latest SDK as per https://link.medium.com/j0p6bIX83ib
c
I see. API 31 is in preview, and it does not have any source code attached, so we can debate whether it is “latest”. 🙂 But i guess we have no choice but to upgrade.
i
c
Oh i see. SDK manager refers to it as “preview” this is why i mentioned it. And as i said, it is inconvenient that there are no sources, so we cannot debug or explore what is happening in platform calls. But it is good to know that the API will not change.
j
@Csaba Kozák This little workaround for the missing sources has been useful to me on every new Android release: https://www.reddit.com/r/androiddev/comments/6ihzli/targeting_api_26_what_do_to_abou[…]e_missing/dj6ny30?utm_source=share&utm_medium=web2x&context=3
🙏 1