Skip to main content
All CollectionsBuild
Android native or React Native build fails due to missing gradle dependencies
Android native or React Native build fails due to missing gradle dependencies

Could not find lint-gradle-api.jar or similar dependencies

Jihye E avatar
Written by Jihye E
Updated over a week ago

There has been quite a few reports from developers seeing failed builds due to missing gradle dependencies in Bintray JCenter. If its the same issue as described here, this will also reproduce locally by clearing your cache. 


The error in the build logs should look similar to the following:

Gradle's dependency resolution inspects each repository in order, if you list google() first in the buildscript and allprojects blocks it should prevent this build error:

If your project is still not building after making these changes, take special note of the project name listed early in the build error. It's possible a sub-project or dependency also leverages it's own gradle dependencies. If it's developed by a 3rd party, try updating it or reaching out to the developer. 


Did this answer your question?