Use the following procedure to create a new Android Studio project to build the basic player for app development:
-
Create a suitable directory in Windows Explorer and extract the SDK zip file to it. Rename the integration.aar file otvsdk.aar.
The production.aar file is used to build the production version.
-
In Android Studio, create a new Basic Activity project. In the wizard, set the Minimum API level to 21 (Android 5.0 Lollipop) or higher.
-
In the new project, ensure the Android view is selected, select app > manifests, and open the AndroidManifest.xml file. Add the following permission before the
<application>tag.XML<uses-permission android:name="android.permission.INTERNET"/> -
Switch to Project view, expand app and copy the otvsdk.aar file into the \common\libs directory.
Next step: Add CONNECT Player to your project