Essential Kit Tutorials
DocumentationCalculate how much you save with Essential KitDownload
Latest(v3)
Latest(v3)
  • Introduction
  • Features Overview
  • Installation
  • Upgrade Guide
  • Plugin Overview
    • Settings
    • Folder Structure
  • Whats new in v3
    • Version 3 vs Version 2
    • Release Notes
    • Upgrade from V2
  • Features
    • 📒Address Book
      • Setup
      • Usage
      • Testing
      • FAQ
    • App Shortcuts
      • Setup
      • Usage
    • 🆕App Updater
      • Setup
      • Usage
      • Testing
    • 💲Billing Services
      • Setup
        • iOS
        • Android
      • Usage
      • Testing
        • iOS
        • Android
      • FAQ
      • Notes
        • How Non-Consumable and Subscription product statuses are maintained?
    • ☁️Cloud Services
      • Setup
        • iOS
        • Android
      • Usage
      • Testing
      • FAQ
      • Examples
        • Handling Conflicts & Synchronization
    • 🔗Deep Link Services
      • Setup
        • iOS
        • Android
      • Usage
      • Testing
      • FAQ
    • 🛠️Utilities (Extras)
      • Usage
    • 💯Game Services
      • Setup
        • iOS
        • Android
      • Usage
      • FAQ
      • Notes
        • Migration Guide: From Google Play Games Plugin for Unity to Essential Kit Game Services
    • 📸Media Services
      • Setup
      • Usage
      • FAQ
    • 📆Native UI
      • Setup
      • Usage
      • FAQ
      • Examples
        • Login Dialog
    • Network Services
      • Setup
      • Usage
      • FAQ
    • ⏰Notification Services
      • Setup
        • iOS
        • Android
      • Usage
      • Examples
        • Nudge to come-back to the game
      • FAQ
    • ⭐Rate My App
      • Setup
      • Usage
      • FAQ
    • 🤝Sharing
      • Setup
      • Usage
        • Message Composer
        • Mail Composer
        • Social Share Composer
        • Share Sheet
      • FAQ
      • Examples
        • Add Attachment Example
    • Task Services
      • Setup
      • Usage
    • 🌏Web View
      • Setup
      • Usage
      • FAQ
      • Examples
        • Loading Pdf File
  • Notes
    • Resolving Android Gradle Build Errors
    • Google Play Services Authentication
    • Target API Level vs Min API Level
    • Handling Refunds for In-App Purchases (Billing Services)
Powered by GitBook
On this page
Edit on GitHub

Installation

Steps to install the plugin

PreviousFeatures OverviewNextUpgrade Guide

Last updated 3 days ago

Was this helpful?

CtrlK
  • FAQs
  • I see this error on installation - The type or namespace name 'Newtonsoft' could not be found (are you missing a using directive or an assembly reference?
  • I see this error when making Android build - "Failed to install the following Android SDK packages as some licences have not been accepted.". How to resolve this?

Was this helpful?

  1. Open Package Manager from Unity Editor

  2. Under My Assets category, Search for "Essential Kit"

  3. Import the plugin into your project

  4. If you don't have Newtonsoft's Json package installed in your project then follow below additional steps. Else, jump to step 5.

    1. Open manifest.json file in Packages folder

    2. Add below line in the dependencies block (any version ≥ 2.0.0 is fine)

      "com.unity.nuget.newtonsoft-json": "2.0.0"
  5. Do a force resolve from top menu bar -> Assets -> External Dependency Manager -> Android -> Settings

  6. Configure the features you want in Essential Kit Settings

If you already have an earlier version of the plugin installed, check the upgrade guide.

If you have an error related to iOS/XCode assemblies from External Dependency Manager, make sure you have iOS module installed in Unity Editor.

FAQs

I see this error on installation - The type or namespace name 'Newtonsoft' could not be found (are you missing a using directive or an assembly reference?

The plugin depends on Newtonsoft's json plugin which needs to be added to your packages.

Add the following dependencies in YOUR_PROJECT_ROOT/Packages/manifest.json under dependencies block

"com.unity.nuget.newtonsoft-json": "2.0.0"

Any version ≥ 2.0.0 is fine.

I see this error when making Android build - "Failed to install the following Android SDK packages as some licences have not been accepted.". How to resolve this?

This happens because of not accepting licenses when installing the sdk. Let me get you the steps to accept the license. On Windows

C:\Users\xxx\AppData\Local\Android\Sdk\tools\bin\sdkmanager --licenses

or

PATH-TO-UNITY-ANDROID-SDK\tools\bin\sdkmanager --licenses

On Mac

cd /Users/YOUR_MAC_USER/Library/Android/sdk/tools/bin ./sdkmanager --licenses

or

/Applications/Unity/Hub/Editor/UNITY_VERSION/PlaybackEngines/AndroidPlayer/SDK/tools/bin/sdkmanager --licenses

Press 'y' to accept the licenses.