question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Could not find com.google.android.material:material:1.0.0-alpha1.

See original GitHub issue

I followed the guide on page : https://github.com/material-components/material-components-android/blob/master/docs/getting-started.md but I can’t import the library because gradle give me this error:

Could not find com.google.android.material:material:1.0.0-alpha1.
Searched in the following locations:
    file:/C:/Users/alevittoria/AppData/Local/Android/sdk/extras/m2repository/com/google/android/material/material/1.0.0-alpha1/material-1.0.0-alpha1.pom
    file:/C:/Users/alevittoria/AppData/Local/Android/sdk/extras/m2repository/com/google/android/material/material/1.0.0-alpha1/material-1.0.0-alpha1.jar
    file:/C:/Users/alevittoria/AppData/Local/Android/sdk/extras/google/m2repository/com/google/android/material/material/1.0.0-alpha1/material-1.0.0-alpha1.pom
    file:/C:/Users/alevittoria/AppData/Local/Android/sdk/extras/google/m2repository/com/google/android/material/material/1.0.0-alpha1/material-1.0.0-alpha1.jar
    file:/C:/Users/alevittoria/AppData/Local/Android/sdk/extras/android/m2repository/com/google/android/material/material/1.0.0-alpha1/material-1.0.0-alpha1.pom
    file:/C:/Users/alevittoria/AppData/Local/Android/sdk/extras/android/m2repository/com/google/android/material/material/1.0.0-alpha1/material-1.0.0-alpha1.jar
    https://dl.google.com/dl/android/maven2/com/google/android/material/material/1.0.0-alpha1/material-1.0.0-alpha1.pom
    https://dl.google.com/dl/android/maven2/com/google/android/material/material/1.0.0-alpha1/material-1.0.0-alpha1.jar
    https://jcenter.bintray.com/com/google/android/material/material/1.0.0-alpha1/material-1.0.0-alpha1.pom
    https://jcenter.bintray.com/com/google/android/material/material/1.0.0-alpha1/material-1.0.0-alpha1.jar
    https://maven.fabric.io/public/com/google/android/material/material/1.0.0-alpha1/material-1.0.0-alpha1.pom
    https://maven.fabric.io/public/com/google/android/material/material/1.0.0-alpha1/material-1.0.0-alpha1.jar
    https://dl.bintray.com/drummer-aidan/maven/com/google/android/material/material/1.0.0-alpha1/material-1.0.0-alpha1.pom
    https://dl.bintray.com/drummer-aidan/maven/com/google/android/material/material/1.0.0-alpha1/material-1.0.0-alpha1.jar
    https://maven.google.com/com/google/android/material/material/1.0.0-alpha1/material-1.0.0-alpha1.pom
    https://maven.google.com/com/google/android/material/material/1.0.0-alpha1/material-1.0.0-alpha1.jar
    https://jitpack.io/com/google/android/material/material/1.0.0-alpha1/material-1.0.0-alpha1.pom
    https://jitpack.io/com/google/android/material/material/1.0.0-alpha1/material-1.0.0-alpha1.jar
Required by:
    project :app

I’m doing something wrong or is there a problem with the repository?

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:14
  • Comments:26 (8 by maintainers)

github_iconTop GitHub Comments

19reactions
dsn5ftcommented, May 5, 2018

Hi @alevittoria, can you try using com.android.support:design:28.0.0-alpha1 for now? Will update the docs soon.

9reactions
KirillJJcommented, May 5, 2018

I have the same issue

Read more comments on GitHub >

github_iconTop Results From Across the Web

Failed to resolve: com.google.android.material:material:1.0.0 ...
If you visit maven.google.com in a Web browser, that artifact is not among those listed, AFAICT. I believe that this repository will be...
Read more >
Getting started with Material Components for Android
1. Depend on our library · 2. Compile your app with Android 10 · 3. Ensure you are using AppCompatActivity · 4. Change...
Read more >
Compose Compiler - Android Developers
Fundamental components of compose UI needed to interact with the device, including layout, drawing, and input. Declaring dependencies. To add a dependency on ......
Read more >
[FloatingActionButton] View is crashing the preview [130710290]
When using the com.google.android.material.floatingactionbutton. ... Could you verify that the crash happens in a new app (not your work one)?
Read more >
Migrating to Material Components for Android - Medium
This guide will show you how to migrate your codebase so you can make use of the new attributes, styles, and widgets. If...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found