Monday, July 23, 2012

Re: [android-developers] AdMob tutorial doesn't work (for me).

On Sat, Jul 21, 2012 at 12:07 PM, AmitNHB <amitfarkash@gmail.com> wrote:
... the app crushed within a few moments after loading. I also tried downloading the code, importing the project and jar and got the same results - it just crushes about 5 seconds after loading...

The word is "crash" not "crush", FYI.

I'm attaching screen shots of the code, the AndroidManifest.xml and the Logcat.

Please don't attach screenshots of the LogCat. Just copy and paste the relevant portions here for people to view quickly and easily. The more work you make people do, the less likely you are to get help with your issue.

That said, the error clearly indicates that you have a NullPointer in the the main activity of your example. Use your debugger to determine what is null, then make it not null.

-------------------------------------------------------------------------------------------------
TreKing - Chicago transit tracking app for Android-powered devices

--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

No comments:

Post a Comment