Add from OpenUPM | via scoped registry, recommended
To add OpenUPM to your project:
- open
Edit/Project Settings/Package Manager
- add a new Scoped Registry:
Name: OpenUPM
URL: https://package.openupm.com/
Scope(s): com.shiena
- click Save
- open Package Manager
- Select
My Registries
in dropdown top left - Select
Android SDK Helper
and clickInstall
Add from GitHub | not recommended, no updates through PackMan
You can also add it directly from GitHub on Unity 2019.4+. Note that you won't be able to receive updates through Package Manager this way, you'll have to update manually.
- open Package Manager
- click +
- select Add from Git URL
- paste
https://github.com/shiena/unity-android-sdk-helper.git#1.0.2
- click Add
Switch platform to Android.
Start terminal (Windows: cmd, macOS: Terminal.app) with Android Platform-Tools added to your PATH.
This is useful when you want to use adb
.
Start terminal (Windows: cmd, macOS: Terminal.app) with Android SDK Tools added to your PATH.
This is useful when you want to use sdkmanager
.
Also, when using the embedded Android SDK on Windows, open cmd with administrator privileges.
- OS: Windows or macOS
- Unity with Package Manager: 2018.1 or higher
- Unity without Package Manager: 2017.1 or higher