We’ve seen a lot of forum activity about how to migrate from v4.1.1 to v4.3.1 of the Google AdMob Ads SDK for Android, so we’d like to share three easy steps to get you up and running with the latest version.

  1. The first step to migrating is downloading the AdMob SDK and adding it to your build path.

  2. You will need to have an Android SDK of 3.2 or higher. Once you have a compatible version, set target=android-13 or higher in your project.properties file of your application to compile against the version you just downloaded.

    Don’t worry, you can still build your apps on all Android devices down to Android 1.5! Just set <uses-sdk android:minSdkVersion="3"/> in your AndroidManifest.xml file. You can read more about the uses-sdk element to help you configure the appropriate devices for your app.

  3. Finally, replace the old com.google.ads.AdActivity element in your manifest with this new definition:
    <activity android:name="com.google.ads.AdActivity"

That’s it! You should now be able to run your application using the latest SDK without any errors. Please post to our forum if you have any questions about the migration.