Blog

How to add the Backendless library to Java projects from Maven

by on March 23, 2015

Whether you develop with IntelliJ IDEA, Eclipse, or Android Studio, the Backendless library (jar) for Java/Android must be referenced as a dependency. The library includes all the APIs that provide access to the backend functionality. The library is deployed to the centralized Maven repository, which makes it easy to import it to any Backendless-powered app. Below are the instructions for referencing it in Android Studio:

  1. Open the Project Structure window and select your app module
  2. Click the Dependencies tab.
  3. Click the + icon at the bottom of the window and select Library dependency.
  4. Type in “backendless” in the search bar and click the search icon (magnifying glass).
  5. Android Studio runs a search in Maven repository and displays the latest available Backendless library:
  6. Select the library and click OK.

This is by far the simplest way to get the Backendless library referenced in your project. You do not need to explicitly download anything from our site and can easily manage the dependency.

Enjoy!