Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 4038582
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T12:29:26+00:00 2026-05-20T12:29:26+00:00

I’ve been trying for ages to get AdMob Ads to appear in my app.

  • 0

I’ve been trying for ages to get AdMob Ads to appear in my app. I followed the AdMob PDF instructions and am stuck at this point: Eclipse, when displaying my main layout XML file in “Graphical Layout” mode, tells me: “The following classes could not be found: – com.admob.android.ads.AdView”.

I presumed it had to to with the build path, but from what I can tell the admob…jar file is correctly added as JAR file to the build path for the project and appears under “Referenced Libraries” in the Package Explorer tree of Eclipse.

in the bin folder, however, these classes are not included (should they be?).

Any ideas on how to get eclipse, and the application for that matter, to find these classes?

EDIT: It turns out I get this message on and off for no apparent reason. Playing around with the main XML layout file (the code related to the admob ad) and saving it seems to make the message appear or disappear. However, I don’t think it was responsible for the ad not showing. Just make sure the emulator has internet access (not obvious if using WiFi under Linux) and that the layout/positioning is correct.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-20T12:29:27+00:00Added an answer on May 20, 2026 at 12:29 pm

    I’ve passed through the same errors, and Nishan’s answer was just part of the solution for me.
    Don’t know if your using a lib with your full app to provide two versions (A free/add supported and a paid one) of your app, each one with a separated project, but both including the app lib.

    If this is the case, I solved it by importing the AdMob lib from each of the two main projects, and not from the original app lib. And you need to make sure you select ADD EXTERNAL JAR at Build
    Path Configuratiom, and not just ADD JAR.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm trying to convert HTML to plain text. I get many &\#8217; &\#8220; etc.
I'm parsing an RSS feed that has an ’ in it. SimpleXML turns this
I have a string like this: La Torre Eiffel paragonata all’Everest What PHP function
I have a jquery bug and I've been looking for hours now, I can't
link Im having trouble converting the html entites into html characters, (&# 8217;) i
For some reason, after submitting a string like this Jack’s Spindle from a text
I am trying to understand how to use SyndicationItem to display feed which is
this is what i have right now Drawing an RSS feed into the php,
I have this code to decode numeric html entities to the UTF8 equivalent character.
I am trying to render a haml file in a javascript response like so:

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.