Download and add the .aar files for the SDK libraries

Visit BlackBerry Developer Downloads to download the SDK package. When you click the link, you are prompted to log in to the Developer site with your BlackBerry Online Account. If you don’t already have an account, you can register and create one. The BlackBerry Dynamics SDK libraries are available in the SDK package as .aar files that can be published to an internal repository. The files are found in m2repository/com/blackberry/blackberrydynamics.
  1. Define the path to the .aar files in the build.gradle repositories block. For example:
    allprojects {
        repositories {
            maven { url '/path/to/m2repository' }
            //other maven URLs ...
        }
    }
    Note: You can define the URL in the local.properties file to avoid VCS conflicts.
  2. Add Gradle compile dependencies in the format <group_ID>:<artifact_ID>:<version>. For example:
    dependencies {
        api 'com.blackberry.blackberrydynamics:android_handheld_platform:5.0.0.47'
    }
    The following artifacts are included in the SDK:
    • android_handheld_platform
    • android_handheld_backup_support
    • android_handheld_blackberry_protect_support
    • android_handheld_gd_safetynet
    • atsl