Installation
Last updated
Last updated
Please download the SDK files in this link:
Then extract the downloaded bundle. You will see *.aar
files inside the extracted folder.
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.
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...
.
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.
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: