I’ve gotten to the point where my code compiles on a Mac and runs on the device but only through the splash screen. Once the actual game tries to come up it crashes with the ads enabled. If I simply rename my “Plugins” folder and rebuild in Unity everything works fine. Any suggestions?
Build your .apk with the “Enable logcat output” option checked. Deploy to the device. Make sure the device is connected to the computer via USB. Open a command shell and go to the android sdk directory, to the \tools subdirectory. Then run these commands if on Mac:
rm -rf nohup.out
nohup ./adb logcat
or these if on Windows:
del out.txt
adb logcat > out.txt
And then run your game on the device. After the crash, send the file “nohup.out” or “out.txt”.
Just for clarification; there is no such option in Unity. The logcat is always “enabled”. I assume you are talking about “Enable logcat profiler” under player settings, which only enables performance debug info in the logcat.