material-components / material-components-android

Modular and customizable Material Design UI components for Android
Apache License 2.0
16.33k stars 3.06k forks source link

`Shapes_androidKt` is missing when running the catalog app #4338

Open TahaTesser opened 4 days ago

TahaTesser commented 4 days ago

Steps to reproduce

Clone the repo and run the catalog app git@github.com:material-components/material-components-android.git

Logs

import androidx.graphics.shapes.Shapes_androidKt;
                               ^
  symbol:   class Shapes_androidKt
  location: package androidx.graphics.shapes
afohrman commented 3 days ago

Hi there, which versions of Gradle and Android Studio are you using? Is this issue causing the Catalog to fail to build, or is it just a warning log?

TahaTesser commented 3 days ago

I'm using the latest stable Android Studio ladybug release. It fails to build. It asks to sync Gradle 8.9 and fails to build with this error

ayushmangpta commented 3 days ago

try using Java 17 and Gradle 7.6.2. Often, environment misconfigurations can lead to such issues.

manabu-nakamura commented 2 days ago