aiidziis

    aiidziis

    1 year ago
    Is it possible to run Compose with older Android Gradle Plugin versions? Looks like 7.0.+ versions causes
    ./gradlew check
    to fail with weird lint errors we never had before.
    Bryan Herbst

    Bryan Herbst

    1 year ago
    AGP frequently adds new lint checks in new AGP versions, which is what I’m guessing you are experiencing. One of the new checks in 7.0.0 encourages you to replace code like
    parentFragmentManager!!
    with
    requireParentFragmentManager()
    for example. You can turn those off for your project or suppress them if you want. To answer your question- yes, you can. Here’s a good article on doing so: https://marcellogalhardo.dev/posts/2021/03/30/using-compose-beta-on-as-4-1/ Note that you will not have IDE tooling support if you go that route
    aiidziis

    aiidziis

    1 year ago
    Nice, this helped a lot. Thank you. 🙌🏻