Open TahaTesser opened 4 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?
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
try using Java 17 and Gradle 7.6.2. Often, environment misconfigurations can lead to such issues.
C:\Users\user\AndroidStudioProjects\material-components-android\lib\java\com\google\android\material\loadingindicator\LoadingIndicatorDrawingDelegate.java:32: error: cannot find symbol
import androidx.graphics.shapes.Shapes_androidKt;
^
symbol: class Shapes_androidKt
location: package androidx.graphics.shapes
Workaround:
android.disableAutomaticComponentCreation=true
from components.release
-> from components.findByName('release')
android.disableAutomaticComponentCreation=true
namespace 'io.material.catalog'
namespace 'com.google.android.material'
namespace 'com.google.android.material.testapp'
namespace 'com.google.android.material.testapp.animation'
namespace 'com.google.android.material.testapp.base'
namespace 'com.google.android.material.testapp.custom'
namespace 'com.google.android.material.testapp.theme'
Steps to reproduce
Clone the repo and run the catalog app
git@github.com:material-components/material-components-android.git
Logs