This week's book giveaway is in the JavaScript forum.
We're giving away four copies of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js and have Paul Jensen on-line!
See this thread for details.
Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

how do i add admobs on android  RSS feed

 
johnson dubula
Ranch Hand
Posts: 33
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
good day guys


I have created an app, now i want to add admobs but the app wont show the ads, and when i add this code on the activity i want to add an ad on,The app wont start, it just says the app have encountered a problem and stops,it build without errors though

i have watched online videos, i did not get any help
 
Tim Moores
Saloon Keeper
Posts: 3828
79
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If the app crashes, the first step should always be to check the logcat for exceptions and stack traces; post that here.

I think it's unlikely that watching videos is the best way to learn an API. Given that this is a commercial API, there's bound to be a bunch of documentation, probably including sample code and FAQs.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!