Join us on the demo, while our product experts provide a detailed walkthrough of our enterprise platform.

jCenter Dependencies in Android Studio

Learn how to make use of jCenter dependencies in Android Studio.

Hitesh Pamnani
Hitesh Pamnani
July 11, 2017

jCenter is the public repository hosted at bintray that is free to use for open source library publishers. It is the largest repository in the world for Java and Android OSS libraries, packages and components. All the content in JCenter is served over a CDN, with a secure HTTPS connection. In this article, we’ll discuss how to make use of jCenter dependencies in Android Studio.


  • Android Studio
  • Existing project in Android Studio
  • Active internet connection

If you don’t have Android Studio installed, you can download from the following link:

After successfully installing Android Studio, you can open an existing project or create a new project to start with.


After opening or creating a new project, you can find two files named “build.gradle” under Gradle Scripts section in the left pane. The first one will be suffixed with “Project” and another with “Module”. We’ll start with the “Project” one.

Add jCenter repository in project’s build.gradle file as shown below and sync your project:

allprojects {
   repositories {
	   . . .

On successful sync, you’re now able to add any Android dependency hosted on jCenter repository. The dependency will be added to “Module” build.gradle. It’s also known as app’s build.gradle.

For example, if you want to add LoginRadius dependency/library, you can add in app’s build.gradle as follows and sync your project:

compile ''

If all the steps are followed successfully, you’re now able to add a jCenter dependency in Android Studio.

LoginRadius Docs

Implement Authentication in Minutes

click here

Most Popular Tags


About LoginRadius

LoginRadius provides a comprehensive set of APIs to enable authentication, identity verification, single sign-on, user management, and account protection capabilities such as multi-factor authentication on any web or mobile application. The company offers open source SDKs, integrations with over 150 third party applications, pre-designed and customizable login interfaces, and best-in-class data security products. The platform is already loved by over 3,000 businesses with a monthly reach of 1.17 billion users worldwide.

For more information, visit LoginRadius

Hitesh Pamnani

Hitesh Pamnani

An enthusiastic developer with hands-on-experience in various tech platforms. Settled as an Android developer from past 4 years, worked on some interesting stuff and looking forward to more. Loves gadgets, soothing music and spending time with family.

View Profile

Try a Modern Authentication Solution

$0/ month

Free Sign Up
  • 5,000 MAU
  • 1 Web or mobile app
  • Standard login
  • 3 Social Login Providers
  • Transactional Email Template
  • Customizable Login Interfaces