In order to build your app on a SmartDeviceLink (SDL) Core, the SDL software development kit (SDK) must be installed in your app. The following steps will guide you through adding the SDL SDK to your workspace and configuring the environment.
The SDL SDK is currently supported on Android 4.1 (Jelly Bean) and above.
Each SDL Android library release is published to MavenCentral. By adding a few lines in their app's gradle script, developers can compile with the latest SDL Android release.
To gain access to the MavenCentral repository, make sure your app's build.gradle
file includes the following:
repositories { mavenCentral() }
To compile with a release of SDL Android, include the following line in your app's build.gradle
file,
dependencies { implementation 'com.smartdevicelink:sdl_android:{version}' }
and replace {version}
with the desired release version in format of x.x.x
. The list of releases can be found here.
To compile release 5.7.0, use the following line:
dependencies { implementation 'com.smartdevicelink:sdl_android:5.7.0' }
To compile the latest minor release of major version 5, use:
dependencies { implementation 'com.smartdevicelink:sdl_android:5.+' }
To Find more information on installation, read our README.
View on GitHub.com