Step 1: Change the build.gradle (: app) file by doing the following changes:

 

Step 2: Adding Dependencies

 

NOTE: 

This dependency supports both integrated and smart devices. This document is relevant for users of both the devices.

Step 3: Add this to the settings.gradle (Project Settings)

 

Step 4: Add this in the gradle.properties (Project Properties)

 

Step 5: Add the following permissions in the manifest file

 

Step 6: Manifest Queries entry