Android AdMob

Continued from this old thread posted in the iOS forums a while back…

http://forum.unity3d.com/threads/58620-Unity-Android-amp-Banner-Ads-(AdMob)

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?

can you post the logcat output you get when the app crashes?

Hi guys how can I see the logcat output?

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.