Script to install, run, and open logcat for a Unity Android App
✓ Published0🌍 Public
Aandybak
Last edited Mar 3, 2015
Created on May 27, 2018
This shell script demonstrates a streamlined workflow for deploying and debugging a Unity Android app from the command line. It shows the sequence of installing an APK, clearing logcat, launching the app via Android’s `am start` with the Unity player activity, and then filtering the resulting logs to show only Unity-related output. The script relies on `adb install`, `adb logcat`, and `adb shell` to handle device communication, while an alias to `adb logcat|egrep "Unity"` isolates relevant log entries. The concrete file paths and bundle ID are user-defined variables, making the script reusable for other Unity builds.
AI-generated description