I want to get logs from Unity Application when its running on Android phone. For this I have to export Android project from Unity3D and run it using Android Studio. I am doi
"I want to get logs from Unity Application when its running on Android phone".
You dont need to export to android project , just enable "development build" in build settings then connect your phone to your computer and enable "development mode" and "script debugging" on your phone.
then simply move to path your android sdk is installed , cd to platform-tools , run these commands from command prompt or terminal
adb logcat
if you want to just see unity logs run
adb logcat -s Unity