android / codelab-android-datastore

Apache License 2.0
228 stars 105 forks source link

Could not find androidx.datastore:datastore-preferences:1.0.0-alpha01 #3

Closed TheMaxCoder closed 4 years ago

TheMaxCoder commented 4 years ago

I am trying out the codelab but unable to resolve the dependency for datastore. I have tried the "preferences_datastore" branch too but the result is the same. I could not find any information about datastore's Gradle dependency on Jetpack Explorer and AndroidX releases Page.

Kindly look into this. Thanks

gurkhaman commented 4 years ago

I did find the datastore library in their codebase. Version 1.0.0-alpha01 does exist but I am not sure why there is an error. You could try and download it from here and make your own library but it might be better to just wait.

khpproud commented 4 years ago

It is currently not registered on google's maven repository(https://maven.google.com/web/index.html). So just wait till to be updated.

florina-muntenescu commented 4 years ago

Library was published. Try it out!