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 8144937
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 6, 20262026-06-06T13:30:33+00:00 2026-06-06T13:30:33+00:00

I have a 2.3.3 android app that I am developing that I would like

  • 0

I have a 2.3.3 android app that I am developing that I would like to add Admob ads onto. The admob ads version is 6.0.1. I follow the directions on googles site to add it and it does not seem to work properly for 2.3.3, and assumed working correctly for 4.0.3. I am developing against for the goal of releasing a 2.3.3 version to support Blackberry playbook and most android devices out there.

When I add everything to the android manifest, with the added being:

<activity android:name="com.google.ads.AdActivity"
            android:configChanges="keyboard|keyboardHidden|orientation|screenLayout|uiMode|screenSize|smallestScreenSize"/>

<uses-permission android:name="android.permission.INTERNET"/>   
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/>

<uses-sdk android:minSdkVersion="10" />

With the build path external jar pointing to the android adk path to google admob then the jar in there and then adding this to the XML file:

Up top:

xmlns:ads="http://schemas.android.com/apk/lib/com.google.ads"

And down in the XML layout:

<com.google.ads.AdView android:id="@+id/adView"
                             android:layout_width="wrap_content"
                             android:layout_height="wrap_content"
                             ads:adUnitId="I put my id here"
                             ads:adSize="BANNER"
                             ads:testDevices="TEST_EMULATOR"
                             ads:loadAdOnCreate="true"/>

It comes up with the error on the graphical layout on the 2.3.3 gui designer stating:

“The following classes could not be instantiated:
– com.google.ads.AdView (Open Class, Show Error Log)
See the Error Log (Window > Show View) for more details.”

When I open the class it says it cant see the source.

If I change the GUI designer to be 4.0.3 (as you need to target this apparently to compile) then the admob shows up in a black box and seems ok. I need it working for 2.3.3 though and I seem to crash instantly now when I load this app in the 2.3.3 emulator.

Any help? I read that this should be able to be used in 2.3.3 so I don’t understand why. I had a libs folder but I took it out and just externally references the JAR.

Thanks.

  • 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-06-06T13:30:34+00:00Added an answer on June 6, 2026 at 1:30 pm

    Figured it out.

    It was all correct, but it is a bug on why it does not show in the WYSIWYG editor.

    When run on the emulator or a device, the ads show.

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

Sidebar

Related Questions

i have an app that runs perfectly on android 1.6+, but admob ads are
I am developing an Android App and would like to have a video file
I have been developing an Android app. I would like to hide the OK
I'm developing an android app that uses Sensors and I would like to know
I started developing an android app that have to interact with MMS attachements, in
I'm developing this tourist app and I would like to have an offline map
I am developing an Android app on windows, using eclipse. I would like to
I am developing an Android app using fragments and would like the user to
I have been working on an Android app using Phonegap and now would like
I am developing an Android app in Eclipse. I would like to target a

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.