Unity-Android-Auto-Install is a Unity Editor tool built to improve Android development workflows by automating APK installation to connected devices.
⚠️ Works only with Android platform selected in Unity.
To improve the development workflow by automatically installing the built APK to selected Android devices immediately after a successful build.
- 📱 Detect and list connected Android devices
- ✅ Select/deselect devices for APK installation
- 🌐 Connect devices over IP
- 📦 Select and manually install APKs via the editor
- ⚙️ Auto-install APK to selected devices post-build
- Copy this Git repository URL (with release) : https://github.com/r-sabarish/unity-apk-installer.git#v1.0.1
- Open your Unity project.
- Go to Window → Package Manager.
- Click the + button (top left corner) → Add package from Git URL...
- Paste the Git URL and click Add.
Ensure Unity is installed with Android Build Support, which can be selected during installation via Unity Hub.
ADB is a command-line tool that enables communication with Android devices. It's used to:
- Install APKs
- Run shell commands
- Debug apps on connected devices
Included with the Android SDK, typically located in:
<Unity Install Folder>/Editor/Data/PlaybackEngines/AndroidPlayer/SDK/platform-tools
🔧 Make sure the SDK path is set in Unity via:
Unity > Preferences > External Tools > Android SDK Path
(Key used internally:EditorPrefs: AndroidSdkRoot)
ADB Documentation:
https://developer.android.com/studio/command-line/adb
Devices must be connected via USB or over Wi-Fi (IP connection).
When connecting for the first time:
- Enable Developer Options on your Android device
- Turn on USB debugging
- Authorize the device when prompted with the "Allow USB debugging?" dialog on the device
- After selecting connected devices and installing an APK, the selected device may disappear from the list.
- Temporary Fix: First select the APK, then select the device(s), and proceed with the installation.
This project is available under MIT .
Pull requests and contributions are welcome!
