Android Studio Failed To Find: Com.getbase:floatingactionbutton:1.3.0
Solution 1:
According to a search on Maven Central at http://search.maven.org/#search%7Cga%7C1%7Cfloatingactionbutton that library exists, so I think the problem may be that you haven't added a repositories
statement to your build script to let it resolve dependencies; the one you've got in the buildscript
block is only to resolve build system plugins, not build dependencies. I know it's confusing. Add this block at the top level:
repositories {
mavenCentral()
}
I'm assuming also that you have a project with a flat directory structure and a single build.gradle file; when Android Studio creates projects via the wizard it uses a nested directory structure with multiple build.gradle files, and it normally adds boilerplate at the top-level build file so that you don't have to add this repositories
block to each individual module's build file. If that's the case and that's in place, then this remedy won't work, so you'll have to dig deeper.
Post a Comment for "Android Studio Failed To Find: Com.getbase:floatingactionbutton:1.3.0"