Skip to content Skip to sidebar Skip to footer

Could Not Get Resource 'https://dl.google.com/dl/android/maven2/com/android/support/support-fragment/28.0.0/support-fragment-28.0.0.aar'

I want to build a simple fragment based App, but I can't load the lib. Could not get resource 'https://dl.google.com/dl/android/maven2/com/android/support/support-fragment/28.0.0/s

Solution 1:

  1. You're either importing a wrong dependency in your (app) build.gradle, or
  2. You've got some DNS problems on your device/network.
  3. You might be able to try this too; Add this to the app build.gradle
repositories {
        maven { url "https://maven.google.com" }
    }

I hope it's either of these because they're easy to solve. Let me know if it got solved.

Edit: add 3

Post a Comment for "Could Not Get Resource 'https://dl.google.com/dl/android/maven2/com/android/support/support-fragment/28.0.0/support-fragment-28.0.0.aar'"