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>:<artefact_ID>:<version>
    . For example:
    dependencies { compile 'com.blackberry.blackberrydynamics:android_handheld_platform:4.0.0.3515' compile 'com.blackberry.blackberrydynamics:android_handheld_backup_support:4.0.0.3515' compile 'com.blackberry.blackberrydynamics:android_handheld_samsung_pass_support:4.0.0.3515' compile 'com.blackberry.blackberrydynamics:android_handheld_wearable_support:4.0.0.3515' compile 'com.blackberry.blackberrydynamics:android_wearable_platform:4.0.0.3515' }