google / agera

Reactive Programming for Android
Apache License 2.0
7.2k stars 639 forks source link

Could not find dependency "com.google.android.agera:agera:1.4.0" #171

Closed AbhilashG97 closed 5 years ago

AbhilashG97 commented 5 years ago

Summary:

I get the following error message while building the project - Could not find dependency "com.google.android.agera:agera:1.4.0. The SDK Manager already has all the updates installed and there are no pending updates. Also, Android Studio is currently running on the latest stable build.

Steps to reproduce the issue:

  1. Open Android Studio
  2. Add the follwoing dependency to your project. implementation 'com.google.android.agera:agera:1.4.0'
  3. Build the project

Expected Behavior:

The project should build without any errors.

Observed Behavior:

The project build fails with the following error message - Could not find dependency "com.google.android.agera:agera:1.4.0"

Android Studio Version:

Android Studio 3.2.1 Build #AI-181.5540.7.32.5056338, built on October 9, 2018 JRE: 1.8.0_152-release-1136-b06 amd64 JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o Windows 10 10.0

Screenshot:

agera-dependency-issue

ghost commented 5 years ago

Have you added jcenter() under repositories too, or just using something local and/or mavenCentral()?Agera is only published to jcenter

AbhilashG97 commented 5 years ago

Hello @ernstsson,

Thank you so much for your reply.

Yes, I have jcenter() under repositories, here is my build.gradle(project) and build.gradle(app) file.

Am I doing something wrong?

silk commented 5 years ago

Agera seems to be currently missing from jcenter repository. Or am I wrong?

https://jcenter.bintray.com/com/google/android/ doesn't have agera under it.

ghost commented 5 years ago

Looks like it suddenly went missing from jcenter the other day, no idea why. Added it back now, could you try again?

AbhilashG97 commented 5 years ago

Hello @ernstsson,

Everything works perfectly fine now. Thank you so much.

ghost commented 2 years ago

Is there any other repository which we could use instead of jcenter()? As it's going to be closed as I know