skydoves / ProgressView

🌊 A polished and flexible ProgressView, fully customizable with animations.
Apache License 2.0
789 stars 57 forks source link

Bunch of core Androidx libraries are not found after implementing the library! #18

Closed behnawwm closed 3 years ago

behnawwm commented 3 years ago

After implementing the library, the main Androidx libraries are not working for me and my whole project become a pure red thing!

Error description:

Could not determine the dependencies of task ':app:compileDebugJavaWithJavac'.
> Could not resolve all task dependencies for configuration ':app:debugCompileClasspath'.
   > Could not find androidx.core:core:1.4.0-alpha01.
     Required by:
         project :app > androidx.core:core-ktx:1.3.2
   > Could not find androidx.core:core:1.4.0-alpha01.
     Required by:
         project :app > androidx.appcompat:appcompat:1.3.0-alpha01
   > Could not find androidx.core:core:1.4.0-alpha01.
     Required by:
         project :app > androidx.fragment:fragment:1.2.4
         project :app > androidx.activity:activity:1.1.0
         project :app > androidx.vectordrawable:vectordrawable:1.1.0
         project :app > androidx.coordinatorlayout:coordinatorlayout:1.1.0
         project :app > androidx.transition:transition:1.3.0
         project :app > androidx.viewpager2:viewpager2:1.0.0
   > Could not find androidx.core:core:1.4.0-alpha01.
     Required by:
         project :app > androidx.appcompat:appcompat-resources:1.3.0-alpha01
   > Could not find androidx.core:core:1.4.0-alpha01.
     Required by:
         project :app > androidx.drawerlayout:drawerlayout:1.1.0
         project :app > com.google.android.material:material:1.2.1
   > Could not find androidx.core:core:1.4.0-alpha01.
     Required by:
         project :app > androidx.recyclerview:recyclerview:1.2.0-alpha04
   > Could not find androidx.core:core:1.4.0-alpha01.
     Required by:
         project :app > androidx.viewpager:viewpager:1.0.0
         project :app > androidx.loader:loader:1.0.0
   > Could not find androidx.core:core:1.4.0-alpha01.
     Required by:
         project :app > androidx.customview:customview:1.1.0``
skydoves commented 3 years ago

Please add the below code on your gradle file.

Implementation("com.github.skydoves:balloon:1.3.4") {
    exclude("androidx.fragment", "fragment-ktx")
  }
behnawwm commented 3 years ago

Thanks for the quick response!

My problem was all about proxies! I set a proper proxy and it's working well again. https://github.com/freedomofdevelopers/fod

skydoves commented 3 years ago

Great!