Installation

SDK Installation

  1. Please download the SDK files in this link: https://github.com/NoctuaLabs/noctua-android-sdk/tree/main/libs

  2. Then extract the downloaded bundle. You will see *.aar files inside the extracted folder.

  3. First create the Assets\Plugins\Android folder in your Unity project, then copy the .aar file under libs directory to into Assets\Plugins\Android. At this point, you will have this structure in your project directory.

Install Dependencies

  • Open Unity and go to Window > Package Manager.

  • In the Package Manager window, click on the + icon in the top left corner and select Add package from git URL....

Package Manager Window
  • Enter the URL for the Newtonsoft.Json package: https://github.com/jilleJr/Newtonsoft.Json-for-Unity.git#upm

  • Click Add. This will download and install the Newtonsoft.Json package into your project.

  • If you reopen your Editor, it will try to recompile and there should be no error.

Gradle Configuration

Open your Unity project with Unity Editor then go to Edit > Project Settings > Player (sidebar) > Android tab with a small android robot icon > Build section, then click Custom Gradle Properties Template. Then close the Project Settings window.

At this point, some files will be generated under Assets\Plugins\Android. One of them is the gradleTemplate.properties file. Open this file then add these two lines below, then save the file:

android.useAndroidX=true
android.enableJetifier=true
gradleTemplate.properties

Last updated