Forum Discussion
Flomaster
8 years agoExplorer
Found a better answer for getting the logs while connected to the android debug bridge
http://www.mastersofpie.com/guide-to-building-gearvr-projects-in-unity-5/
Create a text file (anywhere on your computer, the example is for AndroidLog\android_log.txt)
then in your cmd while connected to the go, run the below 3 commands
del \AndroidLog\android_log.txt
adb logcat -c
adb logcat -s Unity:D > \AndroidLog\android_log.txt
Then run your app! The debug logs and errors will be written to the text file
http://www.mastersofpie.com/guide-to-building-gearvr-projects-in-unity-5/
Create a text file (anywhere on your computer, the example is for AndroidLog\android_log.txt)
then in your cmd while connected to the go, run the below 3 commands
del \AndroidLog\android_log.txt
adb logcat -c
adb logcat -s Unity:D > \AndroidLog\android_log.txt
Then run your app! The debug logs and errors will be written to the text file