View Logs on Android:
To see Debug.Log
messages, download Android Studio.
Go to the Android Monitor Tab in the Android Studio then select your device from there.
See the image below:
If you have problems of the logs from the device not showing, restart adb.exe. from the command-line.
Stop it:
adb kill-server
Then start it again:
adb start-server
All I want to see is a clean log that shows errors and my Debug.Log
messages which I usually can see easy and clear on the Unity Console
on Unity on Windows.
1.First filter it with the Unity tag.
2.Disable Development mode from Unity Build Settings. With that on, you will receive extra logs you don’t even need.
View Logs on Android without Android Studio:
You can view log from without Android Studio by using the Log Viewer plugin which is free. It will let you see the log on the device itself.
Print Logs from Android Java Plugin:
If you are trying to create log from Java plugin, instead of using the Debug.Log
function, use one of the Log
functions from Java side.
For example, Log.v
, Log.i
, and Log.e
.
Print Logs from Android C++ Plugin:
If using a C++ plugin, see this plugin from my other question which let’s you print log from a C++ plugin with Debug::Log
.