# Couldn't find com.android.tools.build:gradle:3.0.0

**URL:** <https://discuss.bitrise.io/t/couldnt-find-com-android-tools-build-gradle-3-0-0/3170>\
**Category:** Builds\
**Created:** [November 1, 2017, 6:55am UTC](https://discuss.bitrise.io/t/couldnt-find-com-android-tools-build-gradle-3-0-0/3170 "2017-11-01T06:55:48Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![viktorbenei](https://sea2.discourse-cdn.com/flex016/user_avatar/discuss.bitrise.io/viktorbenei/32/18_2.png) [@viktorbenei](https://discuss.bitrise.io/u/viktorbenei)\
**Post date:** [November 1, 2017, 11:20am UTC](https://discuss.bitrise.io/t/couldnt-find-com-android-tools-build-gradle-3-0-0/3170/2 "2017-11-01T11:20:16Z")

</div>

Hi @GSA,

Thanks for filling out the report! 🙂

## What the issue is

```auto
Could not find com.android.tools.build:gradle:3.0.0.

```

**This error comes from Gradle** , not from Bitrise.

In your project you have a reference to this dependency/plugin (or in general might be a dependency of a dependency).

If you check the links gradle prints in the error (`Searched in the following locations`) those indeed are 404 / not found pages.

## Why it works locally

Because most likely at one time this dependency version was available, and so it’s now available on your Mac/PC in the filesystem (cache), and Gradle won’t try to download it (as it’s already downloaded). But then the version was removed / is no longer available, so it will no longer work on any new Mac/PC (as the dependency version can’t be downloaded).

## How to debug & fix

In case of an Android “Could not find …” issue it’s usually enough to just:

1. Do a clean git clone of the repository, **into a new directory**
2. And try to build the project from there

That should make it so that there’s no local dependency cache, and all dependencies will be downloaded (and the ones not available anymore will fail).

Once you can reproduce the issue, you can simply debug and fix it on your Mac/PC and then commit the changes, and it’ll work on [Bitrise.io](http://Bitrise.io) too. In this specific case you most likely just have to upgrade the version of the plugin/dependency to a version which still exists.

For more debugging options & more infos / guides for local debugging please see:

> [@How to debug your build locally / "It works on my Mac/PC but not on bitrise.io"](http://discuss.bitrise.io/t/how-to-debug-your-build-locally-it-works-on-my-mac-pc-but-not-on-bitrise-io/392):
>
> If the build works on your local Mac/PC but not on [bitrise.io](https://www.bitrise.io), that’s usually because of uncommitted / gitignored files or a tool version difference. There can be other reasons, for example in case of iOS code signing errors it’s usually because a code signing file which is available on your Mac, but you did not upload it to [bitrise.io](https://www.bitrise.io) and so it’s not available there. In any case, the first steps you should try, preferably before you’d report the issue (as this will be the first thing we’ll ask…

and

> [@How to experiment with Bitrise configs locally, on your Mac/Linux](http://discuss.bitrise.io/t/how-to-experiment-with-bitrise-configs-locally-on-your-mac-linux/1751):
>
> Do you want to run a custom Script in your builds, or do you want to experiment with things you just found on the [DevCenter](http://devcenter.bitrise.io/), but would love to make the process faster? If you do, this is the right place for you! It’s actually super simple: Install the Bitrise CLI, which is the exact same runner which runs the builds on the [bitrise.io](http://bitrise.io) VMs. [Bitrise CLI](https://www.bitrise.io/cli) Note: the CLI is open source, repo and code: [GitHub - bitrise-io/bitrise: Bitrise runner CLI - run your automations on your Mac or Linux mach…](https://github.com/bitrise-io/bitrise)

* * *

If you have any questions just let us know! 😉

---

_[View the full topic](https://discuss.bitrise.io/t/couldnt-find-com-android-tools-build-gradle-3-0-0/3170)._
