Adding Dependencies In Gradle
I am trying to move my Android project form IDEA to Android Studio with Gradle. However, I am having difficulties with the dependencies. I removed my 'lib' dir, so the jars would b
Solution 1:
You are missing this at the top level (i.e., a peer of android
and dependencies
):
repositories {
mavenCentral()
}
The buildscript
block has repositories
and dependencies
for the build process. You also need repositories
and dependencies
at the top level for the dependencies for your project itself.
Post a Comment for "Adding Dependencies In Gradle"