Skip Navigation

Add .aar files if you installed the SDK manually

If you installed the 
BlackBerry Dynamics SDK
 manually
, note the location of the m2repository directory and complete the following steps:
  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 ... } }
    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_wearable_support
    • android_wearable_platform
    • android_handheld_backup_support
    • android_handheld_gd_safetynet
    • atsl